GetWindowFeedbackSetting function (winuser.h)

Retrieves the feedback configuration for a window.

Syntax

BOOL GetWindowFeedbackSetting(
  [in]            HWND          hwnd,
  [in]            FEEDBACK_TYPE feedback,
  [in]            DWORD         dwFlags,
  [in, out]       UINT32        *pSize,
  [out, optional] VOID          *config
);

Parameters

[in] hwnd

The window to check for feedback configuration.

[in] feedback

One of the values from the FEEDBACK_TYPE enumeration.

[in] dwFlags

Specify GWFS_INCLUDE_ANCESTORS to check the parent window chain until a value is found. The default is 0 and indicates that only the specified window will be checked.

[in, out] pSize

The size of memory region that the config parameter points to.

The pSize parameter specifies the size of the configuration data for the feedback type in feedback and must be sizeof(BOOL).

[out, optional] config

The configuration data.

The config parameter must point to a value of type BOOL.

Return value

Returns TRUE if the specified feedback setting is configured on the specified window. Otherwise, it returns FALSE (and config won't be modified).

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

See also

Functions

SystemParametersInfo