ctSysQueueLIFOWrite Add new data at the beginning of a queue. Short Name ctSysQueueLIFOWrite() Type ISAM function. Declaration NINT ctSysQueueLIFOWrite(NINT qhandle, pVOID message, NINT msglen) Description Data is placed at the beginning of the queue by invoking ctSysQueueLIFOWrite(). This is similar to a stack operation. 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 = ctSysQueueLIFOWrite(qhandle, "My message", 10);
printf("ctSysQueueLIFOWrite failed with code %d\n", eRet);
Limitations Client/Server mode only. See also ctSysQueueWrite() |
||||||||||||||||||||||||||||||