DWM_SOURCE_FRAME_SAMPLING enumeration (dwmapi.h)

Flags used by the DwmSetPresentParameters function to specify the frame sampling type.

Syntax

typedef enum {
  DWM_SOURCE_FRAME_SAMPLING_POINT,
  DWM_SOURCE_FRAME_SAMPLING_COVERAGE,
  DWM_SOURCE_FRAME_SAMPLING_LAST
} DWM_SOURCE_FRAME_SAMPLING;

Constants

 
DWM_SOURCE_FRAME_SAMPLING_POINT
Use the first source frame that includes the first refresh of the output frame.
DWM_SOURCE_FRAME_SAMPLING_COVERAGE
Use the source frame that includes the most refreshes of the output frame. In the case of multiple source frames with the same coverage, the last frame is used.
DWM_SOURCE_FRAME_SAMPLING_LAST
The maximum recognized DWM_SOURCE_FRAME_SAMPLING value, used for validation purposes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header dwmapi.h