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

Developer

API Reference

ISHELL_APPISINGROUP()

Brew Release
Brew MP 1.0.2
See Also
AEE Privilege Levels Error Codes IShell ISHELL_CheckPrivLevel Privileges
Description
This function checks the specified application class ID for membership with the specified group. If the application belongs to the group, the function returns SUCCESS; otherwise it returns an error.
Params
pIShell
[]:
Pointer to the IShell interface object.
idApp
[]:
The applet class ID for which to verify access.
idGroup
[]:
The group ID.
Interface
  • ISHELL
Prototype
  •     int ISHELL_AppIsInGroup
        (
        IShell * pIShell,
        AEECLSID idApp,
        AEECLSID idGroup
        );
    
Return
  • AEE_SUCCESS: The application supports this privilege level mask. AEE_ECLASSNOTSUPPORT: idApp is not a valid application class ID. AEE_EPRIVLEVEL: The application does not support this privilege.
Side Effect
  • None
Comments
If the high-order word of idGroup is 0, idGroup is treated as a bit-mask of the old-style privilege bits.
  • PL_FILE
  • PL_NETWORK
  • PL_TAPI
  • PL_DOWNLOAD
  • PL_SHARED_WRITE
  • PL_POS_LOCATION
  • PL_SYSTEM
  • PL_WEB
  • PL_RINGER_WRITE
  • PL_SECTORINFO
  • PL_ADDRBOOK