NMRemove
NMRemove Remove a notification request from the notification queue
OSErr NMRemove( nmReqPtr );
NMRec nmReqPtr ; pointer to a request procedure
returns 0= noErr
NMRemove removes a notification request procedure from the notification
queue.
nmReqPtr is a pointer to the NMRec that you want to remove.
Returns: an error code. It will be one of:
noErr (0) No error
qErr (-1) Not in queue
nmTypErr (-299) Wrong qType (must be ORD(nmType))

Notes: NMRemove neither moves nor purges memory and you can call it from
completion routines, interrupt handlers, the main body of an application
program and from the response procedure of a notification request
If you do not yet have glue for NMRemove, you can use the following:
Pascal
FUNCTION NMRemove (nmReqPtr: QElemPtr) : OSErr;
INLINE 0x205F, 0xA05F, 0x3E80;
C
pascal OSErr NMRemove (QElemPtr nmReqPtr)
= {0x205F, 0xA05F, 0x3E80};
Also note that qType must be set to ORD(nmType), which is 8.
See NMInstall for a code example using the Notification Manager.