Developer

API Reference

IVFSCACHEMODEL_SetNodeData()

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_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.
Parameters
  • po
    []:
    Pointer to the IVfsCacheModel 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
IVFSCACHEMODEL
Prototype
   int IVFSCACHEMODEL_SetNodeData( IVfsCacheModel * po, IVfsCacheContainer * 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.
Comment
This function MAY be omitted from the model. The inline accessor function checks if the function has been defined.
  • Follow