DISPLAYCONFIG_SET_TARGET_PERSISTENCE structure (wingdi.h)

The DISPLAYCONFIG_SET_TARGET_PERSISTENCE structure contains information about setting the display.

Syntax

typedef struct DISPLAYCONFIG_SET_TARGET_PERSISTENCE {
  DISPLAYCONFIG_DEVICE_INFO_HEADER header;
  union {
    struct {
      UINT32 bootPersistenceOn : 1;
      UINT32 reserved : 31;
    } DUMMYSTRUCTNAME;
    UINT32 value;
  } DUMMYUNIONNAME;
} DISPLAYCONFIG_SET_TARGET_PERSISTENCE;

Members

header

A DISPLAYCONFIG_DEVICE_INFO_HEADER structure that contains information for setting the target persistence. The type member of DISPLAYCONFIG_DEVICE_INFO_HEADER is set to DISPLAYCONFIG_DEVICE_INFO_SET_TARGET_PERSISTENCE. DISPLAYCONFIG_DEVICE_INFO_HEADER also contains the adapter and target identifiers of the target to set the persistence for. The size member of DISPLAYCONFIG_DEVICE_INFO_HEADER is set to at least the size of the DISPLAYCONFIG_SET_TARGET_PERSISTENCE structure.

DUMMYUNIONNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME

DUMMYUNIONNAME.DUMMYSTRUCTNAME.bootPersistenceOn

A UINT32 value that specifies whether the SetDisplayConfig function should enable or disable boot persistence for the specified target.

Setting this member is equivalent to setting the first bit of the 32-bit value member (0x00000001).

DUMMYUNIONNAME.DUMMYSTRUCTNAME.reserved

This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the remaining 31 bits (0xFFFFFFFE) of the 32-bit value member to zeros.

DUMMYUNIONNAME.value

A member in the union that DISPLAYCONFIG_SET_TARGET_PERSISTENCE contains that can hold a 32-bit value that identifies information about setting the display.

Requirements

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

See also

DISPLAYCONFIG_DEVICE_INFO_HEADER

SetDisplayConfig