SetWindowFeedbackSettings function
Sets the feedback settings for a given window handle.
BOOL WINAPI SetWindowFeedbackSettings(
_In_ HWND hwnd,
_In_ FEEDBACK_TYPE feedback,
_In_ DWORD flags,
_In_ UINT32 size,
_In_opt_ const VOID *configuration
);
hwnd [in]
The handle of the window to query.feedback [in]
The type of feedback.flags [in]
Flags.size [in]
The size of configuration.configuration [in, optional]
The value of the setting for the feedback.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
If size is 0 and pSetting is NULL, it clears the setting.
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Header |
Winuser.h (include Windows.h) |
Library |
User32.lib |
DLL |
User32.dll |