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

Developer

API Reference

IACTORFRAME_CREATECONSTINTERFACE()

Brew Release
Brew MP 1.0.2
See Also
None
Description
specified ActorBase object.
Params
name
[in]:
Name of the new node *
iid
[in]:
The interface id of the interface pointer which will be held by the newly create vfs node.
pObj
[in]:
The interface object (pointer) stored in vfs node
Interface
Prototype
  •    IVfsNode *IActorFrame_CreateConstInterface(
          ActorBase *pMe,
          VfsPathElement name,
          IVfsContainer *pParent,
          AEECLSID iid,
          const IBase *pObj
       )
    
Return
  • IVfsNode *: The newly created node if successful, otherwise NULL. If successful, the new node will have also been added to the pParent container.
Side Effect
  • None
Comments
The returned interface MUST NOT be released by the caller. It is associated with the ActorBase object and will be released automatically. This method will fail gracefully (return NULL) if pParent is NULL.