Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 2.79 KB

ns-iddcx-idarg_in_querytargetmodes.md

File metadata and controls

72 lines (56 loc) · 2.79 KB
UID title description tech.root 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 req.typenames f1_keywords topic_type api_type api_location api_name
NS:iddcx.IDARG_IN_QUERYTARGETMODES
IDARG_IN_QUERYTARGETMODES (iddcx.h)
Learn more about the IDARG_IN_QUERYTARGETMODES structure.
display
09/22/2023
IDARG_IN_QUERYTARGETMODES structure
IDARG_IN_QUERYTARGETMODES, IDARG_IN_QUERYTARGETMODES structure [Display Devices], display.idarg_in_querytargetmodes, iddcx/IDARG_IN_QUERYTARGETMODES
iddcx.h
Windows
Windows 10
Windows
IDARG_IN_QUERYTARGETMODES
iddcx/IDARG_IN_QUERYTARGETMODES
APIRef
kbSyntax
HeaderDef
iddcx.h
IDARG_IN_QUERYTARGETMODES

IDARG_IN_QUERYTARGETMODES structure

-description

The IDARG_IN_QUERYTARGETMODES structure contains input arguments for the EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES callback function.

-struct-fields

-field MonitorDescription

[in] An IDDCX_MONITOR_DESCRIPTION structure that contains the monitor description.

This might not be the monitor description the driver originally provided in the monitor arrival call, which allows for the monitor description to be updated by the OS.

-field TargetModeBufferInputCount

[in] The number of target modes that can be held in the buffer that pTargetModes points to. If the value is zero, then the driver should not copy the target mode list to pTargetModes, but should instead set IDARG_OUT_QUERYTARGETMODES's TargetModeBufferOutputCount value to indicate the size of buffer required to store the modes.

-field pTargetModes

[out] Pointer to a buffer of IDDCX_TARGET_MODE structures that the driver should copy the target modes it supports for this monitor to if the value is non-NULL. If pTargetModes is NULL, then driver shouldn't copy any data and should instead just set IDARG_OUT_QUERYTARGETMODES's TargetModeBufferOutputCount value to indicate the size of buffer required to store the modes.

-see-also

EVT_IDD_CX_MONITOR_QUERY_TARGET_MODES

IDARG_OUT_QUERYTARGETMODES

IDDCX_MONITOR_DESCRIPTION

IDDCX_TARGET_MODE