#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 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_mem_flags
Allocation flags. Can be a combination of these values:
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 | Heap allocation if not MS-DOS pager. |
ISP_M_FL_USE_SYSTEM_HEAP | Don't allocate from IOS heap. |
See also ISP