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'sAppendCyberMenuCommandsmethod 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 themenuDataparameter.SEE ALSO
TheCyberService::AppendCyberMenuCommandsmethod (page 332).