DxgkCbUnmapMemory routine

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

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.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Dispmprt.h (include Dispmprt.h)

IRQL

PASSIVE_LEVEL

See also

DxgkCbMapMemory

 

 

Send comments about this topic to Microsoft

Afficher:
© 2014 Microsoft