Returns the type of an NTX handle.
WORD ntxGetType( NTXHANDLE hObject );
hObject
One of the object types:
Value | Handle Type |
---|---|
NTX_TYPE_RT_PROCESS |
Process |
NTX_TYPE_RT_THREAD |
Thread |
NTX_TYPE_MAILBOX |
Mailbox |
NTX_TYPE_RT_SEMAPHORE |
Semaphore |
NTX_TYPE_RT_SHARED_MEMORY |
Shared Memory Segment |
NTX_TYPE_REGION |
Single-unit Semaphore with special suspension, deletion, and priority-adjustment features |
NTX_TYPE_EXTENSION |
User defined object |
NTX_TYPE_PORT |
Port Object |
NTX_TYPE_POOL |
The contiguous chunk of physical memory available to the process |
NTX_TYPE_HEAP |
Memory Segment for dynamic allocation. Taken from the pool |
NTX_TYPE_SERVICE |
Service Object |
Success.
NTX_ERROR
E_OK 0x0000
E_EXIST 0x0006
E_NTX_INTERNAL_ERROR
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 |