API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IAPPLETCTL_CONTROL()

Brew Release
Brew MP 1.0.2
See Also
APPLETCTL_OP_XYZ Basic error codes File error codes IAppletCtl IAppletCtl_Start() IAppletCtl_Stop() ISHELL_StartApplet()
Description
This method is used to perform APPLETCTL_OP_XYZ operations on the specified applet.
Params
pIAppletCtl
[]:
[in] Pointer to the IAppletCtl Interface object.
cls
[]:
[in] class ID of an applet.
op
[]:
[in] Specifies the operation to perform on the specified applet class.
pBuff
[]:
[in/out] Points to the corresponding information on return. May be NULL, if querying for size of the item.
pnSize
[]:
[in/out] pnSize specifies the size of pBuff in bytes.
Interface
Prototype
  •     int IAppletCtl_Control
        (
        IAppletCtl *pIAppletCtl,
        AEECLSID cls,
        uint32 op,
        void *pBuff,
        int *pnSize
        );
    
Return
  • AEE_SUCCESS: if successful. EBADPARM: if bad parameters are passed in (pnSize is NULL). EPRIVLEVEL: the caller doesn't have privileges to perform this operation. EUNSUPPORTED: if this operation is not supported. EEXPIRED: if Applet has expired. EFILENOEXISTS: if The applet has been disabled. EUNABLETOLOAD: if OEM or current app won't allow loading this applet. EUNSUPPORTED: if this operation is not supported. ENOTALLOWED: OEM code won't allow application to start. EITEMBUSY: If current top visible application will not release control.
    Other errors from AEEError.h are possible - for example ENOMEMORY, EBADCLASS or EFAILED - when there are errors gathering the information.
Side Effect
  • None.
Comments
None.