Receives handles from an object mailbox. Automatically converts the RTHANDLE to an NTXHANDLE.
NTXHANDLE ntxReceiveRtHandle(
NTXHANDLE hMailbox,
DWORD dwMilliseconds,
NTXHANDLE *phResponse
);
hMailboxdwMillisecondsNO_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. |
phResponseNTX_BAD_NTXHANDLEE_OK 0x0000E_TIME 0x0001dwMilliseconds elapsed before the thread got the desired handle.E_EXIST 0x0006hMailbox is not a handle for an existing object.E_TYPE 0x8002hMailbox 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 |