Developer

API Reference

IVFSNODE_SetObject()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_SetProperty() IVFSNODE_Model()
Description
Associates an object with a node.
Parameters
  • po
    []:
    [in] Pointer to the IVfsNode interface object
  • object
    []:
    [in] Pointer to the the object to associate.
Interface
IVFSNODE
Prototype
   int IVFSNODE_SetObject(IVfsNode * po,void * object)
Return
   SUCCESS, or standard error code.
Side Effect
None
Comment
Inline accessor for IVFSNODE_SetProperty(..., NODEPROPERTY_OBJECT,...)
You can associate EITHER a model OR an object (void*) with a node. Associating a model will disassociate an object, and vice versa.
  • Follow