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

Developer

API Reference

IACTORCONTEXT_GETROOT()

Brew Release
Brew MP 1.0.2
Description
This function returns the Vfs Root node. In a multiheaded trigplayer: returns the Vfs root node of the first created head in a player. If the first created head was closed, it will return the Vfs Root node of the next available split head. The returned interface is AddRef'ed. Note: a multiheaded trigplayer is a player that contains splits heads.
Params
po
[]:
pointer to the IActorContext interface object
pr
[]:
[out] Address at which to store a pointer to the root Vfs node.
Interface
  • IACTORCONTEXT
Prototype
  •    int IACTORCONTEXT_GetRoot(IActorContext * po,IVfsContainer ** pr)
    
Return
  •    SUCCESS, or standard BREW error code.
    
Comments
The caller must Release the root node when finished with it.