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

Developer

API Reference

ISHELL_CREATEINSTANCE()

Brew Release
Brew MP 1.0.2
See Also
AEECLSID Error Codes IMODULE_CreateInstance IShell
Description
This function is called to create an object associated with the specified 32-bit ClassID. The object returned must match the interface supported by the ClassID. When successful, ppobj is filled with an object of the specified class and the object is returned with a positive reference count.
Params
pIShell
[]:
[in] Pointer to the IShell interface object.
cls
[]:
[in] 32-bit ClassID of the requested interface.
ppobj
[]:
[out] Pointer to the memory to fill with the pointer to the object.
Interface
  • ISHELL
Prototype
  •     int ISHELL_CreateInstance
        (
        IShell * pIShell,
        AEECLSID cls,
        void * * ppobj
        );
    
Return
  • AEE_SUCCESS: class created. AEE_ENOMEMORY: Insufficient memory. AEE_ECLASSNOTSUPPORT or AEE_ENOSUCH: Specified class is not supported.
Side Effect
  • None
Comments
None