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

Developer

API Reference

ITELEPHONE_QUERYINTERFACE()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function can be used to - Get a pointer to an interface or data based on the input class ID
- Query an extended version of the ITelephone-derived class
- Support version compatibility
Params
pme
[in]:
Pointer to ITelephone Interface.
clsReq
[in]:
A globally unique id to identify the entity (interface or data) that we are trying to query.
ppo
[out]:
Pointer to the interface or data that we want to retrieve. If the value passed back is NULL, the interface or data that we query are not available.
Interface
  • ITELEPHONE
Prototype
  •    int ITELEPHONE_QueryInterface( ITelephone *pme, AEECLSID clsid, void **ppo );
       
Return
  • SUCCESS: on success, EBADPARM : if ppo is NULL. ECLASSNOTSUPPORT : if the clsid is not supported by this interface.
Side Effect
  • If an interface is retrieved, then this function increments its reference count.
Comments
None.