ctThrdQueueReadDirect Read a queue message pointer. Short Name ctThrdQueueReadDirect() Type Threading Function Declaration NINT ctThrdQueueReadDirect(NINT qid, pVOID msgadr, pNINT pmsglen, LONG timeout) Description ctThrdQueueReadDirect() places the address of the next message from queue qid into msgadr, and places the length of the message in pmsglen. ctThrdQueueReadDirect() does not copy the message contents. Note: Your application is responsible for managing the buffers used in the read and write calls. To avoid memory/buffer errors, FairCom recommends using either the original Queue read/write calls or the new direct calls, but not mixing calls from both pairs. The return value is an error indicator. Return
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. See also ctThrdQueueRead(), ctThrdQueueWriteDirect() |
||||||||||||||||||