DXGKCB_UNMAP_MEMORY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// dispmprt.h

DXGKCB_UNMAP_MEMORY DxgkcbUnmapMemory;

NTSTATUS DxgkcbUnmapMemory(
  [in] HANDLE DeviceHandle,
  [in] PVOID VirtualAddress
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-dispmprt-dxgkcb_unmap_memory)

DXGKCB_UNMAP_MEMORY callback function

Description

The DxgkCbUnmapMemory function unmaps a range of addresses previously mapped by DxgkCbMapMemory.

Parameters

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.

Return value

DxgkCbUnmapMemory returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.

See also

DxgkCbMapMemory