Skip to content

Latest commit

 

History

History
78 lines (60 loc) · 2.81 KB

nc-d3dkmddi-dxgkddi_recommendmonitormodes.md

File metadata and controls

78 lines (60 loc) · 2.81 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_RECOMMENDMONITORMODES
DXGKDDI_RECOMMENDMONITORMODES (d3dkmddi.h)
The DxgkDdiRecommendMonitorModes function inspects the monitor source mode set that is associated with a particular video present target and possibly adds modes to the set.
display\dxgkddirecommendmonitormodes.htm
05/10/2018
DXGKDDI_RECOMMENDMONITORMODES callback function
DXGKDDI_RECOMMENDMONITORMODES, DXGKDDI_RECOMMENDMONITORMODES callback, DmFunctions_0e8f1382-ec41-4953-8e1e-f2a5121acc0c.xml, DxgkDdiRecommendMonitorModes, DxgkDdiRecommendMonitorModes callback function [Display Devices], d3dkmddi/DxgkDdiRecommendMonitorModes, display.dxgkddirecommendmonitormodes
d3dkmddi.h
D3dkmddi.h
Desktop
Windows Vista
< DISPATCH_LEVEL
Windows
display
DXGKDDI_RECOMMENDMONITORMODES
d3dkmddi/DXGKDDI_RECOMMENDMONITORMODES
APIRef
kbSyntax
UserDefined
d3dkmddi.h
DXGKDDI_RECOMMENDMONITORMODES

DXGKDDI_RECOMMENDMONITORMODES callback function

-description

The DxgkDdiRecommendMonitorModes function inspects the monitor source mode set that is associated with a particular video present target and possibly adds modes to the set.

-parameters

-param hAdapter [in]

A handle to a context block that is associated with a display adapter. The display miniport driver previously provided this handle to the Microsoft DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

-param pRecommendMonitorModes [in]

A pointer to a DXGKARG_RECOMMENDMONITORMODES structure that contains function arguments.

-returns

DxgkDdiRecommendMonitorModes returns one of the following values:

Return code Description
STATUS_SUCCESS The function succeeded.
STATUS_NO_MEMORY The function failed because it was unable to allocate enough memory.

The miniport driver should pass through any error code that it gets from the operating system for which it does not have a fallback code path.

-remarks

DxgkDdiRecommendMonitorModes should be made pageable.

-see-also

Monitor Source Mode Set Interface