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

Developer

API Reference

IBTDEVDB_QUERYINTERFACE()

Brew Release
Brew MP 1.0.2
Description
Inherited from IQI_QueryInterface(). It can be used to - Get a pointer to an available interface based on the input class ID
- Query an extended version of the IBTDevDB-derived class
Params
po
[in]:
the object
clsReq
[in]:
Class ID of the interface to query.
ppo
[out]:
Pointer to the interface.
Interface
  • IBTDEVDB
Prototype
  •    int IBTDEVDB_QueryInterface (IBTDevDB*  po, 
                                    AEECLSID   clsReq, 
                                    void**     ppo);
    
Return
  • SUCCESS: on success, Otherwise: an error code.
Side Effect
  • If an interface is retrieved, then this function increments its reference count.
Comments
If ppo is back a NULL pointer, the queried interface is not available.