Skip to content

Latest commit

 

History

History
79 lines (61 loc) · 3.17 KB

ns-wingdi-displayconfig_target_preferred_mode.md

File metadata and controls

79 lines (61 loc) · 3.17 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date 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 req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:wingdi.DISPLAYCONFIG_TARGET_PREFERRED_MODE
DISPLAYCONFIG_TARGET_PREFERRED_MODE (wingdi.h)
The DISPLAYCONFIG_TARGET_PREFERRED_MODE structure contains information about the preferred mode of a display.
CCD_Structures_d19517fa-c72d-47bf-9198-c447efe1ba90.xml
DISPLAYCONFIG_TARGET_PREFERRED_MODE
DISPLAYCONFIG_TARGET_PREFERRED_MODE structure [Display Devices]
display.displayconfig_target_preferred_mode
wingdi/DISPLAYCONFIG_TARGET_PREFERRED_MODE
display\displayconfig_target_preferred_mode.htm
display
1a4926ca-36d2-466c-b3d2-b59d34a89ee6
12/05/2018
CCD_Structures_d19517fa-c72d-47bf-9198-c447efe1ba90.xml, DISPLAYCONFIG_TARGET_PREFERRED_MODE, DISPLAYCONFIG_TARGET_PREFERRED_MODE structure [Display Devices], display.displayconfig_target_preferred_mode, wingdi/DISPLAYCONFIG_TARGET_PREFERRED_MODE
wingdi.h
Windows.h
Windows
Available in Windows 7 Client.
Windows
DISPLAYCONFIG_TARGET_PREFERRED_MODE
19H1
DISPLAYCONFIG_TARGET_PREFERRED_MODE
wingdi/DISPLAYCONFIG_TARGET_PREFERRED_MODE
c++
APIRef
kbSyntax
HeaderDef
wingdi.h
DISPLAYCONFIG_TARGET_PREFERRED_MODE

DISPLAYCONFIG_TARGET_PREFERRED_MODE structure

-description

The DISPLAYCONFIG_TARGET_PREFERRED_MODE structure contains information about the preferred mode of a display.

-struct-fields

-field header

A DISPLAYCONFIG_DEVICE_INFO_HEADER structure that contains information about the request for the target preferred mode. The caller should set the type member of DISPLAYCONFIG_DEVICE_INFO_HEADER to DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE and the adapterId and id members of DISPLAYCONFIG_DEVICE_INFO_HEADER to the target for which the caller wants the preferred mode. The caller should set the size member of DISPLAYCONFIG_DEVICE_INFO_HEADER to at least the size of the DISPLAYCONFIG_TARGET_PREFERRED_MODE structure.

-field width

The width in pixels of the best mode for the monitor that is connected to the target that the targetMode member specifies.

-field height

The height in pixels of the best mode for the monitor that is connected to the target that the targetMode member specifies.

-field targetMode

A DISPLAYCONFIG_TARGET_MODE structure that describes the best target mode for the monitor that is connected to the specified target.

-see-also

DISPLAYCONFIG_DEVICE_INFO_HEADER

DISPLAYCONFIG_TARGET_MODE