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

Developer

API Reference

IVFSNODE_QUERYINTERFACE()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This method asks the IVfsNode object for another API contract.
Params
po
[]:
[in] Pointer to the IVfsNode interface object
cl
[]:
[in] Class Id of the required interface
pp
[]:
[out] Address of a pointer that is set by the call to point to the new interface
Interface
  • IVFSNODE
Prototype
  •    int IVFSNODE_QueryInterface(IVfsNode * po,AEECLSID cl,void ** pp)
    
Return
  •    SUCCESS - Object pointer is returned at pp
       other - standard error code. The pointer at pp will be NULL or invalid.
    
Side Effect
  • None
Comments
If the node has a model, the model will be offered this call first. The interfaces available via this call depend on the type of node: A signal node allows AEECLSID_VFSSIGNAL or AEEIID_VFSNODE; An integer node allows AEECLSID_VFSINTEGER or AEEIID_VFSNODE; A string node allows AEECLSID_VFSSTRING or AEEIID_VFSNODE; A data node allows AEECLSID_VFSDATA or AEEIID_VFSNODE; An interface node allows AEECLSID_VFSINTERFACE, AEEIID_VFSNODE, or the classid of the contained interface; A struct container node allows AEECLSID_VFSSTRUCTCONTAINER, AEEIID_VFSCONTAINER, or AEEIID_VFSNODE; A cache container node allows AEECLSID_VFSCACHECONTAINER, AEEIID_VFSCONTAINER, or AEEIID_VFSNODE