Product Information > JADE Object Manager Guide > Chapter 3 - JADE Application Programming Interface (API) > Getting Notification Information

Getting Notification Information

The jomGetNotificationInfo call, shown in the following example, requests the JADE Object Manager client to return the additional notification information for the specified Windows handle and a count of the number of currently queued messages for this handle.

int jomGetNotificationInfo(const DskHandle  *pHandle,
                           DskObjectId      *pSubscriber,
                           NotificationInfo *pNoteInfo,
                           int              *pNotesLeft,
                           UInt32           lineNo)

The return value from this call can be zero (0) whenever a message is returned or a -1 (negative one) value when there are no messages. The format of this message is:

NotifyHdr   header;
DskParam    data;

The parameters for this call are described in the following subsections.

pHandle

pSubscriber

pNoteInfo

eventType

notifyParam

userTag

serialNo

target

subscriber

hProcess

length

pNotesLeft

lineNo