DISPLAYCONFIG_SOURCE_DEVICE_NAME structure

The DISPLAYCONFIG_SOURCE_DEVICE_NAME structure contains the GDI device name for the source or view.

Syntax


typedef struct DISPLAYCONFIG_SOURCE_DEVICE_NAME {
  DISPLAYCONFIG_DEVICE_INFO_HEADER header;
  WCHAR                            viewGdiDeviceName[CCHDEVICENAME];
} DISPLAYCONFIG_SOURCE_DEVICE_NAME;

Members

header

A DISPLAYCONFIG_DEVICE_INFO_HEADER structure that contains information about the request for the source device name. The caller should set the type member of DISPLAYCONFIG_DEVICE_INFO_HEADER to DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME and the adapterId and id members of DISPLAYCONFIG_DEVICE_INFO_HEADER to the source for which the caller wants the source device name. The caller should set the size member of DISPLAYCONFIG_DEVICE_INFO_HEADER to at least the size of the DISPLAYCONFIG_SOURCE_DEVICE_NAME structure.

viewGdiDeviceName

A NULL-terminated WCHAR string that is the GDI device name for the source, or view. This name can be used in a call to EnumDisplaySettings to obtain a list of available modes for the specified source.

Requirements

Version

Available in Windows 7 Client.

Header

Wingdi.h (include Windows.h)

See also

DISPLAYCONFIG_DEVICE_INFO_HEADER

 

 

Send comments about this topic to Microsoft

Show: