// dispmprt.h
DXGKCB_UNMAP_MEMORY DxgkcbUnmapMemory;
NTSTATUS DxgkcbUnmapMemory(
[in] HANDLE DeviceHandle,
[in] PVOID VirtualAddress
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkCbUnmapMemory function unmaps a range of addresses previously mapped by DxgkCbMapMemory.
DeviceHandle [in]A handle that represents a display adapter. The display miniport driver previously obtained this handle in the DeviceHandle member of the DXGKRNL_INTERFACE structure that was passed to DxgkDdiStartDevice.
VirtualAddress [in]The beginning address of the range to be unmapped. This address can be a virtual address in system space, a virtual address in the address space of a user-mode process, or an address in I/O space.
DxgkCbUnmapMemory returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.