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

Developer

API Reference

IVFSNODE_HANDLEEVENT()

Brew Release
Brew MP 1.0.2
See Also
IVFSNODEMODEL_HandleNodeEvent()
Description
Sends an event with arbitrary parameters to a node in the Vfs tree.
Params
node
[]:
Pointer to the IVfsNode interface object
path
[]:
The remainder of the path to the desired 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
  • IVFSNODE
Prototype
  •    boolean IVFSNODE_HandleEvent(IVfsNode * node,VfsPath path,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.
    
Side Effect
  • None
Comments
If at the end of the path, then the event is intended to be processed by the object pointed to by node, otherwise the event will be passed on to child nodes (if this node is a container). None of the standard nodes respond to HandleEvent(). The simplest way to create a node that CAN respond is to create a standard node, and then to attach an IVfsNodeModel to it.