15#define SEGMENT_TO_MCB(seg) ((PDOS_MCB)SEG_OFF_TO_PTR((seg), 0))
17#define DOS_ALLOC_HIGH 0x40
18#define DOS_ALLOC_HIGH_LOW 0x80
_Must_inspect_result_ _In_ USHORT NewSize
BOOLEAN DosResizeMemory(WORD BlockData, WORD NewSize, WORD *MaxAvailable)
WORD DosAllocateMemory(WORD Size, WORD *MaxAvailable)
VOID DosInitializeUmb(VOID)
BOOLEAN DosUnlinkUmb(VOID)
VOID DosInitializeMemory(VOID)
VOID DosChangeMemoryOwner(WORD Segment, WORD NewOwner)
struct _DOS_MCB * PDOS_MCB
BOOLEAN DosFreeMemory(WORD BlockData)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size