DXGKCB_UNMAP_MEMORY callback function (dispmprt.h)
The DxgkCbUnmapMemory function unmaps a range of addresses previously mapped by DxgkCbMapMemory.
Syntax
DXGKCB_UNMAP_MEMORY DxgkcbUnmapMemory;
NTSTATUS DxgkcbUnmapMemory(
[in] HANDLE DeviceHandle,
[in] PVOID VirtualAddress
)
{...}
Parameters
[in] DeviceHandle
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.
[in] VirtualAddress
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.
Return value
DxgkCbUnmapMemory returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Target Platform | Desktop |
Header | dispmprt.h (include Dispmprt.h) |
IRQL | PASSIVE_LEVEL |