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

Developer

API Reference

IACTORCONTEXT_CREATESIGNAL()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function creates a new 'standard' object with an IVfsNode interface. The object does not hold data (so GetData/SetData will fail with EBADITEM), but it CAN be observed and will process notifications correctly.
Params
po
[]:
pointer to the IActorContext interface object
name
[]:
The name to give to the new IVfsNode object
parent
[]:
The container which is to contain the new IVfsNode object
flags
[]:
Options for the node - see "Flags values for the CreateXxx calls" above
pN
[]:
[out] Address at which to store a pointer to the new node.
Interface
  • IACTORCONTEXT
Prototype
  •    int IACTORCONTEXT_CreateSignal(IActorContext * po,VfsPathElement name,IVfsContainer * parent,uint32 flags,IVfsNode ** pN)
    
Return
  •    SUCCESS, or standard BREW error code.
    
Side Effect
  • None
Comments
The new node needs to be added to its parent container after creation. Unless ACTORCONTEXT_CREATE_PRIVATE_VTABLE is specified in the flags argument, the node shares its VTable with other nodes created using this method; therefore the VTable may NOT be modified.