SetWindowFeedbackSetting function (winuser.h)

Sets the feedback configuration for a window.

Syntax

BOOL SetWindowFeedbackSetting(
  HWND          hwnd,
  FEEDBACK_TYPE feedback,
  DWORD         dwFlags,
  UINT32        size,
  const VOID    *configuration
);

Parameters

hwnd

The window to configure feedback on.

feedback

One of the values from the FEEDBACK_TYPE enumeration.

dwFlags

Reserved. Must be 0.

size

The size, in bytes, of the configuration data. Must be sizeof(BOOL) or 0 if the feedback setting is being reset.

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

   
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

See also

Functions

SystemParametersInfo