SetWindowFeedbackSetting function (winuser.h)
Sets the feedback configuration for a window.
Syntax
BOOL SetWindowFeedbackSetting(
[in] HWND hwnd,
[in] FEEDBACK_TYPE feedback,
[in] DWORD dwFlags,
[in] UINT32 size,
[in, optional] const VOID *configuration
);
Parameters
[in] hwnd
The window to configure feedback on.
[in] feedback
One of the values from the FEEDBACK_TYPE enumeration.
[in] dwFlags
Reserved. Must be 0.
[in] size
The size, in bytes, of the configuration data. Must be sizeof(BOOL) or 0 if the feedback setting is being reset.
[in, optional] configuration
The configuration data. Must be BOOL or NULL if the feedback setting is being reset.
Return value
Returns TRUE if successful; otherwise, returns FALSE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | winuser.h |
Library | User32.lib |
DLL | User32.dll |