source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/asyncinfo.h@ 1170

Last change on this file since 1170 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 5.7 KB
Line 
1/*** Autogenerated by WIDL 6.4 from include/asyncinfo.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 __asyncinfo_h__
17#define __asyncinfo_h__
18
19/* Forward declarations */
20
21#ifndef __IAsyncInfo_FWD_DEFINED__
22#define __IAsyncInfo_FWD_DEFINED__
23typedef interface IAsyncInfo IAsyncInfo;
24#ifdef __cplusplus
25namespace ABI {
26 interface IAsyncInfo;
27}
28#endif /* __cplusplus */
29#endif
30
31/* Headers for imported files */
32
33#include <inspectable.h>
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39typedef enum AsyncStatus {
40 Started = 0,
41 Completed = 1,
42 Canceled = 2,
43 Error = 3
44} AsyncStatus;
45/*****************************************************************************
46 * IAsyncInfo interface
47 */
48#ifndef __IAsyncInfo_INTERFACE_DEFINED__
49#define __IAsyncInfo_INTERFACE_DEFINED__
50
51DEFINE_GUID(IID_IAsyncInfo, 0x00000036, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
52#if defined(__cplusplus) && !defined(CINTERFACE)
53MIDL_INTERFACE("00000036-0000-0000-c000-000000000046")
54IAsyncInfo : public IInspectable
55{
56 virtual HRESULT STDMETHODCALLTYPE get_Id(
57 UINT32 *id) = 0;
58
59 virtual HRESULT STDMETHODCALLTYPE get_Status(
60 AsyncStatus *status) = 0;
61
62 virtual HRESULT STDMETHODCALLTYPE get_ErrorCode(
63 HRESULT *error_code) = 0;
64
65 virtual HRESULT STDMETHODCALLTYPE Cancel(
66 ) = 0;
67
68 virtual HRESULT STDMETHODCALLTYPE Close(
69 ) = 0;
70
71};
72#ifdef __CRT_UUID_DECL
73__CRT_UUID_DECL(IAsyncInfo, 0x00000036, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
74#endif
75#else
76typedef struct IAsyncInfoVtbl {
77 BEGIN_INTERFACE
78
79 /*** IUnknown methods ***/
80 HRESULT (STDMETHODCALLTYPE *QueryInterface)(
81 IAsyncInfo *This,
82 REFIID riid,
83 void **ppvObject);
84
85 ULONG (STDMETHODCALLTYPE *AddRef)(
86 IAsyncInfo *This);
87
88 ULONG (STDMETHODCALLTYPE *Release)(
89 IAsyncInfo *This);
90
91 /*** IInspectable methods ***/
92 HRESULT (STDMETHODCALLTYPE *GetIids)(
93 IAsyncInfo *This,
94 ULONG *iidCount,
95 IID **iids);
96
97 HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
98 IAsyncInfo *This,
99 HSTRING *className);
100
101 HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
102 IAsyncInfo *This,
103 TrustLevel *trustLevel);
104
105 /*** IAsyncInfo methods ***/
106 HRESULT (STDMETHODCALLTYPE *get_Id)(
107 IAsyncInfo *This,
108 UINT32 *id);
109
110 HRESULT (STDMETHODCALLTYPE *get_Status)(
111 IAsyncInfo *This,
112 AsyncStatus *status);
113
114 HRESULT (STDMETHODCALLTYPE *get_ErrorCode)(
115 IAsyncInfo *This,
116 HRESULT *error_code);
117
118 HRESULT (STDMETHODCALLTYPE *Cancel)(
119 IAsyncInfo *This);
120
121 HRESULT (STDMETHODCALLTYPE *Close)(
122 IAsyncInfo *This);
123
124 END_INTERFACE
125} IAsyncInfoVtbl;
126
127interface IAsyncInfo {
128 CONST_VTBL IAsyncInfoVtbl* lpVtbl;
129};
130
131#ifdef COBJMACROS
132#ifndef WIDL_C_INLINE_WRAPPERS
133/*** IUnknown methods ***/
134#define IAsyncInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
135#define IAsyncInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
136#define IAsyncInfo_Release(This) (This)->lpVtbl->Release(This)
137/*** IInspectable methods ***/
138#define IAsyncInfo_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
139#define IAsyncInfo_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
140#define IAsyncInfo_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
141/*** IAsyncInfo methods ***/
142#define IAsyncInfo_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
143#define IAsyncInfo_get_Status(This,status) (This)->lpVtbl->get_Status(This,status)
144#define IAsyncInfo_get_ErrorCode(This,error_code) (This)->lpVtbl->get_ErrorCode(This,error_code)
145#define IAsyncInfo_Cancel(This) (This)->lpVtbl->Cancel(This)
146#define IAsyncInfo_Close(This) (This)->lpVtbl->Close(This)
147#else
148/*** IUnknown methods ***/
149static FORCEINLINE HRESULT IAsyncInfo_QueryInterface(IAsyncInfo* This,REFIID riid,void **ppvObject) {
150 return This->lpVtbl->QueryInterface(This,riid,ppvObject);
151}
152static FORCEINLINE ULONG IAsyncInfo_AddRef(IAsyncInfo* This) {
153 return This->lpVtbl->AddRef(This);
154}
155static FORCEINLINE ULONG IAsyncInfo_Release(IAsyncInfo* This) {
156 return This->lpVtbl->Release(This);
157}
158/*** IInspectable methods ***/
159static FORCEINLINE HRESULT IAsyncInfo_GetIids(IAsyncInfo* This,ULONG *iidCount,IID **iids) {
160 return This->lpVtbl->GetIids(This,iidCount,iids);
161}
162static FORCEINLINE HRESULT IAsyncInfo_GetRuntimeClassName(IAsyncInfo* This,HSTRING *className) {
163 return This->lpVtbl->GetRuntimeClassName(This,className);
164}
165static FORCEINLINE HRESULT IAsyncInfo_GetTrustLevel(IAsyncInfo* This,TrustLevel *trustLevel) {
166 return This->lpVtbl->GetTrustLevel(This,trustLevel);
167}
168/*** IAsyncInfo methods ***/
169static FORCEINLINE HRESULT IAsyncInfo_get_Id(IAsyncInfo* This,UINT32 *id) {
170 return This->lpVtbl->get_Id(This,id);
171}
172static FORCEINLINE HRESULT IAsyncInfo_get_Status(IAsyncInfo* This,AsyncStatus *status) {
173 return This->lpVtbl->get_Status(This,status);
174}
175static FORCEINLINE HRESULT IAsyncInfo_get_ErrorCode(IAsyncInfo* This,HRESULT *error_code) {
176 return This->lpVtbl->get_ErrorCode(This,error_code);
177}
178static FORCEINLINE HRESULT IAsyncInfo_Cancel(IAsyncInfo* This) {
179 return This->lpVtbl->Cancel(This);
180}
181static FORCEINLINE HRESULT IAsyncInfo_Close(IAsyncInfo* This) {
182 return This->lpVtbl->Close(This);
183}
184#endif
185#endif
186
187#endif
188
189#endif /* __IAsyncInfo_INTERFACE_DEFINED__ */
190
191/* Begin additional prototypes for all interfaces */
192
193
194/* End additional prototypes */
195
196#ifdef __cplusplus
197}
198#endif
199
200#endif /* __asyncinfo_h__ */
Note: See TracBrowser for help on using the repository browser.