Sets various information regarding DWM window attributes
Syntax
BOOL WINAPI SetWindowCompositionAttribute (
HWND hwnd,
WINCOMPATTRDATA* pAttrData
)
Parameters
- hwnd
- The window whose information is to be changed
- pAttrData
- Pointer to a structure which both specifies and delivers the attribute data
Return Value
Nonzero on success, zero otherwise. Call GetLastError on failure for more information.
Remarks
/* */This function is the reciprocal to GetWindowCompositionAttribute and is identical to DwmSetWindowAttribute with the exception that the parameters after the HWND are packed in a struct, rather than passed individually.
The layout of the WINCOMPATTRDATA structure is detailed on the GetWindowCompositionAttribute page. The remarks that apply to the struct and its members apply here too.