master
1/*** Autogenerated by WIDL 10.4 from include/inputpaneinterop.idl - Do not edit ***/
2
3#ifdef _WIN32
4#ifndef __REQUIRED_RPCNDR_H_VERSION__
5#define __REQUIRED_RPCNDR_H_VERSION__ 475
6#endif
7#include <rpc.h>
8#include <rpcndr.h>
9#endif
10
11#ifndef COM_NO_WINDOWS_H
12#include <windows.h>
13#include <ole2.h>
14#endif
15
16#ifndef __inputpaneinterop_h__
17#define __inputpaneinterop_h__
18
19/* Forward declarations */
20
21#ifndef __IInputPaneInterop_FWD_DEFINED__
22#define __IInputPaneInterop_FWD_DEFINED__
23typedef interface IInputPaneInterop IInputPaneInterop;
24#ifdef __cplusplus
25interface IInputPaneInterop;
26#endif /* __cplusplus */
27#endif
28
29/* Headers for imported files */
30
31#include <inspectable.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36
37#include <winapifamily.h>
38#if (NTDDI_VERSION >= NTDDI_WIN10_RS1)
39#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
40/*****************************************************************************
41 * IInputPaneInterop interface
42 */
43#ifndef __IInputPaneInterop_INTERFACE_DEFINED__
44#define __IInputPaneInterop_INTERFACE_DEFINED__
45
46DEFINE_GUID(IID_IInputPaneInterop, 0x75cf2c57, 0x9195, 0x4931, 0x83,0x32, 0xf0,0xb4,0x09,0xe9,0x16,0xaf);
47#if defined(__cplusplus) && !defined(CINTERFACE)
48MIDL_INTERFACE("75cf2c57-9195-4931-8332-f0b409e916af")
49IInputPaneInterop : public IInspectable
50{
51 virtual HRESULT STDMETHODCALLTYPE GetForWindow(
52 HWND app_window,
53 REFIID riid,
54 void **input_pane) = 0;
55
56};
57#ifdef __CRT_UUID_DECL
58__CRT_UUID_DECL(IInputPaneInterop, 0x75cf2c57, 0x9195, 0x4931, 0x83,0x32, 0xf0,0xb4,0x09,0xe9,0x16,0xaf)
59#endif
60#else
61typedef struct IInputPaneInteropVtbl {
62 BEGIN_INTERFACE
63
64 /*** IUnknown methods ***/
65 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
66 IInputPaneInterop *This,
67 REFIID riid,
68 void **ppvObject);
69
70 ULONG (STDMETHODCALLTYPE *AddRef)(
71 IInputPaneInterop *This);
72
73 ULONG (STDMETHODCALLTYPE *Release)(
74 IInputPaneInterop *This);
75
76 /*** IInspectable methods ***/
77 HRESULT (STDMETHODCALLTYPE *GetIids)(
78 IInputPaneInterop *This,
79 ULONG *iidCount,
80 IID **iids);
81
82 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
83 IInputPaneInterop *This,
84 HSTRING *className);
85
86 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
87 IInputPaneInterop *This,
88 TrustLevel *trustLevel);
89
90 /*** IInputPaneInterop methods ***/
91 HRESULT (STDMETHODCALLTYPE *GetForWindow)(
92 IInputPaneInterop *This,
93 HWND app_window,
94 REFIID riid,
95 void **input_pane);
96
97 END_INTERFACE
98} IInputPaneInteropVtbl;
99
100interface IInputPaneInterop {
101 CONST_VTBL IInputPaneInteropVtbl* lpVtbl;
102};
103
104#ifdef COBJMACROS
105#ifndef WIDL_C_INLINE_WRAPPERS
106/*** IUnknown methods ***/
107#define IInputPaneInterop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
108#define IInputPaneInterop_AddRef(This) (This)->lpVtbl->AddRef(This)
109#define IInputPaneInterop_Release(This) (This)->lpVtbl->Release(This)
110/*** IInspectable methods ***/
111#define IInputPaneInterop_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
112#define IInputPaneInterop_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
113#define IInputPaneInterop_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
114/*** IInputPaneInterop methods ***/
115#define IInputPaneInterop_GetForWindow(This,app_window,riid,input_pane) (This)->lpVtbl->GetForWindow(This,app_window,riid,input_pane)
116#else
117/*** IUnknown methods ***/
118static inline HRESULT IInputPaneInterop_QueryInterface(IInputPaneInterop* This,REFIID riid,void **ppvObject) {
119 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
120}
121static inline ULONG IInputPaneInterop_AddRef(IInputPaneInterop* This) {
122 return This->lpVtbl->AddRef(This);
123}
124static inline ULONG IInputPaneInterop_Release(IInputPaneInterop* This) {
125 return This->lpVtbl->Release(This);
126}
127/*** IInspectable methods ***/
128static inline HRESULT IInputPaneInterop_GetIids(IInputPaneInterop* This,ULONG *iidCount,IID **iids) {
129 return This->lpVtbl->GetIids(This,iidCount,iids);
130}
131static inline HRESULT IInputPaneInterop_GetRuntimeClassName(IInputPaneInterop* This,HSTRING *className) {
132 return This->lpVtbl->GetRuntimeClassName(This,className);
133}
134static inline HRESULT IInputPaneInterop_GetTrustLevel(IInputPaneInterop* This,TrustLevel *trustLevel) {
135 return This->lpVtbl->GetTrustLevel(This,trustLevel);
136}
137/*** IInputPaneInterop methods ***/
138static inline HRESULT IInputPaneInterop_GetForWindow(IInputPaneInterop* This,HWND app_window,REFIID riid,void **input_pane) {
139 return This->lpVtbl->GetForWindow(This,app_window,riid,input_pane);
140}
141#endif
142#endif
143
144#endif
145
146
147#endif /* __IInputPaneInterop_INTERFACE_DEFINED__ */
148
149#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
150#endif /* (NTDDI_VERSION >= NTDDI_WIN10_RS1) */
151/* Begin additional prototypes for all interfaces */
152
153ULONG __RPC_USER HWND_UserSize (ULONG *, ULONG, HWND *);
154unsigned char * __RPC_USER HWND_UserMarshal (ULONG *, unsigned char *, HWND *);
155unsigned char * __RPC_USER HWND_UserUnmarshal(ULONG *, unsigned char *, HWND *);
156void __RPC_USER HWND_UserFree (ULONG *, HWND *);
157
158/* End additional prototypes */
159
160#ifdef __cplusplus
161}
162#endif
163
164#endif /* __inputpaneinterop_h__ */