DISPLAYCONFIG_ADAPTER_NAME structure (wingdi.h)

The DISPLAYCONFIG_ADAPTER_NAME structure contains information about the display adapter.

Syntax

typedef struct DISPLAYCONFIG_ADAPTER_NAME {
  DISPLAYCONFIG_DEVICE_INFO_HEADER header;
  WCHAR                            adapterDevicePath[128];
} DISPLAYCONFIG_ADAPTER_NAME;

Members

header

A DISPLAYCONFIG_DEVICE_INFO_HEADER structure that contains information about the request for the adapter name. The caller should set the type member of DISPLAYCONFIG_DEVICE_INFO_HEADER to DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME and the adapterId member of DISPLAYCONFIG_DEVICE_INFO_HEADER to the adapter identifier of the adapter for which the caller wants the name. For this request, the caller does not need to set the id member of DISPLAYCONFIG_DEVICE_INFO_HEADER. The caller should set the size member of DISPLAYCONFIG_DEVICE_INFO_HEADER to at least the size of the DISPLAYCONFIG_ADAPTER_NAME structure.

adapterDevicePath[128]

A NULL-terminated WCHAR string that is the device name for the adapter. This name can be used with SetupAPI.dll to obtain the device name that is contained in the installation package.

Requirements

Requirement Value
Minimum supported client Available in Windows 7 Client.
Header wingdi.h (include Windows.h)