Creates a message queue object. The threshold and queue size determine the number of messages which may be received in the queue object.
NTXHANDLE ntxCreateRtQueue(
NTXLOCATION loc,
DWORD queueSize,
DWORD msgThreshold,
DWORD flags);
loc
queueSize
msgThreshold
flags
Returns a valid queue handle on success, or else NTX_BAD_NTXHANDLE to indicate failure. The failure status is returned from ntxGetLastRtError(). Status codes returned from this call include:
E_MEM | Not enough memory available to create this object |
E_PARAM | The queueSize parameter is less than the minimum allowed or the msgThreshold parameter is out of range. |
E_SLOT | The system has reached its object limit |
E_LIMIT | The calling process has reached its object limit |
E_LOCATION | The NTXLOCATION value does not represent a valid, running node location. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 5.0 | intime/nt/include/ntx.h | ntx.h | ntx.lib, ntxext.lib |