#include <isp.h>
typedef struct ISP_mem_alloc {
ISP ISP_mem_a_hdr; // Standard header
USHORT ISP_mem_size; // size of memory to allocate, in bytes
ULONG ISP_mem_ptr; // address of memory block (returned)
USHORT ISP_mem_type; // med type code for memory block. See header file med.h
UCHAR ISP_mem_flags; // allocation flags; see below
UCHAR ISP_pad3[3]; // Pad to DWORD boundary
} ISP_mem_alloc, *PISP_mem_alloc;
Contains information for a ISP_ALLOC_MEM function.
ISP_M_FL_INTERRUPT_TIME | Must be set if allocation is at asynchronous time. |
ISP_M_FL_MUST_SUCCEED | IOS will not fail the allocation. |
ISP_M_FL_SMART_ALLOC | Do system Heap allocation if not MS-DOS pager. Checks IOS's IDA structure element IDAF_DOS_PAGER to determine if system is paging through DOS. If not paging through DOS, do a system heap allocation. Otherwise use IOS's memory management system. |
ISP_M_FL_USE_SYSTEM_HEAP | Don't allocate from IOS heap. |
When the IOS.VXD debug binary is installed (into the system\vmm32 directory), use your debugger's ".IMED" dot command to list IOS Memory Element Descriptor information.
ISP