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

Developer

API Reference

IREGISTRY_SETHANDLER()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function is used register a handler for the mime type and base class. If successfull the hanlder becomes the active handler.
Params
po
[]:
Pointer to IRegistry interface.
clsType
[]:
Base class or interface for the handler
pszMime
[]:
Mime type to be queried.
cls
[]:
The class id of the handler to be registered.
Interface
  • IREGISTRY
Prototype
  •    int IREGISTRY_SetHandler(IRegistry * po,AEECLSID clsType, const char * pszMime, AEECLSID cls);
    
Return
  • SUCCESS: If the handler was registered successfully. EFAILED: If unsuccessful. EPRIVLEVEL: If the application does not have the priviliges to set this handler. EBADCLASS: If the class is unsupported. EALREADY: If the class ia already registered and active.
Side Effect
  • None
Comments
None