Important: The information in this document is obsolete and should not be used for new development.
MyMenuDataDestructor
Deallocates the data in a Cyberdog service menu.
void MyMenuDataDestructor (void* menuData);
menuData
- A pointer to data associated with the Cyberdog service menu.
DISCUSSION
A service'sAppendCyberMenuCommands
method should return the menu data associated with the service and a destructor function for the menu data. Cyberdog calls the menu data destructor when the Cyberdog service menu object is deleted; your menu data destructor function should deallocate the data pointed to by themenuData
parameter.SEE ALSO
TheCyberService::AppendCyberMenuCommands
method (page 332).