GDI Memory Services
GDI provides several memory-related services to driver writers, including the ability to allocate and deallocate system memory, user memory, private user memory, and video memory, as well as the ability to lock and unlock a range of memory. The following table lists the GDI memory services.
Function | Description |
---|---|
Allocates a block of memory, and inserts a caller-supplied tag before the allocation. |
|
Allocates a block of private user memory from the address space of a specified process, and inserts a caller-supplied tag before the allocation. |
|
Allocates a block of memory from the address space of the current process, and inserts a caller-supplied tag before the allocation. |
|
Deallocates a block of system memory allocated by EngAllocMem. |
|
Deallocates a block of private user memory allocated by EngAllocPrivateUserMem. |
|
Deallocates a block of user memory allocated by EngAllocUserMem. |
|
Locks down the specified address range in memory. |
|
Unlocks a memory address range that is locked down. |
|
Allocates off-screen memory for a display driver by using the DirectDraw video memory heap manager. |
|
Frees off-screen memory allocated for a display driver by HeapVidMemAllocAligned. |