Bewerken

Delen via


D3DKMDT_DISPLAYMODE_FLAGS structure (d3dkmthk.h)

The D3DKMDT_DISPLAYMODE_FLAGS structure identifies attributes of a display mode.

Syntax

typedef struct _D3DKMDT_DISPLAYMODE_FLAGS {
#if ...
       BOOLEAN                     ValidatedAgainstMonitorCaps : 1;
#if ...
       BOOLEAN                     RoundedFakeMode : 1;
#if ...
  [in] D3DKMDT_MODE_PRUNING_REASON ModePruningReason : 4;
#if ...
       UINT                        Reserved : 28;
#else
       UINT                        ValidatedAgainstMonitorCaps : 1;
#endif
#else
       UINT                        RoundedFakeMode : 1;
#endif
#else
  [in] D3DKMDT_MODE_PRUNING_REASON ModePruningReason : 4;
#endif
  [in] UINT                        Stereo : 1;
  [in] UINT                        AdvancedScanCapable : 1;
#elif
       UINT                        Reserved : 26;
       UINT                        PreferredTiming : 1;
       UINT                        PhysicalModeSupported : 1;
#elif
       UINT                        Reserved : 24;
       UINT                        VirtualRefreshRate : 1;
#else
       UINT                        Reserved : 23;
#endif
} D3DKMDT_DISPLAYMODE_FLAGS;

Members

ValidatedAgainstMonitorCaps

A Boolean value that specifies whether the display mode is supported by the monitor that the display mode will be displayed on.

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

A UINT value that specifies whether the display mode is supported by the monitor that the display mode will be displayed on.

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

Supported starting with Windows 8.

RoundedFakeMode

A Boolean value that specifies whether the display mode is rounded.

Setting this member is equivalent to setting the second bit of a 32-bit value (0x00000002).

A UINT value that specifies whether the display mode is rounded.

Setting this member is equivalent to setting the second bit of a 32-bit value (0x00000002).

Supported starting with Windows 8.

[in] ModePruningReason

A value of type D3DKMDT_MODE_PRUNING_REASON that identifies the reason why the monitor either supports the display mode or does not support the display mode. The four bits are defined by one of the values in the D3DKMDT_MODE_PRUNING_REASON enumeration type and depend on the setting of the ValidatedAgainstMonitorCaps member. For more information about how the ModePruningReason value is set, see D3DKMDT_MODE_PRUNING_REASON.

Setting this member is equivalent to setting bits 4 through 7 of a 32-bit value (0x0000003C).

[in] A value of type D3DKMDT_MODE_PRUNING_REASON that identifies the reason why the monitor either supports the display mode or does not support the display mode. The four bits are defined by one of the values in the D3DKMDT_MODE_PRUNING_REASON enumeration type and depend on the setting of the ValidatedAgainstMonitorCaps member. For more information about how the ModePruningReason value is set, see D3DKMDT_MODE_PRUNING_REASON. This member is equivalent to bits 4 through 7 of a 32-bit value (0x0000003C).

Supported starting with Windows 8.

Reserved

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

This member is reserved and should be set to zero.

Setting this member is equivalent to setting the remaining 26 bits (0xFFFFFFC0) of a 32-bit value to zeros.

Supported starting with Windows 8.

[in] Stereo

A UINT value that specifies whether stereo is supported by the monitor that the display mode will be displayed on.

Setting this member is equivalent to setting the eighth bit of a 32-bit value (0x00000080).

Supported starting with Windows 8.

[in] AdvancedScanCapable

A UINT value that specifies whether the driver supports the advanced scan capability.

The driver reports support for this option in the current display mode by setting the Type member of the D3DKMDT_VIDPN_SOURCE_MODE structure to D3DKMDT_RMT_GRAPHICS_STEREO_ADVANCED_SCAN. Setting this member is equivalent to setting the ninth bit of a 32-bit value (0x00000100).

Supported starting with Windows 8.

PreferredTiming

A UINT value that specifies whether the driver supports preferred timing.

PhysicalModeSupported

A UINT value that specifies whether the driver supports physical mode.

VirtualRefreshRate

A UINT value that specifies whether the driver supports virtual refresh rate.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dkmthk.h (include D3dkmthk.h)

See also

D3DKMDT_MODE_PRUNING_REASON

D3DKMT_DISPLAYMODE