Skip to content

Latest commit

 

History

History
82 lines (63 loc) · 3.68 KB

nc-d3dkmddi-dxgkddi_monitor_releaseadditionalmonitormodeset.md

File metadata and controls

82 lines (63 loc) · 3.68 KB
UID title description 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_MONITOR_RELEASEADDITIONALMONITORMODESET
DXGKDDI_MONITOR_RELEASEADDITIONALMONITORMODESET (d3dkmddi.h)
Learn more about the pfnReleaseAdditionalMonitorModeSet function.
06/09/2023
DXGKDDI_MONITOR_RELEASEADDITIONALMONITORMODESET callback function
DXGKDDI_MONITOR_RELEASEADDITIONALMONITORMODESET, DXGKDDI_MONITOR_RELEASEADDITIONALMONITORMODESET callback, VidPnFunctions_7b298754-19ed-420f-88f9-2910c3f5968a.xml, d3dkmddi/pfnReleaseAdditionalMonitorModeSet, display.dxgk_monitor_interface_v2_pfnreleaseadditionalmonitormodeset, pfnReleaseAdditionalMonitorModeSet, pfnReleaseAdditionalMonitorModeSet callback function [Display Devices]
d3dkmddi.h
D3dkmddi.h
Desktop
Windows 7
PASSIVE_LEVEL
Windows
display
DXGKDDI_MONITOR_RELEASEADDITIONALMONITORMODESET
d3dkmddi/DXGKDDI_MONITOR_RELEASEADDITIONALMONITORMODESET
APIRef
kbSyntax
UserDefined
d3dkmddi.h
DXGKDDI_MONITOR_RELEASEADDITIONALMONITORMODESET

DXGKDDI_MONITOR_RELEASEADDITIONALMONITORMODESET callback function

-description

The pfnReleaseAdditionalMonitorModeSet function releases a handle to an additional monitor source mode set object that is associated with a specified monitor. It is available in the DXGK_MONITOR_INTERFACE_V2 interface, starting in Windows 7.

-parameters

-param hAdapter [in]

A handle that identifies a display adapter. The Microsoft DirectX graphics kernel subsystem previously provided this handle to the display miniport driver in the DxgkInterface parameter of the DxgkDdiStartDevice function.

-param VideoPresentTargetId [in]

An integer that identifies one of the video present targets on the display adapter. The additional modes set object ppAdditionalModesSet returned in a call to the pfnGetAdditionalMonitorModeSet function describes the additional monitor source mode sets that are available on the monitor that is connected to this video present target.

-param pAdditionalModesSet [in]

A pointer to a variable that receives a DXGK_TARGETMODE_DETAIL_TIMING structure that describes a video present target's additional timing modes that are compatible with the display device. This structure was initially obtained in a call to pfnGetAdditionalMonitorModeSet.

-returns

The pfnReleaseAdditionalMonitorModeSet function returns one of the following values.

Return code Description
STATUS_SUCCESS The function succeeded.
STATUS_GRAPHICS_INVALID_DISPLAY_ADAPTER The handle supplied in hAdapter was invalid.
STATUS_INVALID_MONITOR_SOURCEMODESET The handle supplied in ppAdditionalModesSet was invalid.

-remarks

This function is available beginning with Windows 7.

-see-also

DXGK_MONITOR_INTERFACE_V2

DXGK_MONITOR_INTERFACE_V2::pfnGetAdditionalMonitorModeSet

DxgkDdiStartDevice