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

Developer

API Reference

IVFSNODEMODEL_SETNODEDATA()

Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_SetData() for a full description of this function
Description
This function will be called whenever IVFSNODE_SetData is called on the associated node. It allows the model to process an attempt to set data, for example, to set an external object to the value given.
Params
po
[]:
Pointer to the IVfsNodeModel interface object
node
[]:
Pointer to the associated node.
type
[]:
The type of data presented by pObj. The model should check if that is a supported data type.
pObj
[]:
The address from which the data may be copied.
pSize
[]:
The size of data held at pObj
Interface
  • IVFSNODEMODEL
Prototype
  •    int IVFSNODEMODEL_SetNodeData( IVfsNodeModel * po, IVfsNode * node, AEECLSID type, const void * pObj, int size )
    
Return
  •    SUCCESS - the call has been completed successfully.
       EUNSUPPORTED - the model does not handle this call. The standard call will be used instead.
       other   - the model DOES handle the call, but it failed for some reason. The error code
                 will be returned immediately to the user.
    
Comments
This function MAY be omitted from the model. The inline accessor function checks if the function has been defined.