Getting the process ID (MenuKillCB)
The first callback, MenuKillCB, is invoked
each time a user selects Kill Selected from
the Process menu, or double-clicks on an
item in the process list.
This callback must:
All callbacks are passed a parameter named cbs.
The cbs parameter is a callback structure and contains various
At the least, cbs contains the handle of
the calling widget and the handle of the dialog in which the calling
widget was located.
It may also contain other information, depending on the
type of widget that called it. For example, if it was called from
a text widget, cbs would also contain the widget's associated
Obtain the process ID (PID) of
the process that the user selected.
Display the question dialog.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 02 June 2005