Method SetWindowCompositionAttribute
SetWindowCompositionAttribute(nint, ref WindowCompositionAttributeData)
Sets various window composition attributes (such as accent, cloak, etc.).
public static extern bool SetWindowCompositionAttribute(nint window, ref MswUtils.NativeMethods.WindowCompositionAttributeData windowCompositionAttribute)
Parameters
windownintA handle to the window whose composition attribute will be set.
windowCompositionAttributeMswUtils.NativeMethods.WindowCompositionAttributeDataA reference to a MswUtils.NativeMethods.WindowCompositionAttributeData structure that specifies the attribute and its value.