DWM_WINDOW_CORNER_PREFERENCE enumeration (dwmapi.h)

Flags used by the DwmSetWindowAttribute function to specify the rounded corner preference for a window.

Syntax

typedef enum {
  DWMWCP_DEFAULT = 0,
  DWMWCP_DONOTROUND = 1,
  DWMWCP_ROUND = 2,
  DWMWCP_ROUNDSMALL = 3
} DWM_WINDOW_CORNER_PREFERENCE;

Constants

 
DWMWCP_DEFAULT
Let the system decide when to round window corners.
DWMWCP_DONOTROUND
Never round window corners.
DWMWCP_ROUND
Round the corners, if appropriate.
DWMWCP_ROUNDSMALL
Round the corners if appropriate, with a small radius.

Requirements

Requirement Value
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header dwmapi.h