DWM_SOURCE_FRAME_SAMPLING enumeration

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

Syntax


typedef enum _DWM_SOURCE_FRAME_SAMPLING { 
  DWM_SOURCE_FRAME_SAMPLING_POINT     = 1,
  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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Dwmapi.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft