Window Notify Suite

The window notify suite is used on Mac OS to receive event notification during play. More...

Data Structures

struct  PSWindowNotifyProcs
 The set of routines available in the Window Notify suite. More...

Defines

#define kPSWindowNotifySuite   "482963f4-3ea1-11d1-8da3-00c04fd5f7ee"
 Unique identifier for the Window Notify suite.
#define kPSWindowNotifySuiteVersion   1
 Current version of the Window Notify Suite.

Typedefs

typedef void(* PIWindowNotifier )(const struct EventRecord *event, void *data)
typedef struct PSWindowNotifyProcs PSWindowNotifyProcs
 The set of routines available in the Window Notify suite.

Detailed Description

The window notify suite is used on Mac OS to receive event notification during play.

Accessing the Suite

The Window Notify suite is referred to as:

  #define kPSWindowNotifySuite  "482963f4-3ea1-11d1-8da3-00c04fd5f7ee"

with the version constant:

  #define kPSWindowNotifySuiteVersion 1

The suite is acquired as follows:

  PSWindowNotifyProcs *sPSWindowNofify;
  error = sSPBasic->AcquireSuite(kPSWindowNotifySuite,
                                 kPSWindowNotifySuiteVersion,
                                 &sPSWindowNofify);
  if (error) goto . . . //handle error

For PICA errors, see SPErrorCodes.h.


Define Documentation

#define kPSWindowNotifySuite   "482963f4-3ea1-11d1-8da3-00c04fd5f7ee"

Unique identifier for the Window Notify suite.

Current version of the Window Notify Suite.


Typedef Documentation

typedef void(* PIWindowNotifier)(const struct EventRecord *event, void *data)

The set of routines available in the Window Notify suite.