IRadialControllerConfigurationInterop::GetForWindow method (radialcontrollerinterop.h)

Retrieves a RadialControllerConfiguration object bound to the active application.

Syntax

HRESULT GetForWindow(
  [in]  HWND   hwnd,
  [in]  REFIID riid,
  [out] void   **ppv
);

Parameters

[in] hwnd

Handle to the window of the active application.

[in] riid

The GUID of the RadialControllerConfiguration object.

[out] ppv

Address of a pointer to a RadialControllerConfiguration object.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header radialcontrollerinterop.h

See also

Developer and UX guidance

IRadialControllerConfigurationInterop

Samples

Surface Dial interactions

Universal Windows Platform samples (C# and C++)

Windows classic desktop sample