wsdclient.h 61 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484
  1. /*** Autogenerated by WIDL 7.7 from include/wsdclient.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __wsdclient_h__
  14. #define __wsdclient_h__
  15. /* Forward declarations */
  16. #ifndef __IWSDAsyncResult_FWD_DEFINED__
  17. #define __IWSDAsyncResult_FWD_DEFINED__
  18. typedef interface IWSDAsyncResult IWSDAsyncResult;
  19. #ifdef __cplusplus
  20. interface IWSDAsyncResult;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __IWSDAsyncCallback_FWD_DEFINED__
  24. #define __IWSDAsyncCallback_FWD_DEFINED__
  25. typedef interface IWSDAsyncCallback IWSDAsyncCallback;
  26. #ifdef __cplusplus
  27. interface IWSDAsyncCallback;
  28. #endif /* __cplusplus */
  29. #endif
  30. #ifndef __IWSDMetadataExchange_FWD_DEFINED__
  31. #define __IWSDMetadataExchange_FWD_DEFINED__
  32. typedef interface IWSDMetadataExchange IWSDMetadataExchange;
  33. #ifdef __cplusplus
  34. interface IWSDMetadataExchange;
  35. #endif /* __cplusplus */
  36. #endif
  37. #ifndef __IWSDEventingStatus_FWD_DEFINED__
  38. #define __IWSDEventingStatus_FWD_DEFINED__
  39. typedef interface IWSDEventingStatus IWSDEventingStatus;
  40. #ifdef __cplusplus
  41. interface IWSDEventingStatus;
  42. #endif /* __cplusplus */
  43. #endif
  44. #ifndef __IWSDEndpointProxy_FWD_DEFINED__
  45. #define __IWSDEndpointProxy_FWD_DEFINED__
  46. typedef interface IWSDEndpointProxy IWSDEndpointProxy;
  47. #ifdef __cplusplus
  48. interface IWSDEndpointProxy;
  49. #endif /* __cplusplus */
  50. #endif
  51. #ifndef __IWSDDeviceProxy_FWD_DEFINED__
  52. #define __IWSDDeviceProxy_FWD_DEFINED__
  53. typedef interface IWSDDeviceProxy IWSDDeviceProxy;
  54. #ifdef __cplusplus
  55. interface IWSDDeviceProxy;
  56. #endif /* __cplusplus */
  57. #endif
  58. #ifndef __IWSDServiceProxy_FWD_DEFINED__
  59. #define __IWSDServiceProxy_FWD_DEFINED__
  60. typedef interface IWSDServiceProxy IWSDServiceProxy;
  61. #ifdef __cplusplus
  62. interface IWSDServiceProxy;
  63. #endif /* __cplusplus */
  64. #endif
  65. #ifndef __IWSDServiceProxyEventing_FWD_DEFINED__
  66. #define __IWSDServiceProxyEventing_FWD_DEFINED__
  67. typedef interface IWSDServiceProxyEventing IWSDServiceProxyEventing;
  68. #ifdef __cplusplus
  69. interface IWSDServiceProxyEventing;
  70. #endif /* __cplusplus */
  71. #endif
  72. /* Headers for imported files */
  73. #include <oaidl.h>
  74. #include <ocidl.h>
  75. #include <wsdxmldom.h>
  76. #include <wsdtypes.h>
  77. #ifdef __cplusplus
  78. extern "C" {
  79. #endif
  80. #include <winapifamily.h>
  81. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  82. #ifndef __IWSDAddress_FWD_DEFINED__
  83. #define __IWSDAddress_FWD_DEFINED__
  84. typedef interface IWSDAddress IWSDAddress;
  85. #ifdef __cplusplus
  86. interface IWSDAddress;
  87. #endif /* __cplusplus */
  88. #endif
  89. #ifndef __IWSDXMLContext_FWD_DEFINED__
  90. #define __IWSDXMLContext_FWD_DEFINED__
  91. typedef interface IWSDXMLContext IWSDXMLContext;
  92. #ifdef __cplusplus
  93. interface IWSDXMLContext;
  94. #endif /* __cplusplus */
  95. #endif
  96. #ifndef __IWSDiscoveredService_FWD_DEFINED__
  97. #define __IWSDiscoveredService_FWD_DEFINED__
  98. typedef interface IWSDiscoveredService IWSDiscoveredService;
  99. #ifdef __cplusplus
  100. interface IWSDiscoveredService;
  101. #endif /* __cplusplus */
  102. #endif
  103. #ifndef __IWSDDeviceProxy_FWD_DEFINED__
  104. #define __IWSDDeviceProxy_FWD_DEFINED__
  105. typedef interface IWSDDeviceProxy IWSDDeviceProxy;
  106. #ifdef __cplusplus
  107. interface IWSDDeviceProxy;
  108. #endif /* __cplusplus */
  109. #endif
  110. #ifndef __IWSDServiceProxy_FWD_DEFINED__
  111. #define __IWSDServiceProxy_FWD_DEFINED__
  112. typedef interface IWSDServiceProxy IWSDServiceProxy;
  113. #ifdef __cplusplus
  114. interface IWSDServiceProxy;
  115. #endif /* __cplusplus */
  116. #endif
  117. #ifndef __IWSDEndpointProxy_FWD_DEFINED__
  118. #define __IWSDEndpointProxy_FWD_DEFINED__
  119. typedef interface IWSDEndpointProxy IWSDEndpointProxy;
  120. #ifdef __cplusplus
  121. interface IWSDEndpointProxy;
  122. #endif /* __cplusplus */
  123. #endif
  124. #ifndef __IWSDAsyncResult_FWD_DEFINED__
  125. #define __IWSDAsyncResult_FWD_DEFINED__
  126. typedef interface IWSDAsyncResult IWSDAsyncResult;
  127. #ifdef __cplusplus
  128. interface IWSDAsyncResult;
  129. #endif /* __cplusplus */
  130. #endif
  131. #ifndef __IWSDAsyncCallback_FWD_DEFINED__
  132. #define __IWSDAsyncCallback_FWD_DEFINED__
  133. typedef interface IWSDAsyncCallback IWSDAsyncCallback;
  134. #ifdef __cplusplus
  135. interface IWSDAsyncCallback;
  136. #endif /* __cplusplus */
  137. #endif
  138. #ifndef __IWSDMetadataExchange_FWD_DEFINED__
  139. #define __IWSDMetadataExchange_FWD_DEFINED__
  140. typedef interface IWSDMetadataExchange IWSDMetadataExchange;
  141. #ifdef __cplusplus
  142. interface IWSDMetadataExchange;
  143. #endif /* __cplusplus */
  144. #endif
  145. #ifndef __IWSDEventingStatus_FWD_DEFINED__
  146. #define __IWSDEventingStatus_FWD_DEFINED__
  147. typedef interface IWSDEventingStatus IWSDEventingStatus;
  148. #ifdef __cplusplus
  149. interface IWSDEventingStatus;
  150. #endif /* __cplusplus */
  151. #endif
  152. /*****************************************************************************
  153. * IWSDAsyncResult interface
  154. */
  155. #ifndef __IWSDAsyncResult_INTERFACE_DEFINED__
  156. #define __IWSDAsyncResult_INTERFACE_DEFINED__
  157. DEFINE_GUID(IID_IWSDAsyncResult, 0x11a9852a, 0x8dd8, 0x423e, 0xb5,0x37, 0x93,0x56,0xdb,0x4f,0xbf,0xb8);
  158. #if defined(__cplusplus) && !defined(CINTERFACE)
  159. MIDL_INTERFACE("11a9852a-8dd8-423e-b537-9356db4fbfb8")
  160. IWSDAsyncResult : public IUnknown
  161. {
  162. virtual HRESULT STDMETHODCALLTYPE SetCallback(
  163. IWSDAsyncCallback *pCallback,
  164. IUnknown *pAsyncState) = 0;
  165. virtual HRESULT STDMETHODCALLTYPE SetWaitHandle(
  166. HANDLE hWaitHandle) = 0;
  167. virtual HRESULT STDMETHODCALLTYPE HasCompleted(
  168. ) = 0;
  169. virtual HRESULT STDMETHODCALLTYPE GetAsyncState(
  170. IUnknown **ppAsyncState) = 0;
  171. virtual HRESULT STDMETHODCALLTYPE Abort(
  172. ) = 0;
  173. virtual HRESULT STDMETHODCALLTYPE GetEvent(
  174. WSD_EVENT *pEvent) = 0;
  175. virtual HRESULT STDMETHODCALLTYPE GetEndpointProxy(
  176. IWSDEndpointProxy **ppEndpoint) = 0;
  177. };
  178. #ifdef __CRT_UUID_DECL
  179. __CRT_UUID_DECL(IWSDAsyncResult, 0x11a9852a, 0x8dd8, 0x423e, 0xb5,0x37, 0x93,0x56,0xdb,0x4f,0xbf,0xb8)
  180. #endif
  181. #else
  182. typedef struct IWSDAsyncResultVtbl {
  183. BEGIN_INTERFACE
  184. /*** IUnknown methods ***/
  185. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  186. IWSDAsyncResult *This,
  187. REFIID riid,
  188. void **ppvObject);
  189. ULONG (STDMETHODCALLTYPE *AddRef)(
  190. IWSDAsyncResult *This);
  191. ULONG (STDMETHODCALLTYPE *Release)(
  192. IWSDAsyncResult *This);
  193. /*** IWSDAsyncResult methods ***/
  194. HRESULT (STDMETHODCALLTYPE *SetCallback)(
  195. IWSDAsyncResult *This,
  196. IWSDAsyncCallback *pCallback,
  197. IUnknown *pAsyncState);
  198. HRESULT (STDMETHODCALLTYPE *SetWaitHandle)(
  199. IWSDAsyncResult *This,
  200. HANDLE hWaitHandle);
  201. HRESULT (STDMETHODCALLTYPE *HasCompleted)(
  202. IWSDAsyncResult *This);
  203. HRESULT (STDMETHODCALLTYPE *GetAsyncState)(
  204. IWSDAsyncResult *This,
  205. IUnknown **ppAsyncState);
  206. HRESULT (STDMETHODCALLTYPE *Abort)(
  207. IWSDAsyncResult *This);
  208. HRESULT (STDMETHODCALLTYPE *GetEvent)(
  209. IWSDAsyncResult *This,
  210. WSD_EVENT *pEvent);
  211. HRESULT (STDMETHODCALLTYPE *GetEndpointProxy)(
  212. IWSDAsyncResult *This,
  213. IWSDEndpointProxy **ppEndpoint);
  214. END_INTERFACE
  215. } IWSDAsyncResultVtbl;
  216. interface IWSDAsyncResult {
  217. CONST_VTBL IWSDAsyncResultVtbl* lpVtbl;
  218. };
  219. #ifdef COBJMACROS
  220. #ifndef WIDL_C_INLINE_WRAPPERS
  221. /*** IUnknown methods ***/
  222. #define IWSDAsyncResult_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  223. #define IWSDAsyncResult_AddRef(This) (This)->lpVtbl->AddRef(This)
  224. #define IWSDAsyncResult_Release(This) (This)->lpVtbl->Release(This)
  225. /*** IWSDAsyncResult methods ***/
  226. #define IWSDAsyncResult_SetCallback(This,pCallback,pAsyncState) (This)->lpVtbl->SetCallback(This,pCallback,pAsyncState)
  227. #define IWSDAsyncResult_SetWaitHandle(This,hWaitHandle) (This)->lpVtbl->SetWaitHandle(This,hWaitHandle)
  228. #define IWSDAsyncResult_HasCompleted(This) (This)->lpVtbl->HasCompleted(This)
  229. #define IWSDAsyncResult_GetAsyncState(This,ppAsyncState) (This)->lpVtbl->GetAsyncState(This,ppAsyncState)
  230. #define IWSDAsyncResult_Abort(This) (This)->lpVtbl->Abort(This)
  231. #define IWSDAsyncResult_GetEvent(This,pEvent) (This)->lpVtbl->GetEvent(This,pEvent)
  232. #define IWSDAsyncResult_GetEndpointProxy(This,ppEndpoint) (This)->lpVtbl->GetEndpointProxy(This,ppEndpoint)
  233. #else
  234. /*** IUnknown methods ***/
  235. static FORCEINLINE HRESULT IWSDAsyncResult_QueryInterface(IWSDAsyncResult* This,REFIID riid,void **ppvObject) {
  236. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  237. }
  238. static FORCEINLINE ULONG IWSDAsyncResult_AddRef(IWSDAsyncResult* This) {
  239. return This->lpVtbl->AddRef(This);
  240. }
  241. static FORCEINLINE ULONG IWSDAsyncResult_Release(IWSDAsyncResult* This) {
  242. return This->lpVtbl->Release(This);
  243. }
  244. /*** IWSDAsyncResult methods ***/
  245. static FORCEINLINE HRESULT IWSDAsyncResult_SetCallback(IWSDAsyncResult* This,IWSDAsyncCallback *pCallback,IUnknown *pAsyncState) {
  246. return This->lpVtbl->SetCallback(This,pCallback,pAsyncState);
  247. }
  248. static FORCEINLINE HRESULT IWSDAsyncResult_SetWaitHandle(IWSDAsyncResult* This,HANDLE hWaitHandle) {
  249. return This->lpVtbl->SetWaitHandle(This,hWaitHandle);
  250. }
  251. static FORCEINLINE HRESULT IWSDAsyncResult_HasCompleted(IWSDAsyncResult* This) {
  252. return This->lpVtbl->HasCompleted(This);
  253. }
  254. static FORCEINLINE HRESULT IWSDAsyncResult_GetAsyncState(IWSDAsyncResult* This,IUnknown **ppAsyncState) {
  255. return This->lpVtbl->GetAsyncState(This,ppAsyncState);
  256. }
  257. static FORCEINLINE HRESULT IWSDAsyncResult_Abort(IWSDAsyncResult* This) {
  258. return This->lpVtbl->Abort(This);
  259. }
  260. static FORCEINLINE HRESULT IWSDAsyncResult_GetEvent(IWSDAsyncResult* This,WSD_EVENT *pEvent) {
  261. return This->lpVtbl->GetEvent(This,pEvent);
  262. }
  263. static FORCEINLINE HRESULT IWSDAsyncResult_GetEndpointProxy(IWSDAsyncResult* This,IWSDEndpointProxy **ppEndpoint) {
  264. return This->lpVtbl->GetEndpointProxy(This,ppEndpoint);
  265. }
  266. #endif
  267. #endif
  268. #endif
  269. #endif /* __IWSDAsyncResult_INTERFACE_DEFINED__ */
  270. /*****************************************************************************
  271. * IWSDAsyncCallback interface
  272. */
  273. #ifndef __IWSDAsyncCallback_INTERFACE_DEFINED__
  274. #define __IWSDAsyncCallback_INTERFACE_DEFINED__
  275. DEFINE_GUID(IID_IWSDAsyncCallback, 0xa63e109d, 0xce72, 0x49e2, 0xba,0x98, 0xe8,0x45,0xf5,0xee,0x16,0x66);
  276. #if defined(__cplusplus) && !defined(CINTERFACE)
  277. MIDL_INTERFACE("a63e109d-ce72-49e2-ba98-e845f5ee1666")
  278. IWSDAsyncCallback : public IUnknown
  279. {
  280. virtual HRESULT STDMETHODCALLTYPE AsyncOperationComplete(
  281. IWSDAsyncResult *pAsyncResult,
  282. IUnknown *pAsyncState) = 0;
  283. };
  284. #ifdef __CRT_UUID_DECL
  285. __CRT_UUID_DECL(IWSDAsyncCallback, 0xa63e109d, 0xce72, 0x49e2, 0xba,0x98, 0xe8,0x45,0xf5,0xee,0x16,0x66)
  286. #endif
  287. #else
  288. typedef struct IWSDAsyncCallbackVtbl {
  289. BEGIN_INTERFACE
  290. /*** IUnknown methods ***/
  291. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  292. IWSDAsyncCallback *This,
  293. REFIID riid,
  294. void **ppvObject);
  295. ULONG (STDMETHODCALLTYPE *AddRef)(
  296. IWSDAsyncCallback *This);
  297. ULONG (STDMETHODCALLTYPE *Release)(
  298. IWSDAsyncCallback *This);
  299. /*** IWSDAsyncCallback methods ***/
  300. HRESULT (STDMETHODCALLTYPE *AsyncOperationComplete)(
  301. IWSDAsyncCallback *This,
  302. IWSDAsyncResult *pAsyncResult,
  303. IUnknown *pAsyncState);
  304. END_INTERFACE
  305. } IWSDAsyncCallbackVtbl;
  306. interface IWSDAsyncCallback {
  307. CONST_VTBL IWSDAsyncCallbackVtbl* lpVtbl;
  308. };
  309. #ifdef COBJMACROS
  310. #ifndef WIDL_C_INLINE_WRAPPERS
  311. /*** IUnknown methods ***/
  312. #define IWSDAsyncCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  313. #define IWSDAsyncCallback_AddRef(This) (This)->lpVtbl->AddRef(This)
  314. #define IWSDAsyncCallback_Release(This) (This)->lpVtbl->Release(This)
  315. /*** IWSDAsyncCallback methods ***/
  316. #define IWSDAsyncCallback_AsyncOperationComplete(This,pAsyncResult,pAsyncState) (This)->lpVtbl->AsyncOperationComplete(This,pAsyncResult,pAsyncState)
  317. #else
  318. /*** IUnknown methods ***/
  319. static FORCEINLINE HRESULT IWSDAsyncCallback_QueryInterface(IWSDAsyncCallback* This,REFIID riid,void **ppvObject) {
  320. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  321. }
  322. static FORCEINLINE ULONG IWSDAsyncCallback_AddRef(IWSDAsyncCallback* This) {
  323. return This->lpVtbl->AddRef(This);
  324. }
  325. static FORCEINLINE ULONG IWSDAsyncCallback_Release(IWSDAsyncCallback* This) {
  326. return This->lpVtbl->Release(This);
  327. }
  328. /*** IWSDAsyncCallback methods ***/
  329. static FORCEINLINE HRESULT IWSDAsyncCallback_AsyncOperationComplete(IWSDAsyncCallback* This,IWSDAsyncResult *pAsyncResult,IUnknown *pAsyncState) {
  330. return This->lpVtbl->AsyncOperationComplete(This,pAsyncResult,pAsyncState);
  331. }
  332. #endif
  333. #endif
  334. #endif
  335. #endif /* __IWSDAsyncCallback_INTERFACE_DEFINED__ */
  336. /*****************************************************************************
  337. * IWSDMetadataExchange interface
  338. */
  339. #ifndef __IWSDMetadataExchange_INTERFACE_DEFINED__
  340. #define __IWSDMetadataExchange_INTERFACE_DEFINED__
  341. DEFINE_GUID(IID_IWSDMetadataExchange, 0x06996d57, 0x1d67, 0x4928, 0x93,0x07, 0x3d,0x78,0x33,0xfd,0xb8,0x46);
  342. #if defined(__cplusplus) && !defined(CINTERFACE)
  343. MIDL_INTERFACE("06996d57-1d67-4928-9307-3d7833fdb846")
  344. IWSDMetadataExchange : public IUnknown
  345. {
  346. virtual HRESULT STDMETHODCALLTYPE GetMetadata(
  347. WSD_METADATA_SECTION_LIST **MetadataOut) = 0;
  348. };
  349. #ifdef __CRT_UUID_DECL
  350. __CRT_UUID_DECL(IWSDMetadataExchange, 0x06996d57, 0x1d67, 0x4928, 0x93,0x07, 0x3d,0x78,0x33,0xfd,0xb8,0x46)
  351. #endif
  352. #else
  353. typedef struct IWSDMetadataExchangeVtbl {
  354. BEGIN_INTERFACE
  355. /*** IUnknown methods ***/
  356. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  357. IWSDMetadataExchange *This,
  358. REFIID riid,
  359. void **ppvObject);
  360. ULONG (STDMETHODCALLTYPE *AddRef)(
  361. IWSDMetadataExchange *This);
  362. ULONG (STDMETHODCALLTYPE *Release)(
  363. IWSDMetadataExchange *This);
  364. /*** IWSDMetadataExchange methods ***/
  365. HRESULT (STDMETHODCALLTYPE *GetMetadata)(
  366. IWSDMetadataExchange *This,
  367. WSD_METADATA_SECTION_LIST **MetadataOut);
  368. END_INTERFACE
  369. } IWSDMetadataExchangeVtbl;
  370. interface IWSDMetadataExchange {
  371. CONST_VTBL IWSDMetadataExchangeVtbl* lpVtbl;
  372. };
  373. #ifdef COBJMACROS
  374. #ifndef WIDL_C_INLINE_WRAPPERS
  375. /*** IUnknown methods ***/
  376. #define IWSDMetadataExchange_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  377. #define IWSDMetadataExchange_AddRef(This) (This)->lpVtbl->AddRef(This)
  378. #define IWSDMetadataExchange_Release(This) (This)->lpVtbl->Release(This)
  379. /*** IWSDMetadataExchange methods ***/
  380. #define IWSDMetadataExchange_GetMetadata(This,MetadataOut) (This)->lpVtbl->GetMetadata(This,MetadataOut)
  381. #else
  382. /*** IUnknown methods ***/
  383. static FORCEINLINE HRESULT IWSDMetadataExchange_QueryInterface(IWSDMetadataExchange* This,REFIID riid,void **ppvObject) {
  384. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  385. }
  386. static FORCEINLINE ULONG IWSDMetadataExchange_AddRef(IWSDMetadataExchange* This) {
  387. return This->lpVtbl->AddRef(This);
  388. }
  389. static FORCEINLINE ULONG IWSDMetadataExchange_Release(IWSDMetadataExchange* This) {
  390. return This->lpVtbl->Release(This);
  391. }
  392. /*** IWSDMetadataExchange methods ***/
  393. static FORCEINLINE HRESULT IWSDMetadataExchange_GetMetadata(IWSDMetadataExchange* This,WSD_METADATA_SECTION_LIST **MetadataOut) {
  394. return This->lpVtbl->GetMetadata(This,MetadataOut);
  395. }
  396. #endif
  397. #endif
  398. #endif
  399. #endif /* __IWSDMetadataExchange_INTERFACE_DEFINED__ */
  400. /*****************************************************************************
  401. * IWSDEventingStatus interface
  402. */
  403. #ifndef __IWSDEventingStatus_INTERFACE_DEFINED__
  404. #define __IWSDEventingStatus_INTERFACE_DEFINED__
  405. DEFINE_GUID(IID_IWSDEventingStatus, 0x49b17f52, 0x637a, 0x407a, 0xae,0x99, 0xfb,0xe8,0x2a,0x4d,0x38,0xc0);
  406. #if defined(__cplusplus) && !defined(CINTERFACE)
  407. MIDL_INTERFACE("49b17f52-637a-407a-ae99-fbe82a4d38c0")
  408. IWSDEventingStatus : public IUnknown
  409. {
  410. virtual void STDMETHODCALLTYPE SubscriptionRenewed(
  411. LPCWSTR pszSubscriptionAction) = 0;
  412. virtual void STDMETHODCALLTYPE SubscriptionRenewalFailed(
  413. LPCWSTR pszSubscriptionAction,
  414. HRESULT hr) = 0;
  415. virtual void STDMETHODCALLTYPE SubscriptionEnded(
  416. LPCWSTR pszSubscriptionAction) = 0;
  417. };
  418. #ifdef __CRT_UUID_DECL
  419. __CRT_UUID_DECL(IWSDEventingStatus, 0x49b17f52, 0x637a, 0x407a, 0xae,0x99, 0xfb,0xe8,0x2a,0x4d,0x38,0xc0)
  420. #endif
  421. #else
  422. typedef struct IWSDEventingStatusVtbl {
  423. BEGIN_INTERFACE
  424. /*** IUnknown methods ***/
  425. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  426. IWSDEventingStatus *This,
  427. REFIID riid,
  428. void **ppvObject);
  429. ULONG (STDMETHODCALLTYPE *AddRef)(
  430. IWSDEventingStatus *This);
  431. ULONG (STDMETHODCALLTYPE *Release)(
  432. IWSDEventingStatus *This);
  433. /*** IWSDEventingStatus methods ***/
  434. void (STDMETHODCALLTYPE *SubscriptionRenewed)(
  435. IWSDEventingStatus *This,
  436. LPCWSTR pszSubscriptionAction);
  437. void (STDMETHODCALLTYPE *SubscriptionRenewalFailed)(
  438. IWSDEventingStatus *This,
  439. LPCWSTR pszSubscriptionAction,
  440. HRESULT hr);
  441. void (STDMETHODCALLTYPE *SubscriptionEnded)(
  442. IWSDEventingStatus *This,
  443. LPCWSTR pszSubscriptionAction);
  444. END_INTERFACE
  445. } IWSDEventingStatusVtbl;
  446. interface IWSDEventingStatus {
  447. CONST_VTBL IWSDEventingStatusVtbl* lpVtbl;
  448. };
  449. #ifdef COBJMACROS
  450. #ifndef WIDL_C_INLINE_WRAPPERS
  451. /*** IUnknown methods ***/
  452. #define IWSDEventingStatus_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  453. #define IWSDEventingStatus_AddRef(This) (This)->lpVtbl->AddRef(This)
  454. #define IWSDEventingStatus_Release(This) (This)->lpVtbl->Release(This)
  455. /*** IWSDEventingStatus methods ***/
  456. #define IWSDEventingStatus_SubscriptionRenewed(This,pszSubscriptionAction) (This)->lpVtbl->SubscriptionRenewed(This,pszSubscriptionAction)
  457. #define IWSDEventingStatus_SubscriptionRenewalFailed(This,pszSubscriptionAction,hr) (This)->lpVtbl->SubscriptionRenewalFailed(This,pszSubscriptionAction,hr)
  458. #define IWSDEventingStatus_SubscriptionEnded(This,pszSubscriptionAction) (This)->lpVtbl->SubscriptionEnded(This,pszSubscriptionAction)
  459. #else
  460. /*** IUnknown methods ***/
  461. static FORCEINLINE HRESULT IWSDEventingStatus_QueryInterface(IWSDEventingStatus* This,REFIID riid,void **ppvObject) {
  462. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  463. }
  464. static FORCEINLINE ULONG IWSDEventingStatus_AddRef(IWSDEventingStatus* This) {
  465. return This->lpVtbl->AddRef(This);
  466. }
  467. static FORCEINLINE ULONG IWSDEventingStatus_Release(IWSDEventingStatus* This) {
  468. return This->lpVtbl->Release(This);
  469. }
  470. /*** IWSDEventingStatus methods ***/
  471. static FORCEINLINE void IWSDEventingStatus_SubscriptionRenewed(IWSDEventingStatus* This,LPCWSTR pszSubscriptionAction) {
  472. This->lpVtbl->SubscriptionRenewed(This,pszSubscriptionAction);
  473. }
  474. static FORCEINLINE void IWSDEventingStatus_SubscriptionRenewalFailed(IWSDEventingStatus* This,LPCWSTR pszSubscriptionAction,HRESULT hr) {
  475. This->lpVtbl->SubscriptionRenewalFailed(This,pszSubscriptionAction,hr);
  476. }
  477. static FORCEINLINE void IWSDEventingStatus_SubscriptionEnded(IWSDEventingStatus* This,LPCWSTR pszSubscriptionAction) {
  478. This->lpVtbl->SubscriptionEnded(This,pszSubscriptionAction);
  479. }
  480. #endif
  481. #endif
  482. #endif
  483. #endif /* __IWSDEventingStatus_INTERFACE_DEFINED__ */
  484. /*****************************************************************************
  485. * IWSDEndpointProxy interface
  486. */
  487. #ifndef __IWSDEndpointProxy_INTERFACE_DEFINED__
  488. #define __IWSDEndpointProxy_INTERFACE_DEFINED__
  489. DEFINE_GUID(IID_IWSDEndpointProxy, 0x1860d430, 0xb24c, 0x4975, 0x9f,0x90, 0xdb,0xb3,0x9b,0xaa,0x24,0xec);
  490. #if defined(__cplusplus) && !defined(CINTERFACE)
  491. MIDL_INTERFACE("1860d430-b24c-4975-9f90-dbb39baa24ec")
  492. IWSDEndpointProxy : public IUnknown
  493. {
  494. virtual HRESULT STDMETHODCALLTYPE SendOneWayRequest(
  495. const void *pBody,
  496. const WSD_OPERATION *pOperation) = 0;
  497. virtual HRESULT STDMETHODCALLTYPE SendTwoWayRequest(
  498. const void *pBody,
  499. const WSD_OPERATION *pOperation,
  500. const WSD_SYNCHRONOUS_RESPONSE_CONTEXT *pResponseContext) = 0;
  501. virtual HRESULT STDMETHODCALLTYPE SendTwoWayRequestAsync(
  502. const void *pBody,
  503. const WSD_OPERATION *pOperation,
  504. IUnknown *pAsyncState,
  505. IWSDAsyncCallback *pCallback,
  506. IWSDAsyncResult **pResult) = 0;
  507. virtual HRESULT STDMETHODCALLTYPE AbortAsyncOperation(
  508. IWSDAsyncResult *pAsyncResult) = 0;
  509. virtual HRESULT STDMETHODCALLTYPE ProcessFault(
  510. const WSD_SOAP_FAULT *pFault) = 0;
  511. virtual HRESULT STDMETHODCALLTYPE GetErrorInfo(
  512. LPCWSTR *ppszErrorInfo) = 0;
  513. virtual HRESULT STDMETHODCALLTYPE GetFaultInfo(
  514. WSD_SOAP_FAULT **ppFault) = 0;
  515. };
  516. #ifdef __CRT_UUID_DECL
  517. __CRT_UUID_DECL(IWSDEndpointProxy, 0x1860d430, 0xb24c, 0x4975, 0x9f,0x90, 0xdb,0xb3,0x9b,0xaa,0x24,0xec)
  518. #endif
  519. #else
  520. typedef struct IWSDEndpointProxyVtbl {
  521. BEGIN_INTERFACE
  522. /*** IUnknown methods ***/
  523. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  524. IWSDEndpointProxy *This,
  525. REFIID riid,
  526. void **ppvObject);
  527. ULONG (STDMETHODCALLTYPE *AddRef)(
  528. IWSDEndpointProxy *This);
  529. ULONG (STDMETHODCALLTYPE *Release)(
  530. IWSDEndpointProxy *This);
  531. /*** IWSDEndpointProxy methods ***/
  532. HRESULT (STDMETHODCALLTYPE *SendOneWayRequest)(
  533. IWSDEndpointProxy *This,
  534. const void *pBody,
  535. const WSD_OPERATION *pOperation);
  536. HRESULT (STDMETHODCALLTYPE *SendTwoWayRequest)(
  537. IWSDEndpointProxy *This,
  538. const void *pBody,
  539. const WSD_OPERATION *pOperation,
  540. const WSD_SYNCHRONOUS_RESPONSE_CONTEXT *pResponseContext);
  541. HRESULT (STDMETHODCALLTYPE *SendTwoWayRequestAsync)(
  542. IWSDEndpointProxy *This,
  543. const void *pBody,
  544. const WSD_OPERATION *pOperation,
  545. IUnknown *pAsyncState,
  546. IWSDAsyncCallback *pCallback,
  547. IWSDAsyncResult **pResult);
  548. HRESULT (STDMETHODCALLTYPE *AbortAsyncOperation)(
  549. IWSDEndpointProxy *This,
  550. IWSDAsyncResult *pAsyncResult);
  551. HRESULT (STDMETHODCALLTYPE *ProcessFault)(
  552. IWSDEndpointProxy *This,
  553. const WSD_SOAP_FAULT *pFault);
  554. HRESULT (STDMETHODCALLTYPE *GetErrorInfo)(
  555. IWSDEndpointProxy *This,
  556. LPCWSTR *ppszErrorInfo);
  557. HRESULT (STDMETHODCALLTYPE *GetFaultInfo)(
  558. IWSDEndpointProxy *This,
  559. WSD_SOAP_FAULT **ppFault);
  560. END_INTERFACE
  561. } IWSDEndpointProxyVtbl;
  562. interface IWSDEndpointProxy {
  563. CONST_VTBL IWSDEndpointProxyVtbl* lpVtbl;
  564. };
  565. #ifdef COBJMACROS
  566. #ifndef WIDL_C_INLINE_WRAPPERS
  567. /*** IUnknown methods ***/
  568. #define IWSDEndpointProxy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  569. #define IWSDEndpointProxy_AddRef(This) (This)->lpVtbl->AddRef(This)
  570. #define IWSDEndpointProxy_Release(This) (This)->lpVtbl->Release(This)
  571. /*** IWSDEndpointProxy methods ***/
  572. #define IWSDEndpointProxy_SendOneWayRequest(This,pBody,pOperation) (This)->lpVtbl->SendOneWayRequest(This,pBody,pOperation)
  573. #define IWSDEndpointProxy_SendTwoWayRequest(This,pBody,pOperation,pResponseContext) (This)->lpVtbl->SendTwoWayRequest(This,pBody,pOperation,pResponseContext)
  574. #define IWSDEndpointProxy_SendTwoWayRequestAsync(This,pBody,pOperation,pAsyncState,pCallback,pResult) (This)->lpVtbl->SendTwoWayRequestAsync(This,pBody,pOperation,pAsyncState,pCallback,pResult)
  575. #define IWSDEndpointProxy_AbortAsyncOperation(This,pAsyncResult) (This)->lpVtbl->AbortAsyncOperation(This,pAsyncResult)
  576. #define IWSDEndpointProxy_ProcessFault(This,pFault) (This)->lpVtbl->ProcessFault(This,pFault)
  577. #define IWSDEndpointProxy_GetErrorInfo(This,ppszErrorInfo) (This)->lpVtbl->GetErrorInfo(This,ppszErrorInfo)
  578. #define IWSDEndpointProxy_GetFaultInfo(This,ppFault) (This)->lpVtbl->GetFaultInfo(This,ppFault)
  579. #else
  580. /*** IUnknown methods ***/
  581. static FORCEINLINE HRESULT IWSDEndpointProxy_QueryInterface(IWSDEndpointProxy* This,REFIID riid,void **ppvObject) {
  582. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  583. }
  584. static FORCEINLINE ULONG IWSDEndpointProxy_AddRef(IWSDEndpointProxy* This) {
  585. return This->lpVtbl->AddRef(This);
  586. }
  587. static FORCEINLINE ULONG IWSDEndpointProxy_Release(IWSDEndpointProxy* This) {
  588. return This->lpVtbl->Release(This);
  589. }
  590. /*** IWSDEndpointProxy methods ***/
  591. static FORCEINLINE HRESULT IWSDEndpointProxy_SendOneWayRequest(IWSDEndpointProxy* This,const void *pBody,const WSD_OPERATION *pOperation) {
  592. return This->lpVtbl->SendOneWayRequest(This,pBody,pOperation);
  593. }
  594. static FORCEINLINE HRESULT IWSDEndpointProxy_SendTwoWayRequest(IWSDEndpointProxy* This,const void *pBody,const WSD_OPERATION *pOperation,const WSD_SYNCHRONOUS_RESPONSE_CONTEXT *pResponseContext) {
  595. return This->lpVtbl->SendTwoWayRequest(This,pBody,pOperation,pResponseContext);
  596. }
  597. static FORCEINLINE HRESULT IWSDEndpointProxy_SendTwoWayRequestAsync(IWSDEndpointProxy* This,const void *pBody,const WSD_OPERATION *pOperation,IUnknown *pAsyncState,IWSDAsyncCallback *pCallback,IWSDAsyncResult **pResult) {
  598. return This->lpVtbl->SendTwoWayRequestAsync(This,pBody,pOperation,pAsyncState,pCallback,pResult);
  599. }
  600. static FORCEINLINE HRESULT IWSDEndpointProxy_AbortAsyncOperation(IWSDEndpointProxy* This,IWSDAsyncResult *pAsyncResult) {
  601. return This->lpVtbl->AbortAsyncOperation(This,pAsyncResult);
  602. }
  603. static FORCEINLINE HRESULT IWSDEndpointProxy_ProcessFault(IWSDEndpointProxy* This,const WSD_SOAP_FAULT *pFault) {
  604. return This->lpVtbl->ProcessFault(This,pFault);
  605. }
  606. static FORCEINLINE HRESULT IWSDEndpointProxy_GetErrorInfo(IWSDEndpointProxy* This,LPCWSTR *ppszErrorInfo) {
  607. return This->lpVtbl->GetErrorInfo(This,ppszErrorInfo);
  608. }
  609. static FORCEINLINE HRESULT IWSDEndpointProxy_GetFaultInfo(IWSDEndpointProxy* This,WSD_SOAP_FAULT **ppFault) {
  610. return This->lpVtbl->GetFaultInfo(This,ppFault);
  611. }
  612. #endif
  613. #endif
  614. #endif
  615. #endif /* __IWSDEndpointProxy_INTERFACE_DEFINED__ */
  616. /*****************************************************************************
  617. * IWSDDeviceProxy interface
  618. */
  619. #ifndef __IWSDDeviceProxy_INTERFACE_DEFINED__
  620. #define __IWSDDeviceProxy_INTERFACE_DEFINED__
  621. DEFINE_GUID(IID_IWSDDeviceProxy, 0xeee0c031, 0xc578, 0x4c0e, 0x9a,0x3b, 0x97,0x3c,0x35,0xf4,0x09,0xdb);
  622. #if defined(__cplusplus) && !defined(CINTERFACE)
  623. MIDL_INTERFACE("eee0c031-c578-4c0e-9a3b-973c35f409db")
  624. IWSDDeviceProxy : public IUnknown
  625. {
  626. virtual HRESULT STDMETHODCALLTYPE Init(
  627. LPCWSTR pszDeviceId,
  628. IWSDAddress *pDeviceAddress,
  629. LPCWSTR pszLocalId,
  630. IWSDXMLContext *pContext,
  631. IWSDDeviceProxy *pSponsor) = 0;
  632. virtual HRESULT STDMETHODCALLTYPE BeginGetMetadata(
  633. IWSDAsyncResult **ppResult) = 0;
  634. virtual HRESULT STDMETHODCALLTYPE EndGetMetadata(
  635. IWSDAsyncResult *pResult) = 0;
  636. virtual HRESULT STDMETHODCALLTYPE GetHostMetadata(
  637. WSD_HOST_METADATA **ppHostMetadata) = 0;
  638. virtual HRESULT STDMETHODCALLTYPE GetThisModelMetadata(
  639. WSD_THIS_MODEL_METADATA **ppManufacturerMetadata) = 0;
  640. virtual HRESULT STDMETHODCALLTYPE GetThisDeviceMetadata(
  641. WSD_THIS_DEVICE_METADATA **ppThisDeviceMetadata) = 0;
  642. virtual HRESULT STDMETHODCALLTYPE GetAllMetadata(
  643. WSD_METADATA_SECTION_LIST **ppMetadata) = 0;
  644. virtual HRESULT STDMETHODCALLTYPE GetServiceProxyById(
  645. LPCWSTR pszServiceId,
  646. IWSDServiceProxy **ppServiceProxy) = 0;
  647. virtual HRESULT STDMETHODCALLTYPE GetServiceProxyByType(
  648. const WSDXML_NAME *pType,
  649. IWSDServiceProxy **ppServiceProxy) = 0;
  650. virtual HRESULT STDMETHODCALLTYPE GetEndpointProxy(
  651. IWSDEndpointProxy **ppProxy) = 0;
  652. };
  653. #ifdef __CRT_UUID_DECL
  654. __CRT_UUID_DECL(IWSDDeviceProxy, 0xeee0c031, 0xc578, 0x4c0e, 0x9a,0x3b, 0x97,0x3c,0x35,0xf4,0x09,0xdb)
  655. #endif
  656. #else
  657. typedef struct IWSDDeviceProxyVtbl {
  658. BEGIN_INTERFACE
  659. /*** IUnknown methods ***/
  660. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  661. IWSDDeviceProxy *This,
  662. REFIID riid,
  663. void **ppvObject);
  664. ULONG (STDMETHODCALLTYPE *AddRef)(
  665. IWSDDeviceProxy *This);
  666. ULONG (STDMETHODCALLTYPE *Release)(
  667. IWSDDeviceProxy *This);
  668. /*** IWSDDeviceProxy methods ***/
  669. HRESULT (STDMETHODCALLTYPE *Init)(
  670. IWSDDeviceProxy *This,
  671. LPCWSTR pszDeviceId,
  672. IWSDAddress *pDeviceAddress,
  673. LPCWSTR pszLocalId,
  674. IWSDXMLContext *pContext,
  675. IWSDDeviceProxy *pSponsor);
  676. HRESULT (STDMETHODCALLTYPE *BeginGetMetadata)(
  677. IWSDDeviceProxy *This,
  678. IWSDAsyncResult **ppResult);
  679. HRESULT (STDMETHODCALLTYPE *EndGetMetadata)(
  680. IWSDDeviceProxy *This,
  681. IWSDAsyncResult *pResult);
  682. HRESULT (STDMETHODCALLTYPE *GetHostMetadata)(
  683. IWSDDeviceProxy *This,
  684. WSD_HOST_METADATA **ppHostMetadata);
  685. HRESULT (STDMETHODCALLTYPE *GetThisModelMetadata)(
  686. IWSDDeviceProxy *This,
  687. WSD_THIS_MODEL_METADATA **ppManufacturerMetadata);
  688. HRESULT (STDMETHODCALLTYPE *GetThisDeviceMetadata)(
  689. IWSDDeviceProxy *This,
  690. WSD_THIS_DEVICE_METADATA **ppThisDeviceMetadata);
  691. HRESULT (STDMETHODCALLTYPE *GetAllMetadata)(
  692. IWSDDeviceProxy *This,
  693. WSD_METADATA_SECTION_LIST **ppMetadata);
  694. HRESULT (STDMETHODCALLTYPE *GetServiceProxyById)(
  695. IWSDDeviceProxy *This,
  696. LPCWSTR pszServiceId,
  697. IWSDServiceProxy **ppServiceProxy);
  698. HRESULT (STDMETHODCALLTYPE *GetServiceProxyByType)(
  699. IWSDDeviceProxy *This,
  700. const WSDXML_NAME *pType,
  701. IWSDServiceProxy **ppServiceProxy);
  702. HRESULT (STDMETHODCALLTYPE *GetEndpointProxy)(
  703. IWSDDeviceProxy *This,
  704. IWSDEndpointProxy **ppProxy);
  705. END_INTERFACE
  706. } IWSDDeviceProxyVtbl;
  707. interface IWSDDeviceProxy {
  708. CONST_VTBL IWSDDeviceProxyVtbl* lpVtbl;
  709. };
  710. #ifdef COBJMACROS
  711. #ifndef WIDL_C_INLINE_WRAPPERS
  712. /*** IUnknown methods ***/
  713. #define IWSDDeviceProxy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  714. #define IWSDDeviceProxy_AddRef(This) (This)->lpVtbl->AddRef(This)
  715. #define IWSDDeviceProxy_Release(This) (This)->lpVtbl->Release(This)
  716. /*** IWSDDeviceProxy methods ***/
  717. #define IWSDDeviceProxy_Init(This,pszDeviceId,pDeviceAddress,pszLocalId,pContext,pSponsor) (This)->lpVtbl->Init(This,pszDeviceId,pDeviceAddress,pszLocalId,pContext,pSponsor)
  718. #define IWSDDeviceProxy_BeginGetMetadata(This,ppResult) (This)->lpVtbl->BeginGetMetadata(This,ppResult)
  719. #define IWSDDeviceProxy_EndGetMetadata(This,pResult) (This)->lpVtbl->EndGetMetadata(This,pResult)
  720. #define IWSDDeviceProxy_GetHostMetadata(This,ppHostMetadata) (This)->lpVtbl->GetHostMetadata(This,ppHostMetadata)
  721. #define IWSDDeviceProxy_GetThisModelMetadata(This,ppManufacturerMetadata) (This)->lpVtbl->GetThisModelMetadata(This,ppManufacturerMetadata)
  722. #define IWSDDeviceProxy_GetThisDeviceMetadata(This,ppThisDeviceMetadata) (This)->lpVtbl->GetThisDeviceMetadata(This,ppThisDeviceMetadata)
  723. #define IWSDDeviceProxy_GetAllMetadata(This,ppMetadata) (This)->lpVtbl->GetAllMetadata(This,ppMetadata)
  724. #define IWSDDeviceProxy_GetServiceProxyById(This,pszServiceId,ppServiceProxy) (This)->lpVtbl->GetServiceProxyById(This,pszServiceId,ppServiceProxy)
  725. #define IWSDDeviceProxy_GetServiceProxyByType(This,pType,ppServiceProxy) (This)->lpVtbl->GetServiceProxyByType(This,pType,ppServiceProxy)
  726. #define IWSDDeviceProxy_GetEndpointProxy(This,ppProxy) (This)->lpVtbl->GetEndpointProxy(This,ppProxy)
  727. #else
  728. /*** IUnknown methods ***/
  729. static FORCEINLINE HRESULT IWSDDeviceProxy_QueryInterface(IWSDDeviceProxy* This,REFIID riid,void **ppvObject) {
  730. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  731. }
  732. static FORCEINLINE ULONG IWSDDeviceProxy_AddRef(IWSDDeviceProxy* This) {
  733. return This->lpVtbl->AddRef(This);
  734. }
  735. static FORCEINLINE ULONG IWSDDeviceProxy_Release(IWSDDeviceProxy* This) {
  736. return This->lpVtbl->Release(This);
  737. }
  738. /*** IWSDDeviceProxy methods ***/
  739. static FORCEINLINE HRESULT IWSDDeviceProxy_Init(IWSDDeviceProxy* This,LPCWSTR pszDeviceId,IWSDAddress *pDeviceAddress,LPCWSTR pszLocalId,IWSDXMLContext *pContext,IWSDDeviceProxy *pSponsor) {
  740. return This->lpVtbl->Init(This,pszDeviceId,pDeviceAddress,pszLocalId,pContext,pSponsor);
  741. }
  742. static FORCEINLINE HRESULT IWSDDeviceProxy_BeginGetMetadata(IWSDDeviceProxy* This,IWSDAsyncResult **ppResult) {
  743. return This->lpVtbl->BeginGetMetadata(This,ppResult);
  744. }
  745. static FORCEINLINE HRESULT IWSDDeviceProxy_EndGetMetadata(IWSDDeviceProxy* This,IWSDAsyncResult *pResult) {
  746. return This->lpVtbl->EndGetMetadata(This,pResult);
  747. }
  748. static FORCEINLINE HRESULT IWSDDeviceProxy_GetHostMetadata(IWSDDeviceProxy* This,WSD_HOST_METADATA **ppHostMetadata) {
  749. return This->lpVtbl->GetHostMetadata(This,ppHostMetadata);
  750. }
  751. static FORCEINLINE HRESULT IWSDDeviceProxy_GetThisModelMetadata(IWSDDeviceProxy* This,WSD_THIS_MODEL_METADATA **ppManufacturerMetadata) {
  752. return This->lpVtbl->GetThisModelMetadata(This,ppManufacturerMetadata);
  753. }
  754. static FORCEINLINE HRESULT IWSDDeviceProxy_GetThisDeviceMetadata(IWSDDeviceProxy* This,WSD_THIS_DEVICE_METADATA **ppThisDeviceMetadata) {
  755. return This->lpVtbl->GetThisDeviceMetadata(This,ppThisDeviceMetadata);
  756. }
  757. static FORCEINLINE HRESULT IWSDDeviceProxy_GetAllMetadata(IWSDDeviceProxy* This,WSD_METADATA_SECTION_LIST **ppMetadata) {
  758. return This->lpVtbl->GetAllMetadata(This,ppMetadata);
  759. }
  760. static FORCEINLINE HRESULT IWSDDeviceProxy_GetServiceProxyById(IWSDDeviceProxy* This,LPCWSTR pszServiceId,IWSDServiceProxy **ppServiceProxy) {
  761. return This->lpVtbl->GetServiceProxyById(This,pszServiceId,ppServiceProxy);
  762. }
  763. static FORCEINLINE HRESULT IWSDDeviceProxy_GetServiceProxyByType(IWSDDeviceProxy* This,const WSDXML_NAME *pType,IWSDServiceProxy **ppServiceProxy) {
  764. return This->lpVtbl->GetServiceProxyByType(This,pType,ppServiceProxy);
  765. }
  766. static FORCEINLINE HRESULT IWSDDeviceProxy_GetEndpointProxy(IWSDDeviceProxy* This,IWSDEndpointProxy **ppProxy) {
  767. return This->lpVtbl->GetEndpointProxy(This,ppProxy);
  768. }
  769. #endif
  770. #endif
  771. #endif
  772. #endif /* __IWSDDeviceProxy_INTERFACE_DEFINED__ */
  773. /*****************************************************************************
  774. * IWSDServiceProxy interface
  775. */
  776. #ifndef __IWSDServiceProxy_INTERFACE_DEFINED__
  777. #define __IWSDServiceProxy_INTERFACE_DEFINED__
  778. DEFINE_GUID(IID_IWSDServiceProxy, 0xd4c7fb9c, 0x03ab, 0x4175, 0x9d,0x67, 0x09,0x4f,0xaf,0xeb,0xf4,0x87);
  779. #if defined(__cplusplus) && !defined(CINTERFACE)
  780. MIDL_INTERFACE("d4c7fb9c-03ab-4175-9d67-094fafebf487")
  781. IWSDServiceProxy : public IWSDMetadataExchange
  782. {
  783. virtual HRESULT STDMETHODCALLTYPE BeginGetMetadata(
  784. IWSDAsyncResult **ppResult) = 0;
  785. virtual HRESULT STDMETHODCALLTYPE EndGetMetadata(
  786. IWSDAsyncResult *pResult,
  787. WSD_METADATA_SECTION_LIST **ppMetadata) = 0;
  788. virtual HRESULT STDMETHODCALLTYPE GetServiceMetadata(
  789. WSD_SERVICE_METADATA **ppServiceMetadata) = 0;
  790. virtual HRESULT STDMETHODCALLTYPE SubscribeToOperation(
  791. const WSD_OPERATION *pOperation,
  792. IUnknown *pUnknown,
  793. const WSDXML_ELEMENT *pAny,
  794. WSDXML_ELEMENT **ppAny) = 0;
  795. virtual HRESULT STDMETHODCALLTYPE UnsubscribeToOperation(
  796. const WSD_OPERATION *pOperation) = 0;
  797. virtual HRESULT STDMETHODCALLTYPE SetEventingStatusCallback(
  798. IWSDEventingStatus *pStatus) = 0;
  799. virtual HRESULT STDMETHODCALLTYPE GetEndpointProxy(
  800. IWSDEndpointProxy **ppProxy) = 0;
  801. };
  802. #ifdef __CRT_UUID_DECL
  803. __CRT_UUID_DECL(IWSDServiceProxy, 0xd4c7fb9c, 0x03ab, 0x4175, 0x9d,0x67, 0x09,0x4f,0xaf,0xeb,0xf4,0x87)
  804. #endif
  805. #else
  806. typedef struct IWSDServiceProxyVtbl {
  807. BEGIN_INTERFACE
  808. /*** IUnknown methods ***/
  809. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  810. IWSDServiceProxy *This,
  811. REFIID riid,
  812. void **ppvObject);
  813. ULONG (STDMETHODCALLTYPE *AddRef)(
  814. IWSDServiceProxy *This);
  815. ULONG (STDMETHODCALLTYPE *Release)(
  816. IWSDServiceProxy *This);
  817. /*** IWSDMetadataExchange methods ***/
  818. HRESULT (STDMETHODCALLTYPE *GetMetadata)(
  819. IWSDServiceProxy *This,
  820. WSD_METADATA_SECTION_LIST **MetadataOut);
  821. /*** IWSDServiceProxy methods ***/
  822. HRESULT (STDMETHODCALLTYPE *BeginGetMetadata)(
  823. IWSDServiceProxy *This,
  824. IWSDAsyncResult **ppResult);
  825. HRESULT (STDMETHODCALLTYPE *EndGetMetadata)(
  826. IWSDServiceProxy *This,
  827. IWSDAsyncResult *pResult,
  828. WSD_METADATA_SECTION_LIST **ppMetadata);
  829. HRESULT (STDMETHODCALLTYPE *GetServiceMetadata)(
  830. IWSDServiceProxy *This,
  831. WSD_SERVICE_METADATA **ppServiceMetadata);
  832. HRESULT (STDMETHODCALLTYPE *SubscribeToOperation)(
  833. IWSDServiceProxy *This,
  834. const WSD_OPERATION *pOperation,
  835. IUnknown *pUnknown,
  836. const WSDXML_ELEMENT *pAny,
  837. WSDXML_ELEMENT **ppAny);
  838. HRESULT (STDMETHODCALLTYPE *UnsubscribeToOperation)(
  839. IWSDServiceProxy *This,
  840. const WSD_OPERATION *pOperation);
  841. HRESULT (STDMETHODCALLTYPE *SetEventingStatusCallback)(
  842. IWSDServiceProxy *This,
  843. IWSDEventingStatus *pStatus);
  844. HRESULT (STDMETHODCALLTYPE *GetEndpointProxy)(
  845. IWSDServiceProxy *This,
  846. IWSDEndpointProxy **ppProxy);
  847. END_INTERFACE
  848. } IWSDServiceProxyVtbl;
  849. interface IWSDServiceProxy {
  850. CONST_VTBL IWSDServiceProxyVtbl* lpVtbl;
  851. };
  852. #ifdef COBJMACROS
  853. #ifndef WIDL_C_INLINE_WRAPPERS
  854. /*** IUnknown methods ***/
  855. #define IWSDServiceProxy_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  856. #define IWSDServiceProxy_AddRef(This) (This)->lpVtbl->AddRef(This)
  857. #define IWSDServiceProxy_Release(This) (This)->lpVtbl->Release(This)
  858. /*** IWSDMetadataExchange methods ***/
  859. #define IWSDServiceProxy_GetMetadata(This,MetadataOut) (This)->lpVtbl->GetMetadata(This,MetadataOut)
  860. /*** IWSDServiceProxy methods ***/
  861. #define IWSDServiceProxy_BeginGetMetadata(This,ppResult) (This)->lpVtbl->BeginGetMetadata(This,ppResult)
  862. #define IWSDServiceProxy_EndGetMetadata(This,pResult,ppMetadata) (This)->lpVtbl->EndGetMetadata(This,pResult,ppMetadata)
  863. #define IWSDServiceProxy_GetServiceMetadata(This,ppServiceMetadata) (This)->lpVtbl->GetServiceMetadata(This,ppServiceMetadata)
  864. #define IWSDServiceProxy_SubscribeToOperation(This,pOperation,pUnknown,pAny,ppAny) (This)->lpVtbl->SubscribeToOperation(This,pOperation,pUnknown,pAny,ppAny)
  865. #define IWSDServiceProxy_UnsubscribeToOperation(This,pOperation) (This)->lpVtbl->UnsubscribeToOperation(This,pOperation)
  866. #define IWSDServiceProxy_SetEventingStatusCallback(This,pStatus) (This)->lpVtbl->SetEventingStatusCallback(This,pStatus)
  867. #define IWSDServiceProxy_GetEndpointProxy(This,ppProxy) (This)->lpVtbl->GetEndpointProxy(This,ppProxy)
  868. #else
  869. /*** IUnknown methods ***/
  870. static FORCEINLINE HRESULT IWSDServiceProxy_QueryInterface(IWSDServiceProxy* This,REFIID riid,void **ppvObject) {
  871. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  872. }
  873. static FORCEINLINE ULONG IWSDServiceProxy_AddRef(IWSDServiceProxy* This) {
  874. return This->lpVtbl->AddRef(This);
  875. }
  876. static FORCEINLINE ULONG IWSDServiceProxy_Release(IWSDServiceProxy* This) {
  877. return This->lpVtbl->Release(This);
  878. }
  879. /*** IWSDMetadataExchange methods ***/
  880. static FORCEINLINE HRESULT IWSDServiceProxy_GetMetadata(IWSDServiceProxy* This,WSD_METADATA_SECTION_LIST **MetadataOut) {
  881. return This->lpVtbl->GetMetadata(This,MetadataOut);
  882. }
  883. /*** IWSDServiceProxy methods ***/
  884. static FORCEINLINE HRESULT IWSDServiceProxy_BeginGetMetadata(IWSDServiceProxy* This,IWSDAsyncResult **ppResult) {
  885. return This->lpVtbl->BeginGetMetadata(This,ppResult);
  886. }
  887. static FORCEINLINE HRESULT IWSDServiceProxy_EndGetMetadata(IWSDServiceProxy* This,IWSDAsyncResult *pResult,WSD_METADATA_SECTION_LIST **ppMetadata) {
  888. return This->lpVtbl->EndGetMetadata(This,pResult,ppMetadata);
  889. }
  890. static FORCEINLINE HRESULT IWSDServiceProxy_GetServiceMetadata(IWSDServiceProxy* This,WSD_SERVICE_METADATA **ppServiceMetadata) {
  891. return This->lpVtbl->GetServiceMetadata(This,ppServiceMetadata);
  892. }
  893. static FORCEINLINE HRESULT IWSDServiceProxy_SubscribeToOperation(IWSDServiceProxy* This,const WSD_OPERATION *pOperation,IUnknown *pUnknown,const WSDXML_ELEMENT *pAny,WSDXML_ELEMENT **ppAny) {
  894. return This->lpVtbl->SubscribeToOperation(This,pOperation,pUnknown,pAny,ppAny);
  895. }
  896. static FORCEINLINE HRESULT IWSDServiceProxy_UnsubscribeToOperation(IWSDServiceProxy* This,const WSD_OPERATION *pOperation) {
  897. return This->lpVtbl->UnsubscribeToOperation(This,pOperation);
  898. }
  899. static FORCEINLINE HRESULT IWSDServiceProxy_SetEventingStatusCallback(IWSDServiceProxy* This,IWSDEventingStatus *pStatus) {
  900. return This->lpVtbl->SetEventingStatusCallback(This,pStatus);
  901. }
  902. static FORCEINLINE HRESULT IWSDServiceProxy_GetEndpointProxy(IWSDServiceProxy* This,IWSDEndpointProxy **ppProxy) {
  903. return This->lpVtbl->GetEndpointProxy(This,ppProxy);
  904. }
  905. #endif
  906. #endif
  907. #endif
  908. #endif /* __IWSDServiceProxy_INTERFACE_DEFINED__ */
  909. #if WINVER >= 0x601
  910. /*****************************************************************************
  911. * IWSDServiceProxyEventing interface
  912. */
  913. #ifndef __IWSDServiceProxyEventing_INTERFACE_DEFINED__
  914. #define __IWSDServiceProxyEventing_INTERFACE_DEFINED__
  915. DEFINE_GUID(IID_IWSDServiceProxyEventing, 0xf9279d6d, 0x1012, 0x4a94, 0xb8,0xcc, 0xfd,0x35,0xd2,0x20,0x2b,0xfe);
  916. #if defined(__cplusplus) && !defined(CINTERFACE)
  917. MIDL_INTERFACE("f9279d6d-1012-4a94-b8cc-fd35d2202bfe")
  918. IWSDServiceProxyEventing : public IWSDServiceProxy
  919. {
  920. virtual HRESULT STDMETHODCALLTYPE SubscribeToMultipleOperations(
  921. const WSD_OPERATION *pOperations,
  922. DWORD dwOperationCount,
  923. IUnknown *pUnknown,
  924. const WSD_EVENTING_EXPIRES *pExpires,
  925. const WSDXML_ELEMENT *pAny,
  926. WSD_EVENTING_EXPIRES **ppExpires,
  927. WSDXML_ELEMENT **ppAny) = 0;
  928. virtual HRESULT STDMETHODCALLTYPE BeginSubscribeToMultipleOperations(
  929. const WSD_OPERATION *pOperations,
  930. DWORD dwOperationCount,
  931. IUnknown *pUnknown,
  932. const WSD_EVENTING_EXPIRES *pExpires,
  933. const WSDXML_ELEMENT *pAny,
  934. IUnknown *pAsyncState,
  935. IWSDAsyncCallback *pAsyncCallback,
  936. IWSDAsyncResult **ppResult) = 0;
  937. virtual HRESULT STDMETHODCALLTYPE EndSubscribeToMultipleOperations(
  938. const WSD_OPERATION *pOperations,
  939. DWORD dwOperationCount,
  940. IWSDAsyncResult *pResult,
  941. WSD_EVENTING_EXPIRES **ppExpires,
  942. WSDXML_ELEMENT **ppAny) = 0;
  943. virtual HRESULT STDMETHODCALLTYPE UnsubscribeToMultipleOperations(
  944. const WSD_OPERATION *pOperations,
  945. DWORD dwOperationCount,
  946. const WSDXML_ELEMENT *pAny) = 0;
  947. virtual HRESULT STDMETHODCALLTYPE BeginUnsubscribeToMultipleOperations(
  948. const WSD_OPERATION *pOperations,
  949. DWORD dwOperationCount,
  950. const WSDXML_ELEMENT *pAny,
  951. IUnknown *pAsyncState,
  952. IWSDAsyncCallback *pAsyncCallback,
  953. IWSDAsyncResult **ppResult) = 0;
  954. virtual HRESULT STDMETHODCALLTYPE EndUnsubscribeToMultipleOperations(
  955. const WSD_OPERATION *pOperations,
  956. DWORD dwOperationCount,
  957. IWSDAsyncResult *pResult) = 0;
  958. virtual HRESULT STDMETHODCALLTYPE RenewMultipleOperations(
  959. const WSD_OPERATION *pOperations,
  960. DWORD dwOperationCount,
  961. const WSD_EVENTING_EXPIRES *pExpires,
  962. const WSDXML_ELEMENT *pAny,
  963. WSD_EVENTING_EXPIRES **ppExpires,
  964. WSDXML_ELEMENT **ppAny) = 0;
  965. virtual HRESULT STDMETHODCALLTYPE BeginRenewMultipleOperations(
  966. const WSD_OPERATION *pOperations,
  967. DWORD dwOperationCount,
  968. const WSD_EVENTING_EXPIRES *pExpires,
  969. const WSDXML_ELEMENT *pAny,
  970. IUnknown *pAsyncState,
  971. IWSDAsyncCallback *pAsyncCallback,
  972. IWSDAsyncResult **ppResult) = 0;
  973. virtual HRESULT STDMETHODCALLTYPE EndRenewMultipleOperations(
  974. const WSD_OPERATION *pOperations,
  975. DWORD dwOperationCount,
  976. IWSDAsyncResult *pResult,
  977. WSD_EVENTING_EXPIRES **ppExpires,
  978. WSDXML_ELEMENT **ppAny) = 0;
  979. virtual HRESULT STDMETHODCALLTYPE GetStatusForMultipleOperations(
  980. const WSD_OPERATION *pOperations,
  981. DWORD dwOperationCount,
  982. const WSDXML_ELEMENT *pAny,
  983. WSD_EVENTING_EXPIRES **ppExpires,
  984. WSDXML_ELEMENT **ppAny) = 0;
  985. virtual HRESULT STDMETHODCALLTYPE BeginGetStatusForMultipleOperations(
  986. const WSD_OPERATION *pOperations,
  987. DWORD dwOperationCount,
  988. const WSDXML_ELEMENT *pAny,
  989. IUnknown *pAsyncState,
  990. IWSDAsyncCallback *pAsyncCallback,
  991. IWSDAsyncResult **ppResult) = 0;
  992. virtual HRESULT STDMETHODCALLTYPE EndGetStatusForMultipleOperations(
  993. const WSD_OPERATION *pOperations,
  994. DWORD dwOperationCount,
  995. IWSDAsyncResult *pResult,
  996. WSD_EVENTING_EXPIRES **ppExpires,
  997. WSDXML_ELEMENT **ppAny) = 0;
  998. };
  999. #ifdef __CRT_UUID_DECL
  1000. __CRT_UUID_DECL(IWSDServiceProxyEventing, 0xf9279d6d, 0x1012, 0x4a94, 0xb8,0xcc, 0xfd,0x35,0xd2,0x20,0x2b,0xfe)
  1001. #endif
  1002. #else
  1003. typedef struct IWSDServiceProxyEventingVtbl {
  1004. BEGIN_INTERFACE
  1005. /*** IUnknown methods ***/
  1006. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1007. IWSDServiceProxyEventing *This,
  1008. REFIID riid,
  1009. void **ppvObject);
  1010. ULONG (STDMETHODCALLTYPE *AddRef)(
  1011. IWSDServiceProxyEventing *This);
  1012. ULONG (STDMETHODCALLTYPE *Release)(
  1013. IWSDServiceProxyEventing *This);
  1014. /*** IWSDMetadataExchange methods ***/
  1015. HRESULT (STDMETHODCALLTYPE *GetMetadata)(
  1016. IWSDServiceProxyEventing *This,
  1017. WSD_METADATA_SECTION_LIST **MetadataOut);
  1018. /*** IWSDServiceProxy methods ***/
  1019. HRESULT (STDMETHODCALLTYPE *BeginGetMetadata)(
  1020. IWSDServiceProxyEventing *This,
  1021. IWSDAsyncResult **ppResult);
  1022. HRESULT (STDMETHODCALLTYPE *EndGetMetadata)(
  1023. IWSDServiceProxyEventing *This,
  1024. IWSDAsyncResult *pResult,
  1025. WSD_METADATA_SECTION_LIST **ppMetadata);
  1026. HRESULT (STDMETHODCALLTYPE *GetServiceMetadata)(
  1027. IWSDServiceProxyEventing *This,
  1028. WSD_SERVICE_METADATA **ppServiceMetadata);
  1029. HRESULT (STDMETHODCALLTYPE *SubscribeToOperation)(
  1030. IWSDServiceProxyEventing *This,
  1031. const WSD_OPERATION *pOperation,
  1032. IUnknown *pUnknown,
  1033. const WSDXML_ELEMENT *pAny,
  1034. WSDXML_ELEMENT **ppAny);
  1035. HRESULT (STDMETHODCALLTYPE *UnsubscribeToOperation)(
  1036. IWSDServiceProxyEventing *This,
  1037. const WSD_OPERATION *pOperation);
  1038. HRESULT (STDMETHODCALLTYPE *SetEventingStatusCallback)(
  1039. IWSDServiceProxyEventing *This,
  1040. IWSDEventingStatus *pStatus);
  1041. HRESULT (STDMETHODCALLTYPE *GetEndpointProxy)(
  1042. IWSDServiceProxyEventing *This,
  1043. IWSDEndpointProxy **ppProxy);
  1044. /*** IWSDServiceProxyEventing methods ***/
  1045. HRESULT (STDMETHODCALLTYPE *SubscribeToMultipleOperations)(
  1046. IWSDServiceProxyEventing *This,
  1047. const WSD_OPERATION *pOperations,
  1048. DWORD dwOperationCount,
  1049. IUnknown *pUnknown,
  1050. const WSD_EVENTING_EXPIRES *pExpires,
  1051. const WSDXML_ELEMENT *pAny,
  1052. WSD_EVENTING_EXPIRES **ppExpires,
  1053. WSDXML_ELEMENT **ppAny);
  1054. HRESULT (STDMETHODCALLTYPE *BeginSubscribeToMultipleOperations)(
  1055. IWSDServiceProxyEventing *This,
  1056. const WSD_OPERATION *pOperations,
  1057. DWORD dwOperationCount,
  1058. IUnknown *pUnknown,
  1059. const WSD_EVENTING_EXPIRES *pExpires,
  1060. const WSDXML_ELEMENT *pAny,
  1061. IUnknown *pAsyncState,
  1062. IWSDAsyncCallback *pAsyncCallback,
  1063. IWSDAsyncResult **ppResult);
  1064. HRESULT (STDMETHODCALLTYPE *EndSubscribeToMultipleOperations)(
  1065. IWSDServiceProxyEventing *This,
  1066. const WSD_OPERATION *pOperations,
  1067. DWORD dwOperationCount,
  1068. IWSDAsyncResult *pResult,
  1069. WSD_EVENTING_EXPIRES **ppExpires,
  1070. WSDXML_ELEMENT **ppAny);
  1071. HRESULT (STDMETHODCALLTYPE *UnsubscribeToMultipleOperations)(
  1072. IWSDServiceProxyEventing *This,
  1073. const WSD_OPERATION *pOperations,
  1074. DWORD dwOperationCount,
  1075. const WSDXML_ELEMENT *pAny);
  1076. HRESULT (STDMETHODCALLTYPE *BeginUnsubscribeToMultipleOperations)(
  1077. IWSDServiceProxyEventing *This,
  1078. const WSD_OPERATION *pOperations,
  1079. DWORD dwOperationCount,
  1080. const WSDXML_ELEMENT *pAny,
  1081. IUnknown *pAsyncState,
  1082. IWSDAsyncCallback *pAsyncCallback,
  1083. IWSDAsyncResult **ppResult);
  1084. HRESULT (STDMETHODCALLTYPE *EndUnsubscribeToMultipleOperations)(
  1085. IWSDServiceProxyEventing *This,
  1086. const WSD_OPERATION *pOperations,
  1087. DWORD dwOperationCount,
  1088. IWSDAsyncResult *pResult);
  1089. HRESULT (STDMETHODCALLTYPE *RenewMultipleOperations)(
  1090. IWSDServiceProxyEventing *This,
  1091. const WSD_OPERATION *pOperations,
  1092. DWORD dwOperationCount,
  1093. const WSD_EVENTING_EXPIRES *pExpires,
  1094. const WSDXML_ELEMENT *pAny,
  1095. WSD_EVENTING_EXPIRES **ppExpires,
  1096. WSDXML_ELEMENT **ppAny);
  1097. HRESULT (STDMETHODCALLTYPE *BeginRenewMultipleOperations)(
  1098. IWSDServiceProxyEventing *This,
  1099. const WSD_OPERATION *pOperations,
  1100. DWORD dwOperationCount,
  1101. const WSD_EVENTING_EXPIRES *pExpires,
  1102. const WSDXML_ELEMENT *pAny,
  1103. IUnknown *pAsyncState,
  1104. IWSDAsyncCallback *pAsyncCallback,
  1105. IWSDAsyncResult **ppResult);
  1106. HRESULT (STDMETHODCALLTYPE *EndRenewMultipleOperations)(
  1107. IWSDServiceProxyEventing *This,
  1108. const WSD_OPERATION *pOperations,
  1109. DWORD dwOperationCount,
  1110. IWSDAsyncResult *pResult,
  1111. WSD_EVENTING_EXPIRES **ppExpires,
  1112. WSDXML_ELEMENT **ppAny);
  1113. HRESULT (STDMETHODCALLTYPE *GetStatusForMultipleOperations)(
  1114. IWSDServiceProxyEventing *This,
  1115. const WSD_OPERATION *pOperations,
  1116. DWORD dwOperationCount,
  1117. const WSDXML_ELEMENT *pAny,
  1118. WSD_EVENTING_EXPIRES **ppExpires,
  1119. WSDXML_ELEMENT **ppAny);
  1120. HRESULT (STDMETHODCALLTYPE *BeginGetStatusForMultipleOperations)(
  1121. IWSDServiceProxyEventing *This,
  1122. const WSD_OPERATION *pOperations,
  1123. DWORD dwOperationCount,
  1124. const WSDXML_ELEMENT *pAny,
  1125. IUnknown *pAsyncState,
  1126. IWSDAsyncCallback *pAsyncCallback,
  1127. IWSDAsyncResult **ppResult);
  1128. HRESULT (STDMETHODCALLTYPE *EndGetStatusForMultipleOperations)(
  1129. IWSDServiceProxyEventing *This,
  1130. const WSD_OPERATION *pOperations,
  1131. DWORD dwOperationCount,
  1132. IWSDAsyncResult *pResult,
  1133. WSD_EVENTING_EXPIRES **ppExpires,
  1134. WSDXML_ELEMENT **ppAny);
  1135. END_INTERFACE
  1136. } IWSDServiceProxyEventingVtbl;
  1137. interface IWSDServiceProxyEventing {
  1138. CONST_VTBL IWSDServiceProxyEventingVtbl* lpVtbl;
  1139. };
  1140. #ifdef COBJMACROS
  1141. #ifndef WIDL_C_INLINE_WRAPPERS
  1142. /*** IUnknown methods ***/
  1143. #define IWSDServiceProxyEventing_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1144. #define IWSDServiceProxyEventing_AddRef(This) (This)->lpVtbl->AddRef(This)
  1145. #define IWSDServiceProxyEventing_Release(This) (This)->lpVtbl->Release(This)
  1146. /*** IWSDMetadataExchange methods ***/
  1147. #define IWSDServiceProxyEventing_GetMetadata(This,MetadataOut) (This)->lpVtbl->GetMetadata(This,MetadataOut)
  1148. /*** IWSDServiceProxy methods ***/
  1149. #define IWSDServiceProxyEventing_BeginGetMetadata(This,ppResult) (This)->lpVtbl->BeginGetMetadata(This,ppResult)
  1150. #define IWSDServiceProxyEventing_EndGetMetadata(This,pResult,ppMetadata) (This)->lpVtbl->EndGetMetadata(This,pResult,ppMetadata)
  1151. #define IWSDServiceProxyEventing_GetServiceMetadata(This,ppServiceMetadata) (This)->lpVtbl->GetServiceMetadata(This,ppServiceMetadata)
  1152. #define IWSDServiceProxyEventing_SubscribeToOperation(This,pOperation,pUnknown,pAny,ppAny) (This)->lpVtbl->SubscribeToOperation(This,pOperation,pUnknown,pAny,ppAny)
  1153. #define IWSDServiceProxyEventing_UnsubscribeToOperation(This,pOperation) (This)->lpVtbl->UnsubscribeToOperation(This,pOperation)
  1154. #define IWSDServiceProxyEventing_SetEventingStatusCallback(This,pStatus) (This)->lpVtbl->SetEventingStatusCallback(This,pStatus)
  1155. #define IWSDServiceProxyEventing_GetEndpointProxy(This,ppProxy) (This)->lpVtbl->GetEndpointProxy(This,ppProxy)
  1156. /*** IWSDServiceProxyEventing methods ***/
  1157. #define IWSDServiceProxyEventing_SubscribeToMultipleOperations(This,pOperations,dwOperationCount,pUnknown,pExpires,pAny,ppExpires,ppAny) (This)->lpVtbl->SubscribeToMultipleOperations(This,pOperations,dwOperationCount,pUnknown,pExpires,pAny,ppExpires,ppAny)
  1158. #define IWSDServiceProxyEventing_BeginSubscribeToMultipleOperations(This,pOperations,dwOperationCount,pUnknown,pExpires,pAny,pAsyncState,pAsyncCallback,ppResult) (This)->lpVtbl->BeginSubscribeToMultipleOperations(This,pOperations,dwOperationCount,pUnknown,pExpires,pAny,pAsyncState,pAsyncCallback,ppResult)
  1159. #define IWSDServiceProxyEventing_EndSubscribeToMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny) (This)->lpVtbl->EndSubscribeToMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny)
  1160. #define IWSDServiceProxyEventing_UnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pAny) (This)->lpVtbl->UnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pAny)
  1161. #define IWSDServiceProxyEventing_BeginUnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pAny,pAsyncState,pAsyncCallback,ppResult) (This)->lpVtbl->BeginUnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pAny,pAsyncState,pAsyncCallback,ppResult)
  1162. #define IWSDServiceProxyEventing_EndUnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pResult) (This)->lpVtbl->EndUnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pResult)
  1163. #define IWSDServiceProxyEventing_RenewMultipleOperations(This,pOperations,dwOperationCount,pExpires,pAny,ppExpires,ppAny) (This)->lpVtbl->RenewMultipleOperations(This,pOperations,dwOperationCount,pExpires,pAny,ppExpires,ppAny)
  1164. #define IWSDServiceProxyEventing_BeginRenewMultipleOperations(This,pOperations,dwOperationCount,pExpires,pAny,pAsyncState,pAsyncCallback,ppResult) (This)->lpVtbl->BeginRenewMultipleOperations(This,pOperations,dwOperationCount,pExpires,pAny,pAsyncState,pAsyncCallback,ppResult)
  1165. #define IWSDServiceProxyEventing_EndRenewMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny) (This)->lpVtbl->EndRenewMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny)
  1166. #define IWSDServiceProxyEventing_GetStatusForMultipleOperations(This,pOperations,dwOperationCount,pAny,ppExpires,ppAny) (This)->lpVtbl->GetStatusForMultipleOperations(This,pOperations,dwOperationCount,pAny,ppExpires,ppAny)
  1167. #define IWSDServiceProxyEventing_BeginGetStatusForMultipleOperations(This,pOperations,dwOperationCount,pAny,pAsyncState,pAsyncCallback,ppResult) (This)->lpVtbl->BeginGetStatusForMultipleOperations(This,pOperations,dwOperationCount,pAny,pAsyncState,pAsyncCallback,ppResult)
  1168. #define IWSDServiceProxyEventing_EndGetStatusForMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny) (This)->lpVtbl->EndGetStatusForMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny)
  1169. #else
  1170. /*** IUnknown methods ***/
  1171. static FORCEINLINE HRESULT IWSDServiceProxyEventing_QueryInterface(IWSDServiceProxyEventing* This,REFIID riid,void **ppvObject) {
  1172. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1173. }
  1174. static FORCEINLINE ULONG IWSDServiceProxyEventing_AddRef(IWSDServiceProxyEventing* This) {
  1175. return This->lpVtbl->AddRef(This);
  1176. }
  1177. static FORCEINLINE ULONG IWSDServiceProxyEventing_Release(IWSDServiceProxyEventing* This) {
  1178. return This->lpVtbl->Release(This);
  1179. }
  1180. /*** IWSDMetadataExchange methods ***/
  1181. static FORCEINLINE HRESULT IWSDServiceProxyEventing_GetMetadata(IWSDServiceProxyEventing* This,WSD_METADATA_SECTION_LIST **MetadataOut) {
  1182. return This->lpVtbl->GetMetadata(This,MetadataOut);
  1183. }
  1184. /*** IWSDServiceProxy methods ***/
  1185. static FORCEINLINE HRESULT IWSDServiceProxyEventing_BeginGetMetadata(IWSDServiceProxyEventing* This,IWSDAsyncResult **ppResult) {
  1186. return This->lpVtbl->BeginGetMetadata(This,ppResult);
  1187. }
  1188. static FORCEINLINE HRESULT IWSDServiceProxyEventing_EndGetMetadata(IWSDServiceProxyEventing* This,IWSDAsyncResult *pResult,WSD_METADATA_SECTION_LIST **ppMetadata) {
  1189. return This->lpVtbl->EndGetMetadata(This,pResult,ppMetadata);
  1190. }
  1191. static FORCEINLINE HRESULT IWSDServiceProxyEventing_GetServiceMetadata(IWSDServiceProxyEventing* This,WSD_SERVICE_METADATA **ppServiceMetadata) {
  1192. return This->lpVtbl->GetServiceMetadata(This,ppServiceMetadata);
  1193. }
  1194. static FORCEINLINE HRESULT IWSDServiceProxyEventing_SubscribeToOperation(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperation,IUnknown *pUnknown,const WSDXML_ELEMENT *pAny,WSDXML_ELEMENT **ppAny) {
  1195. return This->lpVtbl->SubscribeToOperation(This,pOperation,pUnknown,pAny,ppAny);
  1196. }
  1197. static FORCEINLINE HRESULT IWSDServiceProxyEventing_UnsubscribeToOperation(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperation) {
  1198. return This->lpVtbl->UnsubscribeToOperation(This,pOperation);
  1199. }
  1200. static FORCEINLINE HRESULT IWSDServiceProxyEventing_SetEventingStatusCallback(IWSDServiceProxyEventing* This,IWSDEventingStatus *pStatus) {
  1201. return This->lpVtbl->SetEventingStatusCallback(This,pStatus);
  1202. }
  1203. static FORCEINLINE HRESULT IWSDServiceProxyEventing_GetEndpointProxy(IWSDServiceProxyEventing* This,IWSDEndpointProxy **ppProxy) {
  1204. return This->lpVtbl->GetEndpointProxy(This,ppProxy);
  1205. }
  1206. /*** IWSDServiceProxyEventing methods ***/
  1207. static FORCEINLINE HRESULT IWSDServiceProxyEventing_SubscribeToMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,IUnknown *pUnknown,const WSD_EVENTING_EXPIRES *pExpires,const WSDXML_ELEMENT *pAny,WSD_EVENTING_EXPIRES **ppExpires,WSDXML_ELEMENT **ppAny) {
  1208. return This->lpVtbl->SubscribeToMultipleOperations(This,pOperations,dwOperationCount,pUnknown,pExpires,pAny,ppExpires,ppAny);
  1209. }
  1210. static FORCEINLINE HRESULT IWSDServiceProxyEventing_BeginSubscribeToMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,IUnknown *pUnknown,const WSD_EVENTING_EXPIRES *pExpires,const WSDXML_ELEMENT *pAny,IUnknown *pAsyncState,IWSDAsyncCallback *pAsyncCallback,IWSDAsyncResult **ppResult) {
  1211. return This->lpVtbl->BeginSubscribeToMultipleOperations(This,pOperations,dwOperationCount,pUnknown,pExpires,pAny,pAsyncState,pAsyncCallback,ppResult);
  1212. }
  1213. static FORCEINLINE HRESULT IWSDServiceProxyEventing_EndSubscribeToMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,IWSDAsyncResult *pResult,WSD_EVENTING_EXPIRES **ppExpires,WSDXML_ELEMENT **ppAny) {
  1214. return This->lpVtbl->EndSubscribeToMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny);
  1215. }
  1216. static FORCEINLINE HRESULT IWSDServiceProxyEventing_UnsubscribeToMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,const WSDXML_ELEMENT *pAny) {
  1217. return This->lpVtbl->UnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pAny);
  1218. }
  1219. static FORCEINLINE HRESULT IWSDServiceProxyEventing_BeginUnsubscribeToMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,const WSDXML_ELEMENT *pAny,IUnknown *pAsyncState,IWSDAsyncCallback *pAsyncCallback,IWSDAsyncResult **ppResult) {
  1220. return This->lpVtbl->BeginUnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pAny,pAsyncState,pAsyncCallback,ppResult);
  1221. }
  1222. static FORCEINLINE HRESULT IWSDServiceProxyEventing_EndUnsubscribeToMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,IWSDAsyncResult *pResult) {
  1223. return This->lpVtbl->EndUnsubscribeToMultipleOperations(This,pOperations,dwOperationCount,pResult);
  1224. }
  1225. static FORCEINLINE HRESULT IWSDServiceProxyEventing_RenewMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,const WSD_EVENTING_EXPIRES *pExpires,const WSDXML_ELEMENT *pAny,WSD_EVENTING_EXPIRES **ppExpires,WSDXML_ELEMENT **ppAny) {
  1226. return This->lpVtbl->RenewMultipleOperations(This,pOperations,dwOperationCount,pExpires,pAny,ppExpires,ppAny);
  1227. }
  1228. static FORCEINLINE HRESULT IWSDServiceProxyEventing_BeginRenewMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,const WSD_EVENTING_EXPIRES *pExpires,const WSDXML_ELEMENT *pAny,IUnknown *pAsyncState,IWSDAsyncCallback *pAsyncCallback,IWSDAsyncResult **ppResult) {
  1229. return This->lpVtbl->BeginRenewMultipleOperations(This,pOperations,dwOperationCount,pExpires,pAny,pAsyncState,pAsyncCallback,ppResult);
  1230. }
  1231. static FORCEINLINE HRESULT IWSDServiceProxyEventing_EndRenewMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,IWSDAsyncResult *pResult,WSD_EVENTING_EXPIRES **ppExpires,WSDXML_ELEMENT **ppAny) {
  1232. return This->lpVtbl->EndRenewMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny);
  1233. }
  1234. static FORCEINLINE HRESULT IWSDServiceProxyEventing_GetStatusForMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,const WSDXML_ELEMENT *pAny,WSD_EVENTING_EXPIRES **ppExpires,WSDXML_ELEMENT **ppAny) {
  1235. return This->lpVtbl->GetStatusForMultipleOperations(This,pOperations,dwOperationCount,pAny,ppExpires,ppAny);
  1236. }
  1237. static FORCEINLINE HRESULT IWSDServiceProxyEventing_BeginGetStatusForMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,const WSDXML_ELEMENT *pAny,IUnknown *pAsyncState,IWSDAsyncCallback *pAsyncCallback,IWSDAsyncResult **ppResult) {
  1238. return This->lpVtbl->BeginGetStatusForMultipleOperations(This,pOperations,dwOperationCount,pAny,pAsyncState,pAsyncCallback,ppResult);
  1239. }
  1240. static FORCEINLINE HRESULT IWSDServiceProxyEventing_EndGetStatusForMultipleOperations(IWSDServiceProxyEventing* This,const WSD_OPERATION *pOperations,DWORD dwOperationCount,IWSDAsyncResult *pResult,WSD_EVENTING_EXPIRES **ppExpires,WSDXML_ELEMENT **ppAny) {
  1241. return This->lpVtbl->EndGetStatusForMultipleOperations(This,pOperations,dwOperationCount,pResult,ppExpires,ppAny);
  1242. }
  1243. #endif
  1244. #endif
  1245. #endif
  1246. #endif /* __IWSDServiceProxyEventing_INTERFACE_DEFINED__ */
  1247. #endif
  1248. HRESULT WINAPI WSDCreateDeviceProxy(LPCWSTR pszDeviceId, LPCWSTR pszLocalId, IWSDXMLContext *pContext, IWSDDeviceProxy **ppDeviceProxy);
  1249. HRESULT WINAPI WSDCreateDeviceProxyAdvanced(LPCWSTR pszDeviceId, IWSDAddress* pDeviceAddress, LPCWSTR pszLocalId, IWSDXMLContext *pContext, IWSDDeviceProxy **ppDeviceProxy);
  1250. #if WINVER >= 0x601
  1251. HRESULT WINAPI WSDCreateDeviceProxy2(LPCWSTR pszDeviceId, LPCWSTR pszLocalId, IWSDXMLContext *pContext, WSD_CONFIG_PARAM *pConfigParams, DWORD dwConfigParamCount, IWSDDeviceProxy **ppDeviceProxy);
  1252. #endif
  1253. #endif
  1254. /* Begin additional prototypes for all interfaces */
  1255. /* End additional prototypes */
  1256. #ifdef __cplusplus
  1257. }
  1258. #endif
  1259. #endif /* __wsdclient_h__ */