Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 3.89 KB

nc-d3dkmddi-dxgkddi_monitorsourcemodeset_acquirefirstmodeinfo.md

File metadata and controls

88 lines (63 loc) · 3.89 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_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO
DXGKDDI_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO (d3dkmddi.h)
The pfnAcquireFirstModeInfo function returns a descriptor of the first mode in a specified monitor source mode set.
display\dxgk_monitorsourcemodeset_interface_pfnacquirefirstmodeinfo.htm
05/10/2018
DXGKDDI_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO callback function
DXGKDDI_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO, DXGKDDI_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO callback, VidPnFunctions_81493c6c-3b78-4c4b-969c-276a459a198d.xml, d3dkmddi/pfnAcquireFirstModeInfo, display.dxgk_monitorsourcemodeset_interface_pfnacquirefirstmodeinfo, pfnAcquireFirstModeInfo, pfnAcquireFirstModeInfo callback function [Display Devices]
d3dkmddi.h
D3dkmddi.h
Desktop
Windows Vista
PASSIVE_LEVEL
Windows
display
DXGKDDI_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO
d3dkmddi/DXGKDDI_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO
APIRef
kbSyntax
UserDefined
d3dkmddi.h
DXGKDDI_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO

DXGKDDI_MONITORSOURCEMODESET_ACQUIREFIRSTMODEINFO callback function

-description

The pfnAcquireFirstModeInfo function returns a descriptor of the first mode in a specified monitor source mode set.

-parameters

-param hMonitorSourceModeSet [in]

A handle to a monitor source mode set object. The display miniport driver previously obtained this handle by calling the pfnAcquireMonitorSourceModeSet function of the Monitor interface.

-param ppFirstMonitorSourceModeInfo [out]

A pointer to a variable that receives a pointer to a D3DKMDT_MONITOR_SOURCE_MODE structure. The structure contains a variety of information about the monitor source mode, including its ID and video signal characteristics.

-returns

The pfnAcquireFirstModeInfo function returns one of the following values:

Return code Description
STATUS_SUCCESS The function succeeded.
STATUS_GRAPHICS_INVALID_MONITOR_SOURCEMODESET The handle supplied in hMonitorSourceModeSet was invalid.

-remarks

When you have finished using the D3DKMDT_MONITOR_SOURCE_MODE structure, you must release the structure by calling pfnReleaseModeInfo.

You can enumerate all the modes that belong to a VidPN monitor source mode set object by calling pfnAcquireFirstModeInfo and then making a sequence of calls to pfnAcquireNextModeInfo.

The D3DKMDT_HMONITORSOURCEMODESET data type is defined in D3dkmdt.h.

-see-also

D3DKMDT_MONITOR_SOURCE_MODE

pfnAcquireNextModeInfo

pfnReleaseModeInfo