Returns the type of an NTX handle.
Visual Basic:
Function ntxGetType( ByVal hObject As Integer) As Short
Visual C#:
Int16 ntxGetType ( Int32 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 |
E_EXIST
E_NTX_INTERNAL_ERROR
Versions | Reference |
---|---|
INtime 3.0 | INtimeDotNet |
INtimeDotNet system calls, Object directory system calls