1 #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`, `\"Win32_Foundation\"`, `\"implement\"`*"]
2 #[cfg(feature = "Win32_Foundation")]
3 pub trait IRadialControllerConfigurationInterop_Impl
: Sized
{
4 fn GetForWindow(&self, hwnd
: super::super::super::Foundation
::HWND
, riid
: *const ::windows
::core
::GUID
, ppv
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::Result
<()>;
6 #[cfg(feature = "Win32_Foundation")]
7 impl ::windows
::core
::RuntimeName
for IRadialControllerConfigurationInterop {}
8 #[cfg(feature = "Win32_Foundation")]
9 impl IRadialControllerConfigurationInterop_Vtbl
{
10 pub const fn new
<Identity
: ::windows
::core
::IUnknownImpl
<Impl
= Impl
>, Impl
: IRadialControllerConfigurationInterop_Impl
, const OFFSET
: isize>() -> IRadialControllerConfigurationInterop_Vtbl
{
11 unsafe extern "system" fn GetForWindow
<Identity
: ::windows
::core
::IUnknownImpl
<Impl
= Impl
>, Impl
: IRadialControllerConfigurationInterop_Impl
, const OFFSET
: isize>(this
: *mut ::core
::ffi
::c_void
, hwnd
: super::super::super::Foundation
::HWND
, riid
: *const ::windows
::core
::GUID
, ppv
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
{
12 let this
= (this
as *const *const ()).offset(OFFSET
) as *const Identity
;
13 let this
= (*this
).get_impl();
14 this
.GetForWindow(::core
::mem
::transmute_copy(&hwnd
), ::core
::mem
::transmute_copy(&riid
), ::core
::mem
::transmute_copy(&ppv
)).into()
17 base__
: ::windows
::core
::IInspectable_Vtbl
::new
::<Identity
, IRadialControllerConfigurationInterop
, OFFSET
>(),
18 GetForWindow
: GetForWindow
::<Identity
, Impl
, OFFSET
>,
21 pub fn matches(iid
: &windows
::core
::GUID
) -> bool
{
22 iid
== &<IRadialControllerConfigurationInterop
as ::windows
::core
::ComInterface
>::IID
25 #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`, `\"Win32_Foundation\"`, `\"implement\"`*"]
26 #[cfg(feature = "Win32_Foundation")]
27 pub trait IRadialControllerIndependentInputSourceInterop_Impl
: Sized
{
28 fn CreateForWindow(&self, hwnd
: super::super::super::Foundation
::HWND
, riid
: *const ::windows
::core
::GUID
, ppv
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::Result
<()>;
30 #[cfg(feature = "Win32_Foundation")]
31 impl ::windows
::core
::RuntimeName
for IRadialControllerIndependentInputSourceInterop {}
32 #[cfg(feature = "Win32_Foundation")]
33 impl IRadialControllerIndependentInputSourceInterop_Vtbl
{
34 pub const fn new
<Identity
: ::windows
::core
::IUnknownImpl
<Impl
= Impl
>, Impl
: IRadialControllerIndependentInputSourceInterop_Impl
, const OFFSET
: isize>() -> IRadialControllerIndependentInputSourceInterop_Vtbl
{
35 unsafe extern "system" fn CreateForWindow
<Identity
: ::windows
::core
::IUnknownImpl
<Impl
= Impl
>, Impl
: IRadialControllerIndependentInputSourceInterop_Impl
, const OFFSET
: isize>(this
: *mut ::core
::ffi
::c_void
, hwnd
: super::super::super::Foundation
::HWND
, riid
: *const ::windows
::core
::GUID
, ppv
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
{
36 let this
= (this
as *const *const ()).offset(OFFSET
) as *const Identity
;
37 let this
= (*this
).get_impl();
38 this
.CreateForWindow(::core
::mem
::transmute_copy(&hwnd
), ::core
::mem
::transmute_copy(&riid
), ::core
::mem
::transmute_copy(&ppv
)).into()
41 base__
: ::windows
::core
::IInspectable_Vtbl
::new
::<Identity
, IRadialControllerIndependentInputSourceInterop
, OFFSET
>(),
42 CreateForWindow
: CreateForWindow
::<Identity
, Impl
, OFFSET
>,
45 pub fn matches(iid
: &windows
::core
::GUID
) -> bool
{
46 iid
== &<IRadialControllerIndependentInputSourceInterop
as ::windows
::core
::ComInterface
>::IID
49 #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`, `\"Win32_Foundation\"`, `\"implement\"`*"]
50 #[cfg(feature = "Win32_Foundation")]
51 pub trait IRadialControllerInterop_Impl
: Sized
{
52 fn CreateForWindow(&self, hwnd
: super::super::super::Foundation
::HWND
, riid
: *const ::windows
::core
::GUID
, ppv
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::Result
<()>;
54 #[cfg(feature = "Win32_Foundation")]
55 impl ::windows
::core
::RuntimeName
for IRadialControllerInterop {}
56 #[cfg(feature = "Win32_Foundation")]
57 impl IRadialControllerInterop_Vtbl
{
58 pub const fn new
<Identity
: ::windows
::core
::IUnknownImpl
<Impl
= Impl
>, Impl
: IRadialControllerInterop_Impl
, const OFFSET
: isize>() -> IRadialControllerInterop_Vtbl
{
59 unsafe extern "system" fn CreateForWindow
<Identity
: ::windows
::core
::IUnknownImpl
<Impl
= Impl
>, Impl
: IRadialControllerInterop_Impl
, const OFFSET
: isize>(this
: *mut ::core
::ffi
::c_void
, hwnd
: super::super::super::Foundation
::HWND
, riid
: *const ::windows
::core
::GUID
, ppv
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
{
60 let this
= (this
as *const *const ()).offset(OFFSET
) as *const Identity
;
61 let this
= (*this
).get_impl();
62 this
.CreateForWindow(::core
::mem
::transmute_copy(&hwnd
), ::core
::mem
::transmute_copy(&riid
), ::core
::mem
::transmute_copy(&ppv
)).into()
65 base__
: ::windows
::core
::IInspectable_Vtbl
::new
::<Identity
, IRadialControllerInterop
, OFFSET
>(),
66 CreateForWindow
: CreateForWindow
::<Identity
, Impl
, OFFSET
>,
69 pub fn matches(iid
: &windows
::core
::GUID
) -> bool
{
70 iid
== &<IRadialControllerInterop
as ::windows
::core
::ComInterface
>::IID