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

Developer

API Reference

ISHELL_QUERYCLASS()

Brew Release
Brew MP 1.0.2
See Also
AEEAppInfo, IShell ISHELL_CreateInstance
Description
This function queries the AEE shell to determine whether the specified class or applet is supported. If the AEEAppInfo data structure pointer is provided, AEE shell assumes that the requested class is an applet. In that case, the structure is filled if the requested applet class was found. If the class is supported but is not an applet, the function returns FALSE. If the AEEAppInfo pointer is not passed, the AEE shell assumes the request is made to check the availability of the class, regardless of whether it is an applet. This function also checks if the requester has the required privilege to create the requested class. If the requester does not have the required privilege, this function returns FALSE even if the class is actually available in the system.
Params
pIShell
[]:
[in] Pointer to the IShell interface object.
cls
[]:
[in] 32-bit ClassID of the requested interface.
pai
[]:
[out] Pointer to the AEEAppInfo structure to fill with the applet information.
Return Value
TRUE
[]:
the class is supported.
FALSE
[]:
the class not supported.
Interface
  • ISHELL
Prototype
  • boolean ISHELL_QueryClass
    (
    IShell * pIShell,
    AEECLSID cls,
    AEEAppInfo * pai
    );
    
Side Effect
  • None
Comments
If you provide an AEEAppInfo, this function returns FALSE if the class requested is available but is not an applet.