ctSysQueueWrite Add new data at the end of a queue. Short Name ctSysQueueWrite() Type ISAM function. Declaration NINT ctSysQueueWrite(NINT qhandle, pVOID message, NINT msglen) Description Data is placed at the end of the queue by invoking ctSysQueueWrite(). Parameter qhandle is a system queue handle returned by a call to ctSysQueueOpen(). Parameter message is a pointer to a block of memory containing arbitrary data to be placed on the queue and msglen indicates how many bytes are pointed to by message. Return
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. Example NINT eRet = ctSysQueueWrite(qhandle, "My message", 10);
printf("ctSysQueueWrite failed with error %d\n", eRet);
Limitations Client/Server mode only. See also ctSysQueueLIFOWrite() |
||||||||||||||||||||||||||||||