![]() |
NSLEventProcPtr |
||||
Header: | NSL.h | Carbon status: | Supported | |
If your application calls NSLStandardGetURL, you may want to provide a routine that handles system events that may occur while the Select a Service dialog box is active. A typical system event callback routine might be defined in the following way:
typedef void(* NSLEventProcPtr) ( EventRecord *newEvent, void *userContext );
You would declare your function like this if you were to name it MyNSLEventCallback:
void MyNSLEventCallback ( EventRecord *newEvent, void *userContext );
A pointer to a structure of type eventRecord that describes the event that triggered the callback. For more information on the EventRecord structure, see Inside Macintosh: Overview.
An untyped pointer to arbitrary data that your application previously passed to NSLStandardGetURL.
When your system event callback routine is called, it should process the event immediately.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)