Purpose
Get the Sender Information attribute of
the open attributes. This information only is available if the senderID
attribute of the Data Queue was set on creation.
Syntax
unsigned int CWB_ENTRY cwbDQ_GetSenderInfo(
cwbDQ_Data data,
unsigned char *senderInfo);
Parameters
- cwbDQ_Data data - input
- Handle of the data object that was returned by a previous call to cwbDQ_CreateData.
- unsigned char * senderInfo - output
- Pointer to a 36 character buffer where the sender information will be
written. This buffer contains:
- Job Name (10 bytes)
- User Name (10 bytes)
- Job ID ( 6 bytes)
- User Profile (10 bytes)
Return Codes
The following list shows common return
values.
- CWB_OK
- Successful completion.
- CWB_INVALID_POINTER
- Bad or null pointer.
- CWBDQ_INVALID_DATA_HANDLE
- Invalid data handle.