Expand Minimize

DxgkDdiDestroyOverlay routine

The DxgkDdiDestroyOverlay function disables overlay hardware and deletes the specified overlay handle.

Syntax


PDXGKDDI_DESTROYOVERLAY DxgkDdiDestroyOverlay;

NTSTATUS APIENTRY DxgkDdiDestroyOverlay(
  _In_  const HANDLE hOverlay
)
{ ... }

Parameters

hOverlay [in]

[in] A handle to the overlay to destroy. The display miniport driver's DxgkDdiCreateOverlay function previously provided this handle to the Microsoft DirectX graphics kernel subsystem in the hOverlay member of the DXGKARG_CREATEOVERLAY structure.

Return value

DxgkDdiDestroyOverlay returns STATUS_SUCCESS, or an appropriate error result if overlay hardware is not successfully disabled.

Remarks

DxgkDdiDestroyOverlay should be made pageable.

Requirements

Version

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

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

DXGKARG_CREATEOVERLAY
DxgkDdiCreateOverlay

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft