SetWindowFeedbackSettings function

Sets the feedback settings for a given window handle.

Syntax


BOOL WINAPI SetWindowFeedbackSettings(
  _In_      HWND hwnd,
  _In_      FEEDBACK_TYPE feedback,
  _In_      DWORD flags,
  _In_      UINT32 size,
  _In_opt_  const VOID *configuration
);

Parameters

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.

Return value

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.

Remarks

If size is 0 and pSetting is NULL, it clears the setting.

Requirements

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

 

 

Send comments about this topic to Microsoft

Build date: 10/12/2013

Community Additions

Show:
© 2014 Microsoft. All rights reserved.