Developer

API Reference

IActorFrame_CreateStructContainer()

Brew Release
Brew MP 1.0.2
See Also
IActorFrame_SetEventHandler()
Description
specified ActorBase object.
Parameters
  • name
    [in]:
    Name of the new container
  • items
    [in]:
    Number of initial items in the container *
Interface
Prototype
   IVfsStructContainer *IActorFrame_CreateStructContainer(
      ActorBase *pMe,
      VfsPathElement name,
      uint16 items,
      IVfsContainer *pParent
   )
Return
IVfsStructContainer *: The newly created struct container if successful, otherwise NULL. If successful, the new struct container will have also been added to the pParent container.
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