Developer

API Reference

IActorFrame_CreateConstInterface()

Brew Release
Brew MP 1.0.2
See Also
None
Description
specified ActorBase object.
Parameters
  • 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
Comment
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.
  • Follow