Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 3.18 KB

nc-d3dkmddi-dxgkddi_updateoverlay.md

File metadata and controls

87 lines (64 loc) · 3.18 KB
UID title description old-location ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3dkmddi.DXGKDDI_UPDATEOVERLAY
DXGKDDI_UPDATEOVERLAY (d3dkmddi.h)
The DxgkDdiUpdateOverlay function modifies the overlay hardware.
display\dxgkddiupdateoverlay.htm
05/10/2018
DXGKDDI_UPDATEOVERLAY callback function
DXGKDDI_UPDATEOVERLAY, DXGKDDI_UPDATEOVERLAY callback, DmFunctions_cc73fb5c-c4b9-476a-9227-fe2d15e288ea.xml, DxgkDdiUpdateOverlay, DxgkDdiUpdateOverlay callback function [Display Devices], d3dkmddi/DxgkDdiUpdateOverlay, display.dxgkddiupdateoverlay
d3dkmddi.h
Desktop
Windows Vista
PASSIVE_LEVEL
Windows
display
DXGKDDI_UPDATEOVERLAY
d3dkmddi/DXGKDDI_UPDATEOVERLAY
APIRef
kbSyntax
UserDefined
d3dkmddi.h
DXGKDDI_UPDATEOVERLAY

DXGKDDI_UPDATEOVERLAY callback function

-description

The DxgkDdiUpdateOverlay function modifies the overlay hardware.

-parameters

-param hOverlay [in]

A handle to the overlay to modify. 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 that pCreateOverlay points to.

-param pUpdateOverlay [in]

A pointer to a DXGKARG_UPDATEOVERLAY structure that describes how to modify the overlay hardware.

-returns

DxgkDdiUpdateOverlay returns one of the following values:

Return code Description
STATUS_SUCCESS DxgkDdiUpdateOverlay successfully modified the overlay.
STATUS_INVALID_PARAMETER Parameters that were passed to DxgkDdiUpdateOverlay contained errors that prevented it from completing.
STATUS_NO_MEMORY DxgkDdiUpdateOverlay could not allocate memory that was required for it to complete.
STATUS_INSUFFICIENT_RESOURCES DxgkDdiUpdateOverlay could not complete because insufficient bandwidth was available or the requested overlay hardware could not complete the task.
STATUS_GRAPHICS_DRIVER_MISMATCH The display miniport driver is not compatible with the user-mode display driver that initiated the call to DxgkDdiUpdateOverlay.

-remarks

DxgkDdiUpdateOverlay should be made pageable.

-see-also

DXGKARG_CREATEOVERLAY

DXGKARG_UPDATEOVERLAY

DxgkDdiCreateOverlay