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

Developer

API Reference

IACTORFRAME_CREATEINTERFACE()

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 can be held by the newly create vfs node.
pfnGet
[in]:
Get callback function (may be NULL for write-only nodes)
pfnSet
[in]:
Set callback function (may be NULL for read-only nodes)
Interface
Prototype
  •    IVfsNode *IActorFrame_CreateInterface(
          ActorBase *pMe,
          VfsPathElement name,
          IVfsContainer *pParent,
          AEECLSID iid,
          PFNACTORFRAME_GETINTERFACENODE pfnGet,
          PFNACTORFRAME_SETINTERFACENODE pfnSet
       )
    
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.