Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 6 - Types, Constants, and Global Functions / Programmer-Defined Functions


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's AppendCyberMenuCommands 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 the menuData parameter.

SEE ALSO
The CyberService::AppendCyberMenuCommands method (page 332).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996