IRadialControllerInterop::CreateForWindow method (radialcontrollerinterop.h)
Instantiates a RadialController object and binds it to the active application.
Syntax
HRESULT CreateForWindow(
[in] HWND hwnd,
[in] REFIID riid,
[out] void **ppv
);
Parameters
[in] hwnd
Handle to the window of the active application.
[in] riid
The GUID for the resource interface.
The REFIID, or GUID, of the interface to the resource can be obtained by using the __uuidof() macro. For example, __uuidof(IRadialController) will get the GUID of the interface to a buffer resource.
[out] ppv
Address of a pointer to a RadialController 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
Samples