Purpose
Get the data attribute of the data object.
Syntax
unsigned int CWB_ENTRY cwbDQ_GetData(
cwbDQ_Data data,
unsigned char *dataBuffer);
Parameters
- cwbDQ_Data data - input
- Handle of the data object that was returned by a previous call to cwbDQ_CreateData.
- unsigned char * data - output
- Pointer to the data. The data may contain embedded NULLs, so it is not
an ASCIIZ string.
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.