#include <HIToolbox/HIToolbox.h>

//work


/*NMInstall

Installs a notification request in the notification queue.

OSErr NMInstall (
   NMRecPtr request
);
Parameters
request

A pointer to a notification request record that the caller provides.
Return Value

A result code. If the result is non-zero, the Notification Manager cannot install the request because it contains invalid information. See “Notification Manager Result Codes”.
Availability
CarbonLib 1.0 and later. Mac OS X version 10.0 and later.
Declared In
Notification.h*/

OSErr NMInstall (
   NMRecPtr request
){};


/*NMRemove

Removes a notification request from the notification queue.

OSErr NMRemove (
   NMRecPtr request
);
Parameters
nmReqPtr

A pointer to a notification request record.
Return Value

A result code. If the result is non-zero, the Notification Manager cannot remove the request. See “Notification Manager Result Codes”.
Availability
CarbonLib 1.0 and later. Mac OS X version 10.0 and later.
Declared In
Notification.h*/
OSErr NMRemove (
   NMRecPtr request
){};



/*NewNMUPP

Creates a universal procedure pointer (UPP) to a response callback function.

NMUPP NewNMUPP (
   NMProcPtr userRoutine
);
Parameters
userRoutine

A pointer to a response callback function. For more information about response callbacks, see NMProcPtr.
Return Value

A new UPP. When you no longer need this UPP, you should call DisposeNMUPP to release it.
Availability
CarbonLib 1.0 and later. Mac OS X version 10.0 and later.
Declared In
Notification.h*/

NMUPP NewNMUPP (
   NMProcPtr userRoutine
){};


