Receives handles from an object mailbox. Automatically converts the RTHANDLE to an NTXHANDLE.
NTXHANDLE ntxReceiveRtHandle( NTXHANDLE hMailbox, DWORD dwMilliseconds, NTXHANDLE *phResponse );
hMailbox
dwMilliseconds
NO_WAIT |
The thread does not wait. |
INFINITE |
The thread waits for its request to be fully satisfied. |
Any positive integer |
Calling thread goes to sleep for this many milliseconds, after which it awakes.
Note: The kernel converts milliseconds to high-level ticks. |
phResponse
NTX_BAD_NTXHANDLE
E_OK 0x0000
E_TIME 0x0001
dwMilliseconds
elapsed before the thread got the desired handle. E_EXIST 0x0006
hMailbox
is not a handle for an existing object.
E_TYPE 0x8002
hMailbox
is not an object mailbox.
E_NTX_INTERNAL_ERROR 0x1001
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/nt/include/ntx.h | ntx.h | ntx.lib |
INtime 4.01 (for 64-bit Windows) | intime/nt/include/ntx.h | ntx.h | ntx64.lib |