Allocates RT memory and returns a handle to the memory object. A subsequent call to ntxMapRtSharedMemoryEx must be made in order to access the memory.
Note: You can use ntxFreeRtMemory to deallocate the memory.
NTXHANDLE ntxAllocateRtMemory( NTXLOCATION hLoc, DWORD nSize );
hLoc
nSize
NTX_BAD_NTXHANDLE
E_OK 0x0000
E_MEM 0x0002
E_VMEM 0x00F0
E_PARAM 0x8004
cbSize
contains a value larger than the virtual segment size, or 0 (zero).qwLowFilter
is greater than the value of qwHighFilter
.cbAlignement
is not a multiple of 4096. Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/nt/include/ntx.h | ntx.h | ntxext.lib |
INtime 4.01 | intime/nt/include/ntx.h | ntx.h | ntxext64.lib (for 64-bit Windows) |
Memory management system calls, ntxMapRtSharedMemoryEx, ntxFreeRtMemory