Method DwmSetWindowAttribute
DwmSetWindowAttribute(IntPtr, DwmWindowAttribute, ref int, int)
Sets the value of Desktop Window Manager (DWM) non-client rendering attributes for a window.
public static extern int DwmSetWindowAttribute(IntPtr hwnd, MswUtils.NativeMethods.DwmWindowAttribute dwAttribute, ref int pvAttribute, int cbAttribute)
Parameters
hwnd
nintdwAttribute
MswUtils.NativeMethods.DwmWindowAttributepvAttribute
intcbAttribute
int