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

Developer

API Reference

IVFSCACHEMODEL_HANDLENODEEVENT()

Brew Release
Brew MP 1.0.2
See Also
IVFSNODE_HandleEvent() for a full description of this function
Description
This function will be called whenever IVFSNODE_HandleEvent is called on the associated node. It allows the model to override the normal event action (which is 'no action' for the standard node types) and hence respond to events.
Params
po
[]:
Pointer to the IVfsCacheModel interface object
node
[]:
Pointer to the associated node.
event
[]:
The event code
wParam
[]:
Event parameter. Meaning is dependant upon the event code.
dwParam
[]:
Event parameter. Meaning is dependant upon the event code.
Interface
  • IVFSCACHEMODEL
Prototype
  •    boolean IVFSCACHEMODEL_HandleNodeEvent(IVfsCacheModel * po,IVfsCacheContainer * node,AEEEvent event,uint16 wParam,uint32 dwParam)
    
Return
  •    TRUE:      The event has been handled and should not be offered to any other handler.
       FALSE:     The event has not been handled, or should be passed to other interested handlers.
    
Comments
This function MAY be omitted from the model. The inline accessor function checks if the function has been defined.