Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4649 lines
136 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
  3. #pragma warning( disable: 4211 ) /* redefine extent to static */
  4. #pragma warning( disable: 4232 ) /* dllimport identity*/
  5. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  6. /* File created by MIDL compiler version 6.00.0359 */
  7. /* Compiler settings for winsip.idl:
  8. Oicf, W1, Zp8, env=Win32 (32b run)
  9. protocol : dce , ms_ext, c_ext, robust
  10. error checks: allocation ref bounds_check enum stub_data
  11. VC __declspec() decoration level:
  12. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  13. DECLSPEC_UUID(), MIDL_INTERFACE()
  14. */
  15. //@@MIDL_FILE_HEADING( )
  16. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  17. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  18. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  19. #endif
  20. #include "rpc.h"
  21. #include "rpcndr.h"
  22. #ifndef __RPCNDR_H_VERSION__
  23. #error this stub requires an updated version of <rpcndr.h>
  24. #endif // __RPCNDR_H_VERSION__
  25. #ifndef COM_NO_WINDOWS_H
  26. #include "windows.h"
  27. #include "ole2.h"
  28. #endif /*COM_NO_WINDOWS_H*/
  29. #ifndef __winsip_h__
  30. #define __winsip_h__
  31. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  32. #pragma once
  33. #endif
  34. /* Forward Declarations */
  35. #ifndef __ISIPElement_FWD_DEFINED__
  36. #define __ISIPElement_FWD_DEFINED__
  37. typedef interface ISIPElement ISIPElement;
  38. #endif /* __ISIPElement_FWD_DEFINED__ */
  39. #ifndef __ISIPHeader_FWD_DEFINED__
  40. #define __ISIPHeader_FWD_DEFINED__
  41. typedef interface ISIPHeader ISIPHeader;
  42. #endif /* __ISIPHeader_FWD_DEFINED__ */
  43. #ifndef __IUri_FWD_DEFINED__
  44. #define __IUri_FWD_DEFINED__
  45. typedef interface IUri IUri;
  46. #endif /* __IUri_FWD_DEFINED__ */
  47. #ifndef __ISIPUrl_FWD_DEFINED__
  48. #define __ISIPUrl_FWD_DEFINED__
  49. typedef interface ISIPUrl ISIPUrl;
  50. #endif /* __ISIPUrl_FWD_DEFINED__ */
  51. #ifndef __ISIPFromToHeader_FWD_DEFINED__
  52. #define __ISIPFromToHeader_FWD_DEFINED__
  53. typedef interface ISIPFromToHeader ISIPFromToHeader;
  54. #endif /* __ISIPFromToHeader_FWD_DEFINED__ */
  55. #ifndef __ISIPContactEntry_FWD_DEFINED__
  56. #define __ISIPContactEntry_FWD_DEFINED__
  57. typedef interface ISIPContactEntry ISIPContactEntry;
  58. #endif /* __ISIPContactEntry_FWD_DEFINED__ */
  59. #ifndef __ISIPContactEnum_FWD_DEFINED__
  60. #define __ISIPContactEnum_FWD_DEFINED__
  61. typedef interface ISIPContactEnum ISIPContactEnum;
  62. #endif /* __ISIPContactEnum_FWD_DEFINED__ */
  63. #ifndef __ISIPMessage_FWD_DEFINED__
  64. #define __ISIPMessage_FWD_DEFINED__
  65. typedef interface ISIPMessage ISIPMessage;
  66. #endif /* __ISIPMessage_FWD_DEFINED__ */
  67. #ifndef __ISIPRequest_FWD_DEFINED__
  68. #define __ISIPRequest_FWD_DEFINED__
  69. typedef interface ISIPRequest ISIPRequest;
  70. #endif /* __ISIPRequest_FWD_DEFINED__ */
  71. #ifndef __ISIPAuthRequest_FWD_DEFINED__
  72. #define __ISIPAuthRequest_FWD_DEFINED__
  73. typedef interface ISIPAuthRequest ISIPAuthRequest;
  74. #endif /* __ISIPAuthRequest_FWD_DEFINED__ */
  75. #ifndef __ISIPResponse_FWD_DEFINED__
  76. #define __ISIPResponse_FWD_DEFINED__
  77. typedef interface ISIPResponse ISIPResponse;
  78. #endif /* __ISIPResponse_FWD_DEFINED__ */
  79. #ifndef __ISIPEvent_FWD_DEFINED__
  80. #define __ISIPEvent_FWD_DEFINED__
  81. typedef interface ISIPEvent ISIPEvent;
  82. #endif /* __ISIPEvent_FWD_DEFINED__ */
  83. #ifndef __ISIPController_FWD_DEFINED__
  84. #define __ISIPController_FWD_DEFINED__
  85. typedef interface ISIPController ISIPController;
  86. #endif /* __ISIPController_FWD_DEFINED__ */
  87. #ifndef __ISIPModuleControl_FWD_DEFINED__
  88. #define __ISIPModuleControl_FWD_DEFINED__
  89. typedef interface ISIPModuleControl ISIPModuleControl;
  90. #endif /* __ISIPModuleControl_FWD_DEFINED__ */
  91. #ifndef __ISIPModuleCallback_FWD_DEFINED__
  92. #define __ISIPModuleCallback_FWD_DEFINED__
  93. typedef interface ISIPModuleCallback ISIPModuleCallback;
  94. #endif /* __ISIPModuleCallback_FWD_DEFINED__ */
  95. #ifndef __ISIPExtensionModulePropertyPages_FWD_DEFINED__
  96. #define __ISIPExtensionModulePropertyPages_FWD_DEFINED__
  97. typedef interface ISIPExtensionModulePropertyPages ISIPExtensionModulePropertyPages;
  98. #endif /* __ISIPExtensionModulePropertyPages_FWD_DEFINED__ */
  99. #ifndef __ISIPAdminCredentials_FWD_DEFINED__
  100. #define __ISIPAdminCredentials_FWD_DEFINED__
  101. typedef interface ISIPAdminCredentials ISIPAdminCredentials;
  102. #endif /* __ISIPAdminCredentials_FWD_DEFINED__ */
  103. #ifndef __ISIPCreateExtensionModule_FWD_DEFINED__
  104. #define __ISIPCreateExtensionModule_FWD_DEFINED__
  105. typedef interface ISIPCreateExtensionModule ISIPCreateExtensionModule;
  106. #endif /* __ISIPCreateExtensionModule_FWD_DEFINED__ */
  107. #ifndef __ISIPRegistrationDB_FWD_DEFINED__
  108. #define __ISIPRegistrationDB_FWD_DEFINED__
  109. typedef interface ISIPRegistrationDB ISIPRegistrationDB;
  110. #endif /* __ISIPRegistrationDB_FWD_DEFINED__ */
  111. #ifndef __ISIPProxy_FWD_DEFINED__
  112. #define __ISIPProxy_FWD_DEFINED__
  113. typedef interface ISIPProxy ISIPProxy;
  114. #endif /* __ISIPProxy_FWD_DEFINED__ */
  115. #ifndef __ISIPEventLogging_FWD_DEFINED__
  116. #define __ISIPEventLogging_FWD_DEFINED__
  117. typedef interface ISIPEventLogging ISIPEventLogging;
  118. #endif /* __ISIPEventLogging_FWD_DEFINED__ */
  119. #ifndef __ISIPSerialize_FWD_DEFINED__
  120. #define __ISIPSerialize_FWD_DEFINED__
  121. typedef interface ISIPSerialize ISIPSerialize;
  122. #endif /* __ISIPSerialize_FWD_DEFINED__ */
  123. /* header files for imported files */
  124. #include "unknwn.h"
  125. #include "ocidl.h"
  126. #include "wbemcli.h"
  127. #ifdef __cplusplus
  128. extern "C"{
  129. #endif
  130. void * __RPC_USER MIDL_user_allocate(size_t);
  131. void __RPC_USER MIDL_user_free( void * );
  132. /* interface __MIDL_itf_winsip_0000 */
  133. /* [local] */
  134. //=--------------------------------------------------------------------------=
  135. // winsip.idl
  136. //=--------------------------------------------------------------------------=
  137. // (C) Copyright 2000-2001 Microsoft Corporation. All Rights Reserved.
  138. //
  139. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  140. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  141. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  142. // PARTICULAR PURPOSE.
  143. //=--------------------------------------------------------------------------=
  144. #include <windows.h>
  145. #ifndef _NTDEF_
  146. typedef char *PCHAR;
  147. typedef BYTE *PBYTE;
  148. typedef struct _STRING
  149. {
  150. USHORT Length;
  151. USHORT MaximumLength;
  152. /* [length_is][size_is] */ PCHAR Buffer;
  153. } STRING;
  154. typedef STRING *PSTRING;
  155. #endif // _NTDEF_
  156. typedef ULONG_PTR SIP_HANDLE;
  157. typedef SIP_HANDLE *PSIP_HANDLE;
  158. typedef DWORD SIPHeaderID;
  159. #define SIP_HID_UNKNOWN ( 0 )
  160. #define SIP_HID_VIA ( 1 )
  161. #define SIP_HID_CONTACT ( 2 )
  162. #define SIP_HID_ROUTE ( 3 )
  163. #define SIP_HID_TO ( 4 )
  164. #define SIP_HID_FROM ( 5 )
  165. #define SIP_HID_CALL_ID ( 6 )
  166. #define SIP_HID_CSEQ ( 7 )
  167. #define SIP_HID_CONTENT_LENGTH ( 8 )
  168. #define SIP_HID_RECORD_ROUTE ( 9 )
  169. #define SIP_HID_PROXY_AUTHORIZATION ( 10 )
  170. #define SIP_HID_AUTHENTICATION_INFO ( 14 )
  171. #define SIP_HID_AUTHORIZATION ( 15 )
  172. #define SIP_HID_EVENT ( 16 )
  173. #define SIP_HID_EXPIRES ( 17 )
  174. #define SIP_HID_MAX_FORWARDS ( 18 )
  175. #define SIP_HID_PROXY_AUTHENTICATE ( 19 )
  176. #define SIP_HID_PROXY_AUTHENTICATION_INFO ( 20 )
  177. #define SIP_HID_SOAPACTION ( 24 )
  178. #define SIP_HID_ACCEPT ( 25 )
  179. #define SIP_HID_ACCEPT_CONTACT ( 26 )
  180. #define SIP_HID_ACCEPT_ENCODING ( 27 )
  181. #define SIP_HID_ACCEPT_LANGUAGE ( 28 )
  182. #define SIP_HID_ALLOW ( 29 )
  183. #define SIP_HID_ALLOW_EVENTS ( 30 )
  184. #define SIP_HID_CONTENT_DISPOSITION ( 31 )
  185. #define SIP_HID_CONTENT_ENCODING ( 32 )
  186. #define SIP_HID_CONTENT_FUNCTION ( 33 )
  187. #define SIP_HID_CONTENT_LANGUAGE ( 34 )
  188. #define SIP_HID_CONTENT_KEY ( 35 )
  189. #define SIP_HID_CONTENT_TYPE ( 36 )
  190. #define SIP_HID_DATE ( 37 )
  191. #define SIP_HID_ENCRYPTION ( 38 )
  192. #define SIP_HID_HIDE ( 39 )
  193. #define SIP_HID_IN_REPLY_TO ( 40 )
  194. #define SIP_HID_MIME_VERSION ( 41 )
  195. #define SIP_HID_ORGANIZATION ( 42 )
  196. #define SIP_HID_PRIORITY ( 43 )
  197. #define SIP_HID_PROXY_REQUIRE ( 44 )
  198. #define SIP_HID_PROXY_TYPE ( 45 )
  199. #define SIP_HID_REJECT_CONTACT ( 46 )
  200. #define SIP_HID_REQUEST_DISPOSITION ( 47 )
  201. #define SIP_HID_REQUIRE ( 48 )
  202. #define SIP_HID_RESPONSE_KEY ( 49 )
  203. #define SIP_HID_RETRY_AFTER ( 50 )
  204. #define SIP_HID_SERVER ( 51 )
  205. #define SIP_HID_SUBJECT ( 52 )
  206. #define SIP_HID_SUPPORTED ( 53 )
  207. #define SIP_HID_TIMESTAMP ( 54 )
  208. #define SIP_HID_UNSUPPORTED ( 55 )
  209. #define SIP_HID_USER_AGENT ( 56 )
  210. #define SIP_HID_WARNING ( 57 )
  211. #define SIP_HID_WWW_AUTHENTICATE ( 58 )
  212. typedef /* [public][public][public] */
  213. enum __MIDL___MIDL_itf_winsip_0000_0001
  214. { URI_SCHEME_UNKNOWN = 0,
  215. URI_SCHEME_SIP = URI_SCHEME_UNKNOWN + 1
  216. } URI_SCHEME;
  217. typedef /* [public][public] */
  218. enum __MIDL___MIDL_itf_winsip_0000_0002
  219. { CONTACT_ACTION_UNKNOWN = 0,
  220. CONTACT_ACTION_PROXY = CONTACT_ACTION_UNKNOWN + 1,
  221. CONTACT_ACTION_REDIRECT = CONTACT_ACTION_PROXY + 1
  222. } CONTACT_ACTION;
  223. typedef /* [public][public][public] */
  224. enum __MIDL___MIDL_itf_winsip_0000_0003
  225. { SIP_MODULE_INCOMING_PROCESSING = 0,
  226. SIP_MODULE_ROUTING_PROCESSING = SIP_MODULE_INCOMING_PROCESSING + 1,
  227. SIP_MODULE_OUTGOING_PROCESSING = SIP_MODULE_ROUTING_PROCESSING + 1
  228. } SIP_MODULE_TYPE;
  229. typedef /* [public][public] */
  230. enum __MIDL___MIDL_itf_winsip_0000_0004
  231. { SIP_AUTH_PKG_UNKNOWN = 0,
  232. SIP_AUTH_PKG_NONE = 0x1,
  233. SIP_AUTH_PKG_NEGOTIATE = 0x2,
  234. SIP_AUTH_PKG_KERBEROS = 0x4,
  235. SIP_AUTH_PKG_NTLM = 0x8,
  236. SIP_AUTH_PKG_DIGEST = 0x10,
  237. SIP_AUTH_PKG_BASIC = 0x20,
  238. SIP_AUTH_PKG_ANY = 0xff
  239. } SIP_AUTH_PACKAGEID;
  240. #define SIP_AUTH_PACKAGES ( 0x7 )
  241. typedef /* [public][public][public] */
  242. enum __MIDL___MIDL_itf_winsip_0000_0005
  243. { SIP_REGISTRATION_RAW_SIP_MESSAGES = 0x1,
  244. SIP_REGISTRATION_TRANSACTION_EVENTS = 0x2,
  245. SIP_REGISTRATION_DIALOG_EVENTS = 0x4
  246. } SIPRegistrationType;
  247. typedef /* [public][public][public] */
  248. enum __MIDL___MIDL_itf_winsip_0000_0006
  249. { SIP_SESSION_TYPE_TRANSACTION = 0,
  250. SIP_SESSION_TYPE_DIALOG = SIP_SESSION_TYPE_TRANSACTION + 1
  251. } SIPEventType;
  252. typedef /* [public][public] */
  253. enum __MIDL___MIDL_itf_winsip_0000_0007
  254. { SIP_COMPLETED_FLAG = 0x100,
  255. SIP_REPLY_FLAG = 0x200,
  256. SIP_RETRANSMISSION_FLAG = 0x400,
  257. SIP_REROUTE_FLAG = 0x800,
  258. SIP_TRANSACTION_NONE = 0,
  259. SIP_TRANSACTION_REQUEST_STARTED = 0x1,
  260. SIP_TRANSACTION_REQUEST_STARTED_REROUTE = SIP_TRANSACTION_REQUEST_STARTED | SIP_REROUTE_FLAG,
  261. SIP_TRANSACTION_REQUEST_RETRANSMISSION = 0x2 | SIP_RETRANSMISSION_FLAG,
  262. SIP_TRANSACTION_REQUEST_RETRANSMISSION_REROUTE = SIP_TRANSACTION_REQUEST_RETRANSMISSION | SIP_REROUTE_FLAG,
  263. SIP_TRANSACTION_REQUEST_CANCEL_ATTEMPTED = 0x3,
  264. SIP_TRANSACTION_REQUEST_CANCEL_ATTEMPTED_REROUTE = SIP_TRANSACTION_REQUEST_CANCEL_ATTEMPTED | SIP_REROUTE_FLAG,
  265. SIP_TRANSACTION_REPLY_PROVISIONAL = 0x4 | SIP_REPLY_FLAG,
  266. SIP_TRANSACTION_REPLY_ERROR_COMPLETED = 0x5 | SIP_COMPLETED_FLAG | SIP_REPLY_FLAG,
  267. SIP_TRANSACTION_REPLY_CANCELLED_COMPLETED = 0x6 | SIP_COMPLETED_FLAG | SIP_REPLY_FLAG,
  268. SIP_TRANSACTION_REPLY_REDIRECT_COMPLETED = 0x7 | SIP_COMPLETED_FLAG | SIP_REPLY_FLAG,
  269. SIP_TRANSACTION_REPLY_SUCCESS_COMPLETED = 0x8 | SIP_COMPLETED_FLAG | SIP_REPLY_FLAG,
  270. SIP_TRANSACTION_TIMEOUT_COMPLETED = 0x9 | SIP_COMPLETED_FLAG,
  271. SIP_TRANSACTION_TIMEOUT_CANCEL_COMPLETED = 0xa | SIP_COMPLETED_FLAG,
  272. SIP_TRANSACTION_REQUEST_CANCEL_CANCELLED = 0xb,
  273. SIP_TRANSACTION_REQUEST_CANCEL_REPLIED = 0xc | SIP_REPLY_FLAG,
  274. SIP_TRANSACTION_REQUEST_ACK = 0xd | SIP_COMPLETED_FLAG,
  275. SIP_TRANSACTION_REQUEST_ACK_REROUTE = SIP_TRANSACTION_REQUEST_ACK | SIP_REROUTE_FLAG
  276. } SIPTransactionEvent;
  277. typedef /* [public][public] */
  278. enum __MIDL___MIDL_itf_winsip_0000_0008
  279. { SIP_DIALOG_NONE = 0,
  280. SIP_DIALOG_INITIATED = 0x1,
  281. SIP_DIALOG_INITIATED_REROUTE = SIP_DIALOG_INITIATED | SIP_REROUTE_FLAG,
  282. SIP_DIALOG_CONFIRMED = 0x2,
  283. SIP_DIALOG_ESTABLISHED = 0x3,
  284. SIP_DIALOG_ESTABLISHED_REROUTE = SIP_DIALOG_ESTABLISHED | SIP_REROUTE_FLAG,
  285. SIP_DIALOG_REINITIATED = 0x4,
  286. SIP_DIALOG_REINITIATED_REROUTE = SIP_DIALOG_REINITIATED | SIP_REROUTE_FLAG,
  287. SIP_DIALOG_RECONFIRMED = 0x5,
  288. SIP_DIALOG_REESTABLISHED = 0x6,
  289. SIP_DIALOG_REESTABLISHED_REROUTE = SIP_DIALOG_REESTABLISHED | SIP_REROUTE_FLAG,
  290. SIP_DIALOG_REINITIATION_TIMED_OUT = 0x7,
  291. SIP_DIALOG_RECONFIRMATION_TIMED_OUT = 0x8,
  292. SIP_DIALOG_REINITIATION_REJECTED = 0x9,
  293. SIP_DIALOG_REINITIATION_CANCELLED = 0xa,
  294. SIP_DIALOG_CLOSED = 0xb | SIP_COMPLETED_FLAG,
  295. SIP_DIALOG_CLOSED_TIMED_OUT = 0xc | SIP_COMPLETED_FLAG,
  296. SIP_DIALOG_CLOSED_REJECTED = 0xd | SIP_COMPLETED_FLAG,
  297. SIP_DIALOG_CLOSED_CANCELLED = 0xe | SIP_COMPLETED_FLAG,
  298. SIP_DIALOG_MAX = 0xf
  299. } SIPDialogEvent;
  300. #define STATUS_CODE_TRYING 100
  301. #define STATUS_CODE_RINGING 180
  302. #define STATUS_CODE_FORWARDED 181
  303. #define STATUS_CODE_QUEUED 182
  304. #define STATUS_CODE_SESSION_PROGRESS 183
  305. #define STATUS_CODE_OK 200
  306. #define STATUS_CODE_ACCEPTED 202
  307. #define STATUS_CODE_MULTIPLE_CHOICES 300
  308. #define STATUS_CODE_MOVED_PERMANENTLY 301
  309. #define STATUS_CODE_MOVED_TEMPORARILY 302
  310. #define STATUS_CODE_USE_PROXY 305
  311. #define STATUS_CODE_ALTERNATIVE_SERVICES 380
  312. #define STATUS_CODE_BAD_REQUEST 400
  313. #define STATUS_CODE_UNAUTHORIZED 401
  314. #define STATUS_CODE_PAYMENT_REQUIRED 402
  315. #define STATUS_CODE_FORBIDDEN 403
  316. #define STATUS_CODE_NOT_FOUND 404
  317. #define STATUS_CODE_METHOD_UNALLOWED 405
  318. #define STATUS_CODE_NOT_ACCEPTABLE 406
  319. #define STATUS_CODE_PXY_AUTHENTICATION_REQUIRED 407
  320. #define STATUS_CODE_TIMEOUT 408
  321. #define STATUS_CODE_CONFLICT 409
  322. #define STATUS_CODE_GONE 410
  323. #define STATUS_CODE_LENGTH_REQUIRED 411
  324. #define STATUS_CODE_ENTITY_TOOLARGE 413
  325. #define STATUS_CODE_URI_TOOLONG 414
  326. #define STATUS_CODE_UNSUPPORTED_MEDIA_TYPE 415
  327. #define STATUS_CODE_BAD_EXTENSION 420
  328. #define STATUS_CODE_TEMP_UNAVAILABLE 480
  329. #define STATUS_CODE_CALLLEG_UNAVAILABLE 481
  330. #define STATUS_CODE_LOOP_DETECTED 482
  331. #define STATUS_CODE_TOOMANY_HOPS 483
  332. #define STATUS_CODE_ADDRESS_INCOMPLETE 484
  333. #define STATUS_CODE_AMBIGUOUS 485
  334. #define STATUS_CODE_BUSY_HERE 486
  335. #define STATUS_CODE_TERMINATED 487
  336. #define STATUS_CODE_NOT_ACCEPTABLE_HERE 488
  337. #define STATUS_CODE_SERVER_INTERNAL 500
  338. #define STATUS_CODE_NOT_IMPLEMENTED 501
  339. #define STATUS_CODE_BAD_GATEWAY 502
  340. #define STATUS_CODE_SERVICE_UNAVAILABLE 503
  341. #define STATUS_CODE_SERVER_TIMEOUT 504
  342. #define STATUS_CODE_VERSION_INCOMPATIBLE 505
  343. #define STATUS_CODE_BUSY_ALL 600
  344. #define STATUS_CODE_DECLINE 603
  345. #define STATUS_CODE_NONEXIST_ALL 604
  346. #define STATUS_CODE_NOT_ACCEPTABLE_ALL 606
  347. extern RPC_IF_HANDLE __MIDL_itf_winsip_0000_v0_0_c_ifspec;
  348. extern RPC_IF_HANDLE __MIDL_itf_winsip_0000_v0_0_s_ifspec;
  349. #ifndef __ISIPElement_INTERFACE_DEFINED__
  350. #define __ISIPElement_INTERFACE_DEFINED__
  351. /* interface ISIPElement */
  352. /* [unique][helpstring][uuid][object][local] */
  353. EXTERN_C const IID IID_ISIPElement;
  354. #if defined(__cplusplus) && !defined(CINTERFACE)
  355. MIDL_INTERFACE("8eeebdef-acd5-467e-b631-fe5650f065bd")
  356. ISIPElement : public IUnknown
  357. {
  358. public:
  359. virtual HRESULT STDMETHODCALLTYPE GetContentString(
  360. /* [out] */ PSTRING pstrContent) = 0;
  361. };
  362. #else /* C style interface */
  363. typedef struct ISIPElementVtbl
  364. {
  365. BEGIN_INTERFACE
  366. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  367. ISIPElement * This,
  368. /* [in] */ REFIID riid,
  369. /* [iid_is][out] */ void **ppvObject);
  370. ULONG ( STDMETHODCALLTYPE *AddRef )(
  371. ISIPElement * This);
  372. ULONG ( STDMETHODCALLTYPE *Release )(
  373. ISIPElement * This);
  374. HRESULT ( STDMETHODCALLTYPE *GetContentString )(
  375. ISIPElement * This,
  376. /* [out] */ PSTRING pstrContent);
  377. END_INTERFACE
  378. } ISIPElementVtbl;
  379. interface ISIPElement
  380. {
  381. CONST_VTBL struct ISIPElementVtbl *lpVtbl;
  382. };
  383. #ifdef COBJMACROS
  384. #define ISIPElement_QueryInterface(This,riid,ppvObject) \
  385. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  386. #define ISIPElement_AddRef(This) \
  387. (This)->lpVtbl -> AddRef(This)
  388. #define ISIPElement_Release(This) \
  389. (This)->lpVtbl -> Release(This)
  390. #define ISIPElement_GetContentString(This,pstrContent) \
  391. (This)->lpVtbl -> GetContentString(This,pstrContent)
  392. #endif /* COBJMACROS */
  393. #endif /* C style interface */
  394. HRESULT STDMETHODCALLTYPE ISIPElement_GetContentString_Proxy(
  395. ISIPElement * This,
  396. /* [out] */ PSTRING pstrContent);
  397. void __RPC_STUB ISIPElement_GetContentString_Stub(
  398. IRpcStubBuffer *This,
  399. IRpcChannelBuffer *_pRpcChannelBuffer,
  400. PRPC_MESSAGE _pRpcMessage,
  401. DWORD *_pdwStubPhase);
  402. #endif /* __ISIPElement_INTERFACE_DEFINED__ */
  403. #ifndef __ISIPHeader_INTERFACE_DEFINED__
  404. #define __ISIPHeader_INTERFACE_DEFINED__
  405. /* interface ISIPHeader */
  406. /* [unique][helpstring][uuid][object][local] */
  407. EXTERN_C const IID IID_ISIPHeader;
  408. #if defined(__cplusplus) && !defined(CINTERFACE)
  409. MIDL_INTERFACE("f59970a5-6f54-4269-9b96-416f8d231a85")
  410. ISIPHeader : public ISIPElement
  411. {
  412. public:
  413. virtual HRESULT STDMETHODCALLTYPE GetHeaderID(
  414. /* [out] */ SIPHeaderID *pHeaderID) = 0;
  415. virtual HRESULT STDMETHODCALLTYPE GetHeaderNameString(
  416. /* [out] */ PSTRING pstrHeaderNameString) = 0;
  417. };
  418. #else /* C style interface */
  419. typedef struct ISIPHeaderVtbl
  420. {
  421. BEGIN_INTERFACE
  422. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  423. ISIPHeader * This,
  424. /* [in] */ REFIID riid,
  425. /* [iid_is][out] */ void **ppvObject);
  426. ULONG ( STDMETHODCALLTYPE *AddRef )(
  427. ISIPHeader * This);
  428. ULONG ( STDMETHODCALLTYPE *Release )(
  429. ISIPHeader * This);
  430. HRESULT ( STDMETHODCALLTYPE *GetContentString )(
  431. ISIPHeader * This,
  432. /* [out] */ PSTRING pstrContent);
  433. HRESULT ( STDMETHODCALLTYPE *GetHeaderID )(
  434. ISIPHeader * This,
  435. /* [out] */ SIPHeaderID *pHeaderID);
  436. HRESULT ( STDMETHODCALLTYPE *GetHeaderNameString )(
  437. ISIPHeader * This,
  438. /* [out] */ PSTRING pstrHeaderNameString);
  439. END_INTERFACE
  440. } ISIPHeaderVtbl;
  441. interface ISIPHeader
  442. {
  443. CONST_VTBL struct ISIPHeaderVtbl *lpVtbl;
  444. };
  445. #ifdef COBJMACROS
  446. #define ISIPHeader_QueryInterface(This,riid,ppvObject) \
  447. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  448. #define ISIPHeader_AddRef(This) \
  449. (This)->lpVtbl -> AddRef(This)
  450. #define ISIPHeader_Release(This) \
  451. (This)->lpVtbl -> Release(This)
  452. #define ISIPHeader_GetContentString(This,pstrContent) \
  453. (This)->lpVtbl -> GetContentString(This,pstrContent)
  454. #define ISIPHeader_GetHeaderID(This,pHeaderID) \
  455. (This)->lpVtbl -> GetHeaderID(This,pHeaderID)
  456. #define ISIPHeader_GetHeaderNameString(This,pstrHeaderNameString) \
  457. (This)->lpVtbl -> GetHeaderNameString(This,pstrHeaderNameString)
  458. #endif /* COBJMACROS */
  459. #endif /* C style interface */
  460. HRESULT STDMETHODCALLTYPE ISIPHeader_GetHeaderID_Proxy(
  461. ISIPHeader * This,
  462. /* [out] */ SIPHeaderID *pHeaderID);
  463. void __RPC_STUB ISIPHeader_GetHeaderID_Stub(
  464. IRpcStubBuffer *This,
  465. IRpcChannelBuffer *_pRpcChannelBuffer,
  466. PRPC_MESSAGE _pRpcMessage,
  467. DWORD *_pdwStubPhase);
  468. HRESULT STDMETHODCALLTYPE ISIPHeader_GetHeaderNameString_Proxy(
  469. ISIPHeader * This,
  470. /* [out] */ PSTRING pstrHeaderNameString);
  471. void __RPC_STUB ISIPHeader_GetHeaderNameString_Stub(
  472. IRpcStubBuffer *This,
  473. IRpcChannelBuffer *_pRpcChannelBuffer,
  474. PRPC_MESSAGE _pRpcMessage,
  475. DWORD *_pdwStubPhase);
  476. #endif /* __ISIPHeader_INTERFACE_DEFINED__ */
  477. #ifndef __IUri_INTERFACE_DEFINED__
  478. #define __IUri_INTERFACE_DEFINED__
  479. /* interface IUri */
  480. /* [unique][helpstring][uuid][object][local] */
  481. EXTERN_C const IID IID_IUri;
  482. #if defined(__cplusplus) && !defined(CINTERFACE)
  483. MIDL_INTERFACE("3ff9e85e-b735-4384-aff8-0f72d6dad59d")
  484. IUri : public ISIPElement
  485. {
  486. public:
  487. virtual HRESULT STDMETHODCALLTYPE GetURIScheme(
  488. /* [out] */ URI_SCHEME *pUriScheme) = 0;
  489. virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
  490. /* [out] */ PSTRING pstrDisplayName) = 0;
  491. virtual HRESULT STDMETHODCALLTYPE GetUser(
  492. /* [out] */ PSTRING pstrUser) = 0;
  493. virtual HRESULT STDMETHODCALLTYPE GetPassword(
  494. /* [out] */ PSTRING pstrPassword) = 0;
  495. virtual HRESULT STDMETHODCALLTYPE GetHost(
  496. /* [out] */ PSTRING pstrHost) = 0;
  497. virtual HRESULT STDMETHODCALLTYPE GetPort(
  498. /* [out] */ PSTRING pstrPort) = 0;
  499. virtual HRESULT STDMETHODCALLTYPE GetUserAtHost(
  500. /* [out] */ PSTRING pstrUserName) = 0;
  501. };
  502. #else /* C style interface */
  503. typedef struct IUriVtbl
  504. {
  505. BEGIN_INTERFACE
  506. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  507. IUri * This,
  508. /* [in] */ REFIID riid,
  509. /* [iid_is][out] */ void **ppvObject);
  510. ULONG ( STDMETHODCALLTYPE *AddRef )(
  511. IUri * This);
  512. ULONG ( STDMETHODCALLTYPE *Release )(
  513. IUri * This);
  514. HRESULT ( STDMETHODCALLTYPE *GetContentString )(
  515. IUri * This,
  516. /* [out] */ PSTRING pstrContent);
  517. HRESULT ( STDMETHODCALLTYPE *GetURIScheme )(
  518. IUri * This,
  519. /* [out] */ URI_SCHEME *pUriScheme);
  520. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  521. IUri * This,
  522. /* [out] */ PSTRING pstrDisplayName);
  523. HRESULT ( STDMETHODCALLTYPE *GetUser )(
  524. IUri * This,
  525. /* [out] */ PSTRING pstrUser);
  526. HRESULT ( STDMETHODCALLTYPE *GetPassword )(
  527. IUri * This,
  528. /* [out] */ PSTRING pstrPassword);
  529. HRESULT ( STDMETHODCALLTYPE *GetHost )(
  530. IUri * This,
  531. /* [out] */ PSTRING pstrHost);
  532. HRESULT ( STDMETHODCALLTYPE *GetPort )(
  533. IUri * This,
  534. /* [out] */ PSTRING pstrPort);
  535. HRESULT ( STDMETHODCALLTYPE *GetUserAtHost )(
  536. IUri * This,
  537. /* [out] */ PSTRING pstrUserName);
  538. END_INTERFACE
  539. } IUriVtbl;
  540. interface IUri
  541. {
  542. CONST_VTBL struct IUriVtbl *lpVtbl;
  543. };
  544. #ifdef COBJMACROS
  545. #define IUri_QueryInterface(This,riid,ppvObject) \
  546. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  547. #define IUri_AddRef(This) \
  548. (This)->lpVtbl -> AddRef(This)
  549. #define IUri_Release(This) \
  550. (This)->lpVtbl -> Release(This)
  551. #define IUri_GetContentString(This,pstrContent) \
  552. (This)->lpVtbl -> GetContentString(This,pstrContent)
  553. #define IUri_GetURIScheme(This,pUriScheme) \
  554. (This)->lpVtbl -> GetURIScheme(This,pUriScheme)
  555. #define IUri_GetDisplayName(This,pstrDisplayName) \
  556. (This)->lpVtbl -> GetDisplayName(This,pstrDisplayName)
  557. #define IUri_GetUser(This,pstrUser) \
  558. (This)->lpVtbl -> GetUser(This,pstrUser)
  559. #define IUri_GetPassword(This,pstrPassword) \
  560. (This)->lpVtbl -> GetPassword(This,pstrPassword)
  561. #define IUri_GetHost(This,pstrHost) \
  562. (This)->lpVtbl -> GetHost(This,pstrHost)
  563. #define IUri_GetPort(This,pstrPort) \
  564. (This)->lpVtbl -> GetPort(This,pstrPort)
  565. #define IUri_GetUserAtHost(This,pstrUserName) \
  566. (This)->lpVtbl -> GetUserAtHost(This,pstrUserName)
  567. #endif /* COBJMACROS */
  568. #endif /* C style interface */
  569. HRESULT STDMETHODCALLTYPE IUri_GetURIScheme_Proxy(
  570. IUri * This,
  571. /* [out] */ URI_SCHEME *pUriScheme);
  572. void __RPC_STUB IUri_GetURIScheme_Stub(
  573. IRpcStubBuffer *This,
  574. IRpcChannelBuffer *_pRpcChannelBuffer,
  575. PRPC_MESSAGE _pRpcMessage,
  576. DWORD *_pdwStubPhase);
  577. HRESULT STDMETHODCALLTYPE IUri_GetDisplayName_Proxy(
  578. IUri * This,
  579. /* [out] */ PSTRING pstrDisplayName);
  580. void __RPC_STUB IUri_GetDisplayName_Stub(
  581. IRpcStubBuffer *This,
  582. IRpcChannelBuffer *_pRpcChannelBuffer,
  583. PRPC_MESSAGE _pRpcMessage,
  584. DWORD *_pdwStubPhase);
  585. HRESULT STDMETHODCALLTYPE IUri_GetUser_Proxy(
  586. IUri * This,
  587. /* [out] */ PSTRING pstrUser);
  588. void __RPC_STUB IUri_GetUser_Stub(
  589. IRpcStubBuffer *This,
  590. IRpcChannelBuffer *_pRpcChannelBuffer,
  591. PRPC_MESSAGE _pRpcMessage,
  592. DWORD *_pdwStubPhase);
  593. HRESULT STDMETHODCALLTYPE IUri_GetPassword_Proxy(
  594. IUri * This,
  595. /* [out] */ PSTRING pstrPassword);
  596. void __RPC_STUB IUri_GetPassword_Stub(
  597. IRpcStubBuffer *This,
  598. IRpcChannelBuffer *_pRpcChannelBuffer,
  599. PRPC_MESSAGE _pRpcMessage,
  600. DWORD *_pdwStubPhase);
  601. HRESULT STDMETHODCALLTYPE IUri_GetHost_Proxy(
  602. IUri * This,
  603. /* [out] */ PSTRING pstrHost);
  604. void __RPC_STUB IUri_GetHost_Stub(
  605. IRpcStubBuffer *This,
  606. IRpcChannelBuffer *_pRpcChannelBuffer,
  607. PRPC_MESSAGE _pRpcMessage,
  608. DWORD *_pdwStubPhase);
  609. HRESULT STDMETHODCALLTYPE IUri_GetPort_Proxy(
  610. IUri * This,
  611. /* [out] */ PSTRING pstrPort);
  612. void __RPC_STUB IUri_GetPort_Stub(
  613. IRpcStubBuffer *This,
  614. IRpcChannelBuffer *_pRpcChannelBuffer,
  615. PRPC_MESSAGE _pRpcMessage,
  616. DWORD *_pdwStubPhase);
  617. HRESULT STDMETHODCALLTYPE IUri_GetUserAtHost_Proxy(
  618. IUri * This,
  619. /* [out] */ PSTRING pstrUserName);
  620. void __RPC_STUB IUri_GetUserAtHost_Stub(
  621. IRpcStubBuffer *This,
  622. IRpcChannelBuffer *_pRpcChannelBuffer,
  623. PRPC_MESSAGE _pRpcMessage,
  624. DWORD *_pdwStubPhase);
  625. #endif /* __IUri_INTERFACE_DEFINED__ */
  626. #ifndef __ISIPUrl_INTERFACE_DEFINED__
  627. #define __ISIPUrl_INTERFACE_DEFINED__
  628. /* interface ISIPUrl */
  629. /* [unique][helpstring][uuid][object][local] */
  630. EXTERN_C const IID IID_ISIPUrl;
  631. #if defined(__cplusplus) && !defined(CINTERFACE)
  632. MIDL_INTERFACE("45af89e5-b0aa-423f-bb54-d623b1505642")
  633. ISIPUrl : public IUri
  634. {
  635. public:
  636. virtual HRESULT STDMETHODCALLTYPE GetTransport(
  637. /* [out] */ PSTRING pstrTransport) = 0;
  638. virtual HRESULT STDMETHODCALLTYPE GetUserParam(
  639. /* [out] */ PSTRING pstrUserParam) = 0;
  640. virtual HRESULT STDMETHODCALLTYPE GetMethod(
  641. /* [out] */ PSTRING pstrMethod) = 0;
  642. virtual HRESULT STDMETHODCALLTYPE GetTtl(
  643. /* [out] */ PSTRING pstrTtl) = 0;
  644. virtual HRESULT STDMETHODCALLTYPE GetMaddr(
  645. /* [out] */ PSTRING pstrMaddr) = 0;
  646. virtual HRESULT STDMETHODCALLTYPE GetHeaders(
  647. /* [out] */ PSTRING pstrHeaders) = 0;
  648. };
  649. #else /* C style interface */
  650. typedef struct ISIPUrlVtbl
  651. {
  652. BEGIN_INTERFACE
  653. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  654. ISIPUrl * This,
  655. /* [in] */ REFIID riid,
  656. /* [iid_is][out] */ void **ppvObject);
  657. ULONG ( STDMETHODCALLTYPE *AddRef )(
  658. ISIPUrl * This);
  659. ULONG ( STDMETHODCALLTYPE *Release )(
  660. ISIPUrl * This);
  661. HRESULT ( STDMETHODCALLTYPE *GetContentString )(
  662. ISIPUrl * This,
  663. /* [out] */ PSTRING pstrContent);
  664. HRESULT ( STDMETHODCALLTYPE *GetURIScheme )(
  665. ISIPUrl * This,
  666. /* [out] */ URI_SCHEME *pUriScheme);
  667. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  668. ISIPUrl * This,
  669. /* [out] */ PSTRING pstrDisplayName);
  670. HRESULT ( STDMETHODCALLTYPE *GetUser )(
  671. ISIPUrl * This,
  672. /* [out] */ PSTRING pstrUser);
  673. HRESULT ( STDMETHODCALLTYPE *GetPassword )(
  674. ISIPUrl * This,
  675. /* [out] */ PSTRING pstrPassword);
  676. HRESULT ( STDMETHODCALLTYPE *GetHost )(
  677. ISIPUrl * This,
  678. /* [out] */ PSTRING pstrHost);
  679. HRESULT ( STDMETHODCALLTYPE *GetPort )(
  680. ISIPUrl * This,
  681. /* [out] */ PSTRING pstrPort);
  682. HRESULT ( STDMETHODCALLTYPE *GetUserAtHost )(
  683. ISIPUrl * This,
  684. /* [out] */ PSTRING pstrUserName);
  685. HRESULT ( STDMETHODCALLTYPE *GetTransport )(
  686. ISIPUrl * This,
  687. /* [out] */ PSTRING pstrTransport);
  688. HRESULT ( STDMETHODCALLTYPE *GetUserParam )(
  689. ISIPUrl * This,
  690. /* [out] */ PSTRING pstrUserParam);
  691. HRESULT ( STDMETHODCALLTYPE *GetMethod )(
  692. ISIPUrl * This,
  693. /* [out] */ PSTRING pstrMethod);
  694. HRESULT ( STDMETHODCALLTYPE *GetTtl )(
  695. ISIPUrl * This,
  696. /* [out] */ PSTRING pstrTtl);
  697. HRESULT ( STDMETHODCALLTYPE *GetMaddr )(
  698. ISIPUrl * This,
  699. /* [out] */ PSTRING pstrMaddr);
  700. HRESULT ( STDMETHODCALLTYPE *GetHeaders )(
  701. ISIPUrl * This,
  702. /* [out] */ PSTRING pstrHeaders);
  703. END_INTERFACE
  704. } ISIPUrlVtbl;
  705. interface ISIPUrl
  706. {
  707. CONST_VTBL struct ISIPUrlVtbl *lpVtbl;
  708. };
  709. #ifdef COBJMACROS
  710. #define ISIPUrl_QueryInterface(This,riid,ppvObject) \
  711. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  712. #define ISIPUrl_AddRef(This) \
  713. (This)->lpVtbl -> AddRef(This)
  714. #define ISIPUrl_Release(This) \
  715. (This)->lpVtbl -> Release(This)
  716. #define ISIPUrl_GetContentString(This,pstrContent) \
  717. (This)->lpVtbl -> GetContentString(This,pstrContent)
  718. #define ISIPUrl_GetURIScheme(This,pUriScheme) \
  719. (This)->lpVtbl -> GetURIScheme(This,pUriScheme)
  720. #define ISIPUrl_GetDisplayName(This,pstrDisplayName) \
  721. (This)->lpVtbl -> GetDisplayName(This,pstrDisplayName)
  722. #define ISIPUrl_GetUser(This,pstrUser) \
  723. (This)->lpVtbl -> GetUser(This,pstrUser)
  724. #define ISIPUrl_GetPassword(This,pstrPassword) \
  725. (This)->lpVtbl -> GetPassword(This,pstrPassword)
  726. #define ISIPUrl_GetHost(This,pstrHost) \
  727. (This)->lpVtbl -> GetHost(This,pstrHost)
  728. #define ISIPUrl_GetPort(This,pstrPort) \
  729. (This)->lpVtbl -> GetPort(This,pstrPort)
  730. #define ISIPUrl_GetUserAtHost(This,pstrUserName) \
  731. (This)->lpVtbl -> GetUserAtHost(This,pstrUserName)
  732. #define ISIPUrl_GetTransport(This,pstrTransport) \
  733. (This)->lpVtbl -> GetTransport(This,pstrTransport)
  734. #define ISIPUrl_GetUserParam(This,pstrUserParam) \
  735. (This)->lpVtbl -> GetUserParam(This,pstrUserParam)
  736. #define ISIPUrl_GetMethod(This,pstrMethod) \
  737. (This)->lpVtbl -> GetMethod(This,pstrMethod)
  738. #define ISIPUrl_GetTtl(This,pstrTtl) \
  739. (This)->lpVtbl -> GetTtl(This,pstrTtl)
  740. #define ISIPUrl_GetMaddr(This,pstrMaddr) \
  741. (This)->lpVtbl -> GetMaddr(This,pstrMaddr)
  742. #define ISIPUrl_GetHeaders(This,pstrHeaders) \
  743. (This)->lpVtbl -> GetHeaders(This,pstrHeaders)
  744. #endif /* COBJMACROS */
  745. #endif /* C style interface */
  746. HRESULT STDMETHODCALLTYPE ISIPUrl_GetTransport_Proxy(
  747. ISIPUrl * This,
  748. /* [out] */ PSTRING pstrTransport);
  749. void __RPC_STUB ISIPUrl_GetTransport_Stub(
  750. IRpcStubBuffer *This,
  751. IRpcChannelBuffer *_pRpcChannelBuffer,
  752. PRPC_MESSAGE _pRpcMessage,
  753. DWORD *_pdwStubPhase);
  754. HRESULT STDMETHODCALLTYPE ISIPUrl_GetUserParam_Proxy(
  755. ISIPUrl * This,
  756. /* [out] */ PSTRING pstrUserParam);
  757. void __RPC_STUB ISIPUrl_GetUserParam_Stub(
  758. IRpcStubBuffer *This,
  759. IRpcChannelBuffer *_pRpcChannelBuffer,
  760. PRPC_MESSAGE _pRpcMessage,
  761. DWORD *_pdwStubPhase);
  762. HRESULT STDMETHODCALLTYPE ISIPUrl_GetMethod_Proxy(
  763. ISIPUrl * This,
  764. /* [out] */ PSTRING pstrMethod);
  765. void __RPC_STUB ISIPUrl_GetMethod_Stub(
  766. IRpcStubBuffer *This,
  767. IRpcChannelBuffer *_pRpcChannelBuffer,
  768. PRPC_MESSAGE _pRpcMessage,
  769. DWORD *_pdwStubPhase);
  770. HRESULT STDMETHODCALLTYPE ISIPUrl_GetTtl_Proxy(
  771. ISIPUrl * This,
  772. /* [out] */ PSTRING pstrTtl);
  773. void __RPC_STUB ISIPUrl_GetTtl_Stub(
  774. IRpcStubBuffer *This,
  775. IRpcChannelBuffer *_pRpcChannelBuffer,
  776. PRPC_MESSAGE _pRpcMessage,
  777. DWORD *_pdwStubPhase);
  778. HRESULT STDMETHODCALLTYPE ISIPUrl_GetMaddr_Proxy(
  779. ISIPUrl * This,
  780. /* [out] */ PSTRING pstrMaddr);
  781. void __RPC_STUB ISIPUrl_GetMaddr_Stub(
  782. IRpcStubBuffer *This,
  783. IRpcChannelBuffer *_pRpcChannelBuffer,
  784. PRPC_MESSAGE _pRpcMessage,
  785. DWORD *_pdwStubPhase);
  786. HRESULT STDMETHODCALLTYPE ISIPUrl_GetHeaders_Proxy(
  787. ISIPUrl * This,
  788. /* [out] */ PSTRING pstrHeaders);
  789. void __RPC_STUB ISIPUrl_GetHeaders_Stub(
  790. IRpcStubBuffer *This,
  791. IRpcChannelBuffer *_pRpcChannelBuffer,
  792. PRPC_MESSAGE _pRpcMessage,
  793. DWORD *_pdwStubPhase);
  794. #endif /* __ISIPUrl_INTERFACE_DEFINED__ */
  795. #ifndef __ISIPFromToHeader_INTERFACE_DEFINED__
  796. #define __ISIPFromToHeader_INTERFACE_DEFINED__
  797. /* interface ISIPFromToHeader */
  798. /* [unique][helpstring][uuid][object][local] */
  799. EXTERN_C const IID IID_ISIPFromToHeader;
  800. #if defined(__cplusplus) && !defined(CINTERFACE)
  801. MIDL_INTERFACE("4fd9e8f8-b6a4-4391-b03b-9d89b8b0a02b")
  802. ISIPFromToHeader : public ISIPHeader
  803. {
  804. public:
  805. virtual HRESULT STDMETHODCALLTYPE GetUri(
  806. /* [out] */ IUri **ppUri) = 0;
  807. virtual HRESULT STDMETHODCALLTYPE GetTag(
  808. /* [out] */ STRING *pstrTag) = 0;
  809. };
  810. #else /* C style interface */
  811. typedef struct ISIPFromToHeaderVtbl
  812. {
  813. BEGIN_INTERFACE
  814. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  815. ISIPFromToHeader * This,
  816. /* [in] */ REFIID riid,
  817. /* [iid_is][out] */ void **ppvObject);
  818. ULONG ( STDMETHODCALLTYPE *AddRef )(
  819. ISIPFromToHeader * This);
  820. ULONG ( STDMETHODCALLTYPE *Release )(
  821. ISIPFromToHeader * This);
  822. HRESULT ( STDMETHODCALLTYPE *GetContentString )(
  823. ISIPFromToHeader * This,
  824. /* [out] */ PSTRING pstrContent);
  825. HRESULT ( STDMETHODCALLTYPE *GetHeaderID )(
  826. ISIPFromToHeader * This,
  827. /* [out] */ SIPHeaderID *pHeaderID);
  828. HRESULT ( STDMETHODCALLTYPE *GetHeaderNameString )(
  829. ISIPFromToHeader * This,
  830. /* [out] */ PSTRING pstrHeaderNameString);
  831. HRESULT ( STDMETHODCALLTYPE *GetUri )(
  832. ISIPFromToHeader * This,
  833. /* [out] */ IUri **ppUri);
  834. HRESULT ( STDMETHODCALLTYPE *GetTag )(
  835. ISIPFromToHeader * This,
  836. /* [out] */ STRING *pstrTag);
  837. END_INTERFACE
  838. } ISIPFromToHeaderVtbl;
  839. interface ISIPFromToHeader
  840. {
  841. CONST_VTBL struct ISIPFromToHeaderVtbl *lpVtbl;
  842. };
  843. #ifdef COBJMACROS
  844. #define ISIPFromToHeader_QueryInterface(This,riid,ppvObject) \
  845. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  846. #define ISIPFromToHeader_AddRef(This) \
  847. (This)->lpVtbl -> AddRef(This)
  848. #define ISIPFromToHeader_Release(This) \
  849. (This)->lpVtbl -> Release(This)
  850. #define ISIPFromToHeader_GetContentString(This,pstrContent) \
  851. (This)->lpVtbl -> GetContentString(This,pstrContent)
  852. #define ISIPFromToHeader_GetHeaderID(This,pHeaderID) \
  853. (This)->lpVtbl -> GetHeaderID(This,pHeaderID)
  854. #define ISIPFromToHeader_GetHeaderNameString(This,pstrHeaderNameString) \
  855. (This)->lpVtbl -> GetHeaderNameString(This,pstrHeaderNameString)
  856. #define ISIPFromToHeader_GetUri(This,ppUri) \
  857. (This)->lpVtbl -> GetUri(This,ppUri)
  858. #define ISIPFromToHeader_GetTag(This,pstrTag) \
  859. (This)->lpVtbl -> GetTag(This,pstrTag)
  860. #endif /* COBJMACROS */
  861. #endif /* C style interface */
  862. HRESULT STDMETHODCALLTYPE ISIPFromToHeader_GetUri_Proxy(
  863. ISIPFromToHeader * This,
  864. /* [out] */ IUri **ppUri);
  865. void __RPC_STUB ISIPFromToHeader_GetUri_Stub(
  866. IRpcStubBuffer *This,
  867. IRpcChannelBuffer *_pRpcChannelBuffer,
  868. PRPC_MESSAGE _pRpcMessage,
  869. DWORD *_pdwStubPhase);
  870. HRESULT STDMETHODCALLTYPE ISIPFromToHeader_GetTag_Proxy(
  871. ISIPFromToHeader * This,
  872. /* [out] */ STRING *pstrTag);
  873. void __RPC_STUB ISIPFromToHeader_GetTag_Stub(
  874. IRpcStubBuffer *This,
  875. IRpcChannelBuffer *_pRpcChannelBuffer,
  876. PRPC_MESSAGE _pRpcMessage,
  877. DWORD *_pdwStubPhase);
  878. #endif /* __ISIPFromToHeader_INTERFACE_DEFINED__ */
  879. #ifndef __ISIPContactEntry_INTERFACE_DEFINED__
  880. #define __ISIPContactEntry_INTERFACE_DEFINED__
  881. /* interface ISIPContactEntry */
  882. /* [unique][helpstring][uuid][object][local] */
  883. EXTERN_C const IID IID_ISIPContactEntry;
  884. #if defined(__cplusplus) && !defined(CINTERFACE)
  885. MIDL_INTERFACE("0c64209e-6276-4b95-baee-20e0b0e8332b")
  886. ISIPContactEntry : public ISIPElement
  887. {
  888. public:
  889. virtual HRESULT STDMETHODCALLTYPE IsAll(
  890. /* [out] */ BOOL *pbAll) = 0;
  891. virtual HRESULT STDMETHODCALLTYPE GetUri(
  892. /* [out] */ IUri **ppUri) = 0;
  893. virtual HRESULT STDMETHODCALLTYPE GetAction(
  894. /* [out] */ CONTACT_ACTION *pAction) = 0;
  895. virtual HRESULT STDMETHODCALLTYPE GetQValue(
  896. /* [out] */ DWORD *pdwQValue) = 0;
  897. virtual HRESULT STDMETHODCALLTYPE GetExpires(
  898. /* [out] */ PSTRING pstrExpires) = 0;
  899. virtual HRESULT STDMETHODCALLTYPE SetExpires(
  900. /* [in] */ PSTRING pstrExpires) = 0;
  901. virtual HRESULT STDMETHODCALLTYPE GetGenericParameter(
  902. /* [in] */ PSTRING pstrParamName,
  903. /* [out] */ PSTRING pstrParamValue) = 0;
  904. };
  905. #else /* C style interface */
  906. typedef struct ISIPContactEntryVtbl
  907. {
  908. BEGIN_INTERFACE
  909. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  910. ISIPContactEntry * This,
  911. /* [in] */ REFIID riid,
  912. /* [iid_is][out] */ void **ppvObject);
  913. ULONG ( STDMETHODCALLTYPE *AddRef )(
  914. ISIPContactEntry * This);
  915. ULONG ( STDMETHODCALLTYPE *Release )(
  916. ISIPContactEntry * This);
  917. HRESULT ( STDMETHODCALLTYPE *GetContentString )(
  918. ISIPContactEntry * This,
  919. /* [out] */ PSTRING pstrContent);
  920. HRESULT ( STDMETHODCALLTYPE *IsAll )(
  921. ISIPContactEntry * This,
  922. /* [out] */ BOOL *pbAll);
  923. HRESULT ( STDMETHODCALLTYPE *GetUri )(
  924. ISIPContactEntry * This,
  925. /* [out] */ IUri **ppUri);
  926. HRESULT ( STDMETHODCALLTYPE *GetAction )(
  927. ISIPContactEntry * This,
  928. /* [out] */ CONTACT_ACTION *pAction);
  929. HRESULT ( STDMETHODCALLTYPE *GetQValue )(
  930. ISIPContactEntry * This,
  931. /* [out] */ DWORD *pdwQValue);
  932. HRESULT ( STDMETHODCALLTYPE *GetExpires )(
  933. ISIPContactEntry * This,
  934. /* [out] */ PSTRING pstrExpires);
  935. HRESULT ( STDMETHODCALLTYPE *SetExpires )(
  936. ISIPContactEntry * This,
  937. /* [in] */ PSTRING pstrExpires);
  938. HRESULT ( STDMETHODCALLTYPE *GetGenericParameter )(
  939. ISIPContactEntry * This,
  940. /* [in] */ PSTRING pstrParamName,
  941. /* [out] */ PSTRING pstrParamValue);
  942. END_INTERFACE
  943. } ISIPContactEntryVtbl;
  944. interface ISIPContactEntry
  945. {
  946. CONST_VTBL struct ISIPContactEntryVtbl *lpVtbl;
  947. };
  948. #ifdef COBJMACROS
  949. #define ISIPContactEntry_QueryInterface(This,riid,ppvObject) \
  950. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  951. #define ISIPContactEntry_AddRef(This) \
  952. (This)->lpVtbl -> AddRef(This)
  953. #define ISIPContactEntry_Release(This) \
  954. (This)->lpVtbl -> Release(This)
  955. #define ISIPContactEntry_GetContentString(This,pstrContent) \
  956. (This)->lpVtbl -> GetContentString(This,pstrContent)
  957. #define ISIPContactEntry_IsAll(This,pbAll) \
  958. (This)->lpVtbl -> IsAll(This,pbAll)
  959. #define ISIPContactEntry_GetUri(This,ppUri) \
  960. (This)->lpVtbl -> GetUri(This,ppUri)
  961. #define ISIPContactEntry_GetAction(This,pAction) \
  962. (This)->lpVtbl -> GetAction(This,pAction)
  963. #define ISIPContactEntry_GetQValue(This,pdwQValue) \
  964. (This)->lpVtbl -> GetQValue(This,pdwQValue)
  965. #define ISIPContactEntry_GetExpires(This,pstrExpires) \
  966. (This)->lpVtbl -> GetExpires(This,pstrExpires)
  967. #define ISIPContactEntry_SetExpires(This,pstrExpires) \
  968. (This)->lpVtbl -> SetExpires(This,pstrExpires)
  969. #define ISIPContactEntry_GetGenericParameter(This,pstrParamName,pstrParamValue) \
  970. (This)->lpVtbl -> GetGenericParameter(This,pstrParamName,pstrParamValue)
  971. #endif /* COBJMACROS */
  972. #endif /* C style interface */
  973. HRESULT STDMETHODCALLTYPE ISIPContactEntry_IsAll_Proxy(
  974. ISIPContactEntry * This,
  975. /* [out] */ BOOL *pbAll);
  976. void __RPC_STUB ISIPContactEntry_IsAll_Stub(
  977. IRpcStubBuffer *This,
  978. IRpcChannelBuffer *_pRpcChannelBuffer,
  979. PRPC_MESSAGE _pRpcMessage,
  980. DWORD *_pdwStubPhase);
  981. HRESULT STDMETHODCALLTYPE ISIPContactEntry_GetUri_Proxy(
  982. ISIPContactEntry * This,
  983. /* [out] */ IUri **ppUri);
  984. void __RPC_STUB ISIPContactEntry_GetUri_Stub(
  985. IRpcStubBuffer *This,
  986. IRpcChannelBuffer *_pRpcChannelBuffer,
  987. PRPC_MESSAGE _pRpcMessage,
  988. DWORD *_pdwStubPhase);
  989. HRESULT STDMETHODCALLTYPE ISIPContactEntry_GetAction_Proxy(
  990. ISIPContactEntry * This,
  991. /* [out] */ CONTACT_ACTION *pAction);
  992. void __RPC_STUB ISIPContactEntry_GetAction_Stub(
  993. IRpcStubBuffer *This,
  994. IRpcChannelBuffer *_pRpcChannelBuffer,
  995. PRPC_MESSAGE _pRpcMessage,
  996. DWORD *_pdwStubPhase);
  997. HRESULT STDMETHODCALLTYPE ISIPContactEntry_GetQValue_Proxy(
  998. ISIPContactEntry * This,
  999. /* [out] */ DWORD *pdwQValue);
  1000. void __RPC_STUB ISIPContactEntry_GetQValue_Stub(
  1001. IRpcStubBuffer *This,
  1002. IRpcChannelBuffer *_pRpcChannelBuffer,
  1003. PRPC_MESSAGE _pRpcMessage,
  1004. DWORD *_pdwStubPhase);
  1005. HRESULT STDMETHODCALLTYPE ISIPContactEntry_GetExpires_Proxy(
  1006. ISIPContactEntry * This,
  1007. /* [out] */ PSTRING pstrExpires);
  1008. void __RPC_STUB ISIPContactEntry_GetExpires_Stub(
  1009. IRpcStubBuffer *This,
  1010. IRpcChannelBuffer *_pRpcChannelBuffer,
  1011. PRPC_MESSAGE _pRpcMessage,
  1012. DWORD *_pdwStubPhase);
  1013. HRESULT STDMETHODCALLTYPE ISIPContactEntry_SetExpires_Proxy(
  1014. ISIPContactEntry * This,
  1015. /* [in] */ PSTRING pstrExpires);
  1016. void __RPC_STUB ISIPContactEntry_SetExpires_Stub(
  1017. IRpcStubBuffer *This,
  1018. IRpcChannelBuffer *_pRpcChannelBuffer,
  1019. PRPC_MESSAGE _pRpcMessage,
  1020. DWORD *_pdwStubPhase);
  1021. HRESULT STDMETHODCALLTYPE ISIPContactEntry_GetGenericParameter_Proxy(
  1022. ISIPContactEntry * This,
  1023. /* [in] */ PSTRING pstrParamName,
  1024. /* [out] */ PSTRING pstrParamValue);
  1025. void __RPC_STUB ISIPContactEntry_GetGenericParameter_Stub(
  1026. IRpcStubBuffer *This,
  1027. IRpcChannelBuffer *_pRpcChannelBuffer,
  1028. PRPC_MESSAGE _pRpcMessage,
  1029. DWORD *_pdwStubPhase);
  1030. #endif /* __ISIPContactEntry_INTERFACE_DEFINED__ */
  1031. #ifndef __ISIPContactEnum_INTERFACE_DEFINED__
  1032. #define __ISIPContactEnum_INTERFACE_DEFINED__
  1033. /* interface ISIPContactEnum */
  1034. /* [unique][helpstring][uuid][object][local] */
  1035. EXTERN_C const IID IID_ISIPContactEnum;
  1036. #if defined(__cplusplus) && !defined(CINTERFACE)
  1037. MIDL_INTERFACE("7b219813-0e07-49d5-b029-289f3de2e12c")
  1038. ISIPContactEnum : public IUnknown
  1039. {
  1040. public:
  1041. virtual HRESULT STDMETHODCALLTYPE Next(
  1042. /* [out] */ ISIPContactEntry **ppContactEntry) = 0;
  1043. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1044. virtual HRESULT STDMETHODCALLTYPE Clone(
  1045. /* [out] */ ISIPContactEnum **ppTwinContactEnum) = 0;
  1046. };
  1047. #else /* C style interface */
  1048. typedef struct ISIPContactEnumVtbl
  1049. {
  1050. BEGIN_INTERFACE
  1051. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1052. ISIPContactEnum * This,
  1053. /* [in] */ REFIID riid,
  1054. /* [iid_is][out] */ void **ppvObject);
  1055. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1056. ISIPContactEnum * This);
  1057. ULONG ( STDMETHODCALLTYPE *Release )(
  1058. ISIPContactEnum * This);
  1059. HRESULT ( STDMETHODCALLTYPE *Next )(
  1060. ISIPContactEnum * This,
  1061. /* [out] */ ISIPContactEntry **ppContactEntry);
  1062. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1063. ISIPContactEnum * This);
  1064. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1065. ISIPContactEnum * This,
  1066. /* [out] */ ISIPContactEnum **ppTwinContactEnum);
  1067. END_INTERFACE
  1068. } ISIPContactEnumVtbl;
  1069. interface ISIPContactEnum
  1070. {
  1071. CONST_VTBL struct ISIPContactEnumVtbl *lpVtbl;
  1072. };
  1073. #ifdef COBJMACROS
  1074. #define ISIPContactEnum_QueryInterface(This,riid,ppvObject) \
  1075. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1076. #define ISIPContactEnum_AddRef(This) \
  1077. (This)->lpVtbl -> AddRef(This)
  1078. #define ISIPContactEnum_Release(This) \
  1079. (This)->lpVtbl -> Release(This)
  1080. #define ISIPContactEnum_Next(This,ppContactEntry) \
  1081. (This)->lpVtbl -> Next(This,ppContactEntry)
  1082. #define ISIPContactEnum_Reset(This) \
  1083. (This)->lpVtbl -> Reset(This)
  1084. #define ISIPContactEnum_Clone(This,ppTwinContactEnum) \
  1085. (This)->lpVtbl -> Clone(This,ppTwinContactEnum)
  1086. #endif /* COBJMACROS */
  1087. #endif /* C style interface */
  1088. HRESULT STDMETHODCALLTYPE ISIPContactEnum_Next_Proxy(
  1089. ISIPContactEnum * This,
  1090. /* [out] */ ISIPContactEntry **ppContactEntry);
  1091. void __RPC_STUB ISIPContactEnum_Next_Stub(
  1092. IRpcStubBuffer *This,
  1093. IRpcChannelBuffer *_pRpcChannelBuffer,
  1094. PRPC_MESSAGE _pRpcMessage,
  1095. DWORD *_pdwStubPhase);
  1096. HRESULT STDMETHODCALLTYPE ISIPContactEnum_Reset_Proxy(
  1097. ISIPContactEnum * This);
  1098. void __RPC_STUB ISIPContactEnum_Reset_Stub(
  1099. IRpcStubBuffer *This,
  1100. IRpcChannelBuffer *_pRpcChannelBuffer,
  1101. PRPC_MESSAGE _pRpcMessage,
  1102. DWORD *_pdwStubPhase);
  1103. HRESULT STDMETHODCALLTYPE ISIPContactEnum_Clone_Proxy(
  1104. ISIPContactEnum * This,
  1105. /* [out] */ ISIPContactEnum **ppTwinContactEnum);
  1106. void __RPC_STUB ISIPContactEnum_Clone_Stub(
  1107. IRpcStubBuffer *This,
  1108. IRpcChannelBuffer *_pRpcChannelBuffer,
  1109. PRPC_MESSAGE _pRpcMessage,
  1110. DWORD *_pdwStubPhase);
  1111. #endif /* __ISIPContactEnum_INTERFACE_DEFINED__ */
  1112. #ifndef __ISIPMessage_INTERFACE_DEFINED__
  1113. #define __ISIPMessage_INTERFACE_DEFINED__
  1114. /* interface ISIPMessage */
  1115. /* [unique][helpstring][uuid][object][local] */
  1116. EXTERN_C const IID IID_ISIPMessage;
  1117. #if defined(__cplusplus) && !defined(CINTERFACE)
  1118. MIDL_INTERFACE("48F2C19C-CB7A-4231-82EB-A6B5EC0A250A")
  1119. ISIPMessage : public IUnknown
  1120. {
  1121. public:
  1122. virtual HRESULT STDMETHODCALLTYPE IsIncomingMessage(
  1123. /* [retval][out] */ BOOL *pbIncomingMessage) = 0;
  1124. virtual HRESULT STDMETHODCALLTYPE GetSipVersion(
  1125. /* [out] */ PSTRING pstrSipVersion) = 0;
  1126. virtual HRESULT STDMETHODCALLTYPE GetHeader(
  1127. /* [in] */ SIPHeaderID headerID,
  1128. /* [retval][out] */ ISIPHeader **ppSipHeader) = 0;
  1129. virtual HRESULT STDMETHODCALLTYPE GetNextHeader(
  1130. /* [in] */ ISIPHeader *pSipHeader,
  1131. /* [retval][out] */ ISIPHeader **ppNextSipHeader) = 0;
  1132. virtual HRESULT STDMETHODCALLTYPE AddHeader(
  1133. /* [in] */ SIPHeaderID headerID,
  1134. /* [in] */ PSTRING pstrBuffer) = 0;
  1135. virtual HRESULT STDMETHODCALLTYPE DeleteHeader(
  1136. /* [in] */ ISIPHeader *pSipHeader) = 0;
  1137. virtual HRESULT STDMETHODCALLTYPE GetBody(
  1138. /* [out] */ PSTRING pstrBody) = 0;
  1139. virtual HRESULT STDMETHODCALLTYPE SetBody(
  1140. /* [in] */ PSTRING pstrBody) = 0;
  1141. virtual HRESULT STDMETHODCALLTYPE GetContactEnum(
  1142. /* [retval][out] */ ISIPContactEnum **ppContactEnum) = 0;
  1143. virtual HRESULT STDMETHODCALLTYPE Discard( void) = 0;
  1144. virtual HRESULT STDMETHODCALLTYPE Send( void) = 0;
  1145. virtual HRESULT STDMETHODCALLTYPE SetMessageContext(
  1146. /* [in] */ IUnknown *pMessageContext) = 0;
  1147. virtual HRESULT STDMETHODCALLTYPE GetMessageContext(
  1148. /* [out] */ IUnknown **ppMessageContext) = 0;
  1149. };
  1150. #else /* C style interface */
  1151. typedef struct ISIPMessageVtbl
  1152. {
  1153. BEGIN_INTERFACE
  1154. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1155. ISIPMessage * This,
  1156. /* [in] */ REFIID riid,
  1157. /* [iid_is][out] */ void **ppvObject);
  1158. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1159. ISIPMessage * This);
  1160. ULONG ( STDMETHODCALLTYPE *Release )(
  1161. ISIPMessage * This);
  1162. HRESULT ( STDMETHODCALLTYPE *IsIncomingMessage )(
  1163. ISIPMessage * This,
  1164. /* [retval][out] */ BOOL *pbIncomingMessage);
  1165. HRESULT ( STDMETHODCALLTYPE *GetSipVersion )(
  1166. ISIPMessage * This,
  1167. /* [out] */ PSTRING pstrSipVersion);
  1168. HRESULT ( STDMETHODCALLTYPE *GetHeader )(
  1169. ISIPMessage * This,
  1170. /* [in] */ SIPHeaderID headerID,
  1171. /* [retval][out] */ ISIPHeader **ppSipHeader);
  1172. HRESULT ( STDMETHODCALLTYPE *GetNextHeader )(
  1173. ISIPMessage * This,
  1174. /* [in] */ ISIPHeader *pSipHeader,
  1175. /* [retval][out] */ ISIPHeader **ppNextSipHeader);
  1176. HRESULT ( STDMETHODCALLTYPE *AddHeader )(
  1177. ISIPMessage * This,
  1178. /* [in] */ SIPHeaderID headerID,
  1179. /* [in] */ PSTRING pstrBuffer);
  1180. HRESULT ( STDMETHODCALLTYPE *DeleteHeader )(
  1181. ISIPMessage * This,
  1182. /* [in] */ ISIPHeader *pSipHeader);
  1183. HRESULT ( STDMETHODCALLTYPE *GetBody )(
  1184. ISIPMessage * This,
  1185. /* [out] */ PSTRING pstrBody);
  1186. HRESULT ( STDMETHODCALLTYPE *SetBody )(
  1187. ISIPMessage * This,
  1188. /* [in] */ PSTRING pstrBody);
  1189. HRESULT ( STDMETHODCALLTYPE *GetContactEnum )(
  1190. ISIPMessage * This,
  1191. /* [retval][out] */ ISIPContactEnum **ppContactEnum);
  1192. HRESULT ( STDMETHODCALLTYPE *Discard )(
  1193. ISIPMessage * This);
  1194. HRESULT ( STDMETHODCALLTYPE *Send )(
  1195. ISIPMessage * This);
  1196. HRESULT ( STDMETHODCALLTYPE *SetMessageContext )(
  1197. ISIPMessage * This,
  1198. /* [in] */ IUnknown *pMessageContext);
  1199. HRESULT ( STDMETHODCALLTYPE *GetMessageContext )(
  1200. ISIPMessage * This,
  1201. /* [out] */ IUnknown **ppMessageContext);
  1202. END_INTERFACE
  1203. } ISIPMessageVtbl;
  1204. interface ISIPMessage
  1205. {
  1206. CONST_VTBL struct ISIPMessageVtbl *lpVtbl;
  1207. };
  1208. #ifdef COBJMACROS
  1209. #define ISIPMessage_QueryInterface(This,riid,ppvObject) \
  1210. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1211. #define ISIPMessage_AddRef(This) \
  1212. (This)->lpVtbl -> AddRef(This)
  1213. #define ISIPMessage_Release(This) \
  1214. (This)->lpVtbl -> Release(This)
  1215. #define ISIPMessage_IsIncomingMessage(This,pbIncomingMessage) \
  1216. (This)->lpVtbl -> IsIncomingMessage(This,pbIncomingMessage)
  1217. #define ISIPMessage_GetSipVersion(This,pstrSipVersion) \
  1218. (This)->lpVtbl -> GetSipVersion(This,pstrSipVersion)
  1219. #define ISIPMessage_GetHeader(This,headerID,ppSipHeader) \
  1220. (This)->lpVtbl -> GetHeader(This,headerID,ppSipHeader)
  1221. #define ISIPMessage_GetNextHeader(This,pSipHeader,ppNextSipHeader) \
  1222. (This)->lpVtbl -> GetNextHeader(This,pSipHeader,ppNextSipHeader)
  1223. #define ISIPMessage_AddHeader(This,headerID,pstrBuffer) \
  1224. (This)->lpVtbl -> AddHeader(This,headerID,pstrBuffer)
  1225. #define ISIPMessage_DeleteHeader(This,pSipHeader) \
  1226. (This)->lpVtbl -> DeleteHeader(This,pSipHeader)
  1227. #define ISIPMessage_GetBody(This,pstrBody) \
  1228. (This)->lpVtbl -> GetBody(This,pstrBody)
  1229. #define ISIPMessage_SetBody(This,pstrBody) \
  1230. (This)->lpVtbl -> SetBody(This,pstrBody)
  1231. #define ISIPMessage_GetContactEnum(This,ppContactEnum) \
  1232. (This)->lpVtbl -> GetContactEnum(This,ppContactEnum)
  1233. #define ISIPMessage_Discard(This) \
  1234. (This)->lpVtbl -> Discard(This)
  1235. #define ISIPMessage_Send(This) \
  1236. (This)->lpVtbl -> Send(This)
  1237. #define ISIPMessage_SetMessageContext(This,pMessageContext) \
  1238. (This)->lpVtbl -> SetMessageContext(This,pMessageContext)
  1239. #define ISIPMessage_GetMessageContext(This,ppMessageContext) \
  1240. (This)->lpVtbl -> GetMessageContext(This,ppMessageContext)
  1241. #endif /* COBJMACROS */
  1242. #endif /* C style interface */
  1243. HRESULT STDMETHODCALLTYPE ISIPMessage_IsIncomingMessage_Proxy(
  1244. ISIPMessage * This,
  1245. /* [retval][out] */ BOOL *pbIncomingMessage);
  1246. void __RPC_STUB ISIPMessage_IsIncomingMessage_Stub(
  1247. IRpcStubBuffer *This,
  1248. IRpcChannelBuffer *_pRpcChannelBuffer,
  1249. PRPC_MESSAGE _pRpcMessage,
  1250. DWORD *_pdwStubPhase);
  1251. HRESULT STDMETHODCALLTYPE ISIPMessage_GetSipVersion_Proxy(
  1252. ISIPMessage * This,
  1253. /* [out] */ PSTRING pstrSipVersion);
  1254. void __RPC_STUB ISIPMessage_GetSipVersion_Stub(
  1255. IRpcStubBuffer *This,
  1256. IRpcChannelBuffer *_pRpcChannelBuffer,
  1257. PRPC_MESSAGE _pRpcMessage,
  1258. DWORD *_pdwStubPhase);
  1259. HRESULT STDMETHODCALLTYPE ISIPMessage_GetHeader_Proxy(
  1260. ISIPMessage * This,
  1261. /* [in] */ SIPHeaderID headerID,
  1262. /* [retval][out] */ ISIPHeader **ppSipHeader);
  1263. void __RPC_STUB ISIPMessage_GetHeader_Stub(
  1264. IRpcStubBuffer *This,
  1265. IRpcChannelBuffer *_pRpcChannelBuffer,
  1266. PRPC_MESSAGE _pRpcMessage,
  1267. DWORD *_pdwStubPhase);
  1268. HRESULT STDMETHODCALLTYPE ISIPMessage_GetNextHeader_Proxy(
  1269. ISIPMessage * This,
  1270. /* [in] */ ISIPHeader *pSipHeader,
  1271. /* [retval][out] */ ISIPHeader **ppNextSipHeader);
  1272. void __RPC_STUB ISIPMessage_GetNextHeader_Stub(
  1273. IRpcStubBuffer *This,
  1274. IRpcChannelBuffer *_pRpcChannelBuffer,
  1275. PRPC_MESSAGE _pRpcMessage,
  1276. DWORD *_pdwStubPhase);
  1277. HRESULT STDMETHODCALLTYPE ISIPMessage_AddHeader_Proxy(
  1278. ISIPMessage * This,
  1279. /* [in] */ SIPHeaderID headerID,
  1280. /* [in] */ PSTRING pstrBuffer);
  1281. void __RPC_STUB ISIPMessage_AddHeader_Stub(
  1282. IRpcStubBuffer *This,
  1283. IRpcChannelBuffer *_pRpcChannelBuffer,
  1284. PRPC_MESSAGE _pRpcMessage,
  1285. DWORD *_pdwStubPhase);
  1286. HRESULT STDMETHODCALLTYPE ISIPMessage_DeleteHeader_Proxy(
  1287. ISIPMessage * This,
  1288. /* [in] */ ISIPHeader *pSipHeader);
  1289. void __RPC_STUB ISIPMessage_DeleteHeader_Stub(
  1290. IRpcStubBuffer *This,
  1291. IRpcChannelBuffer *_pRpcChannelBuffer,
  1292. PRPC_MESSAGE _pRpcMessage,
  1293. DWORD *_pdwStubPhase);
  1294. HRESULT STDMETHODCALLTYPE ISIPMessage_GetBody_Proxy(
  1295. ISIPMessage * This,
  1296. /* [out] */ PSTRING pstrBody);
  1297. void __RPC_STUB ISIPMessage_GetBody_Stub(
  1298. IRpcStubBuffer *This,
  1299. IRpcChannelBuffer *_pRpcChannelBuffer,
  1300. PRPC_MESSAGE _pRpcMessage,
  1301. DWORD *_pdwStubPhase);
  1302. HRESULT STDMETHODCALLTYPE ISIPMessage_SetBody_Proxy(
  1303. ISIPMessage * This,
  1304. /* [in] */ PSTRING pstrBody);
  1305. void __RPC_STUB ISIPMessage_SetBody_Stub(
  1306. IRpcStubBuffer *This,
  1307. IRpcChannelBuffer *_pRpcChannelBuffer,
  1308. PRPC_MESSAGE _pRpcMessage,
  1309. DWORD *_pdwStubPhase);
  1310. HRESULT STDMETHODCALLTYPE ISIPMessage_GetContactEnum_Proxy(
  1311. ISIPMessage * This,
  1312. /* [retval][out] */ ISIPContactEnum **ppContactEnum);
  1313. void __RPC_STUB ISIPMessage_GetContactEnum_Stub(
  1314. IRpcStubBuffer *This,
  1315. IRpcChannelBuffer *_pRpcChannelBuffer,
  1316. PRPC_MESSAGE _pRpcMessage,
  1317. DWORD *_pdwStubPhase);
  1318. HRESULT STDMETHODCALLTYPE ISIPMessage_Discard_Proxy(
  1319. ISIPMessage * This);
  1320. void __RPC_STUB ISIPMessage_Discard_Stub(
  1321. IRpcStubBuffer *This,
  1322. IRpcChannelBuffer *_pRpcChannelBuffer,
  1323. PRPC_MESSAGE _pRpcMessage,
  1324. DWORD *_pdwStubPhase);
  1325. HRESULT STDMETHODCALLTYPE ISIPMessage_Send_Proxy(
  1326. ISIPMessage * This);
  1327. void __RPC_STUB ISIPMessage_Send_Stub(
  1328. IRpcStubBuffer *This,
  1329. IRpcChannelBuffer *_pRpcChannelBuffer,
  1330. PRPC_MESSAGE _pRpcMessage,
  1331. DWORD *_pdwStubPhase);
  1332. HRESULT STDMETHODCALLTYPE ISIPMessage_SetMessageContext_Proxy(
  1333. ISIPMessage * This,
  1334. /* [in] */ IUnknown *pMessageContext);
  1335. void __RPC_STUB ISIPMessage_SetMessageContext_Stub(
  1336. IRpcStubBuffer *This,
  1337. IRpcChannelBuffer *_pRpcChannelBuffer,
  1338. PRPC_MESSAGE _pRpcMessage,
  1339. DWORD *_pdwStubPhase);
  1340. HRESULT STDMETHODCALLTYPE ISIPMessage_GetMessageContext_Proxy(
  1341. ISIPMessage * This,
  1342. /* [out] */ IUnknown **ppMessageContext);
  1343. void __RPC_STUB ISIPMessage_GetMessageContext_Stub(
  1344. IRpcStubBuffer *This,
  1345. IRpcChannelBuffer *_pRpcChannelBuffer,
  1346. PRPC_MESSAGE _pRpcMessage,
  1347. DWORD *_pdwStubPhase);
  1348. #endif /* __ISIPMessage_INTERFACE_DEFINED__ */
  1349. #ifndef __ISIPRequest_INTERFACE_DEFINED__
  1350. #define __ISIPRequest_INTERFACE_DEFINED__
  1351. /* interface ISIPRequest */
  1352. /* [unique][helpstring][uuid][object][local] */
  1353. EXTERN_C const IID IID_ISIPRequest;
  1354. #if defined(__cplusplus) && !defined(CINTERFACE)
  1355. MIDL_INTERFACE("BB3BCA24-CD24-401c-9B0F-1223C13AEF57")
  1356. ISIPRequest : public ISIPMessage
  1357. {
  1358. public:
  1359. virtual HRESULT STDMETHODCALLTYPE GetMethod(
  1360. /* [out] */ PSTRING pstrMethod) = 0;
  1361. virtual HRESULT STDMETHODCALLTYPE GetRequestURI(
  1362. /* [out] */ IUri **ppSipRequestUri) = 0;
  1363. virtual HRESULT STDMETHODCALLTYPE GetAuthenticationInfo(
  1364. /* [out] */ ISIPAuthRequest **ppAuthentication) = 0;
  1365. virtual HRESULT STDMETHODCALLTYPE GetProxyRequestInfo(
  1366. /* [out] */ IUnknown **ppProxyRequestInfo) = 0;
  1367. virtual HRESULT STDMETHODCALLTYPE SetRequestURI(
  1368. /* [in] */ IUri *pSipRequestUri) = 0;
  1369. virtual HRESULT STDMETHODCALLTYPE Reply(
  1370. /* [in] */ DWORD dwStatusCode) = 0;
  1371. virtual HRESULT STDMETHODCALLTYPE CreateTypicalRequest(
  1372. /* [in] */ PSTRING pstrMethod,
  1373. /* [in] */ IUri *pSipRequestUri,
  1374. /* [in] */ IUnknown *pProxyRequestInfo,
  1375. /* [out] */ ISIPRequest **ppNewRequest) = 0;
  1376. virtual HRESULT STDMETHODCALLTYPE CreateTypicalResponse(
  1377. /* [in] */ DWORD dwStatusCode,
  1378. /* [in] */ PSTRING pstrReasonPhrase,
  1379. /* [out] */ ISIPResponse **ppSipResponse) = 0;
  1380. virtual HRESULT STDMETHODCALLTYPE AddRecordRoute( void) = 0;
  1381. };
  1382. #else /* C style interface */
  1383. typedef struct ISIPRequestVtbl
  1384. {
  1385. BEGIN_INTERFACE
  1386. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1387. ISIPRequest * This,
  1388. /* [in] */ REFIID riid,
  1389. /* [iid_is][out] */ void **ppvObject);
  1390. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1391. ISIPRequest * This);
  1392. ULONG ( STDMETHODCALLTYPE *Release )(
  1393. ISIPRequest * This);
  1394. HRESULT ( STDMETHODCALLTYPE *IsIncomingMessage )(
  1395. ISIPRequest * This,
  1396. /* [retval][out] */ BOOL *pbIncomingMessage);
  1397. HRESULT ( STDMETHODCALLTYPE *GetSipVersion )(
  1398. ISIPRequest * This,
  1399. /* [out] */ PSTRING pstrSipVersion);
  1400. HRESULT ( STDMETHODCALLTYPE *GetHeader )(
  1401. ISIPRequest * This,
  1402. /* [in] */ SIPHeaderID headerID,
  1403. /* [retval][out] */ ISIPHeader **ppSipHeader);
  1404. HRESULT ( STDMETHODCALLTYPE *GetNextHeader )(
  1405. ISIPRequest * This,
  1406. /* [in] */ ISIPHeader *pSipHeader,
  1407. /* [retval][out] */ ISIPHeader **ppNextSipHeader);
  1408. HRESULT ( STDMETHODCALLTYPE *AddHeader )(
  1409. ISIPRequest * This,
  1410. /* [in] */ SIPHeaderID headerID,
  1411. /* [in] */ PSTRING pstrBuffer);
  1412. HRESULT ( STDMETHODCALLTYPE *DeleteHeader )(
  1413. ISIPRequest * This,
  1414. /* [in] */ ISIPHeader *pSipHeader);
  1415. HRESULT ( STDMETHODCALLTYPE *GetBody )(
  1416. ISIPRequest * This,
  1417. /* [out] */ PSTRING pstrBody);
  1418. HRESULT ( STDMETHODCALLTYPE *SetBody )(
  1419. ISIPRequest * This,
  1420. /* [in] */ PSTRING pstrBody);
  1421. HRESULT ( STDMETHODCALLTYPE *GetContactEnum )(
  1422. ISIPRequest * This,
  1423. /* [retval][out] */ ISIPContactEnum **ppContactEnum);
  1424. HRESULT ( STDMETHODCALLTYPE *Discard )(
  1425. ISIPRequest * This);
  1426. HRESULT ( STDMETHODCALLTYPE *Send )(
  1427. ISIPRequest * This);
  1428. HRESULT ( STDMETHODCALLTYPE *SetMessageContext )(
  1429. ISIPRequest * This,
  1430. /* [in] */ IUnknown *pMessageContext);
  1431. HRESULT ( STDMETHODCALLTYPE *GetMessageContext )(
  1432. ISIPRequest * This,
  1433. /* [out] */ IUnknown **ppMessageContext);
  1434. HRESULT ( STDMETHODCALLTYPE *GetMethod )(
  1435. ISIPRequest * This,
  1436. /* [out] */ PSTRING pstrMethod);
  1437. HRESULT ( STDMETHODCALLTYPE *GetRequestURI )(
  1438. ISIPRequest * This,
  1439. /* [out] */ IUri **ppSipRequestUri);
  1440. HRESULT ( STDMETHODCALLTYPE *GetAuthenticationInfo )(
  1441. ISIPRequest * This,
  1442. /* [out] */ ISIPAuthRequest **ppAuthentication);
  1443. HRESULT ( STDMETHODCALLTYPE *GetProxyRequestInfo )(
  1444. ISIPRequest * This,
  1445. /* [out] */ IUnknown **ppProxyRequestInfo);
  1446. HRESULT ( STDMETHODCALLTYPE *SetRequestURI )(
  1447. ISIPRequest * This,
  1448. /* [in] */ IUri *pSipRequestUri);
  1449. HRESULT ( STDMETHODCALLTYPE *Reply )(
  1450. ISIPRequest * This,
  1451. /* [in] */ DWORD dwStatusCode);
  1452. HRESULT ( STDMETHODCALLTYPE *CreateTypicalRequest )(
  1453. ISIPRequest * This,
  1454. /* [in] */ PSTRING pstrMethod,
  1455. /* [in] */ IUri *pSipRequestUri,
  1456. /* [in] */ IUnknown *pProxyRequestInfo,
  1457. /* [out] */ ISIPRequest **ppNewRequest);
  1458. HRESULT ( STDMETHODCALLTYPE *CreateTypicalResponse )(
  1459. ISIPRequest * This,
  1460. /* [in] */ DWORD dwStatusCode,
  1461. /* [in] */ PSTRING pstrReasonPhrase,
  1462. /* [out] */ ISIPResponse **ppSipResponse);
  1463. HRESULT ( STDMETHODCALLTYPE *AddRecordRoute )(
  1464. ISIPRequest * This);
  1465. END_INTERFACE
  1466. } ISIPRequestVtbl;
  1467. interface ISIPRequest
  1468. {
  1469. CONST_VTBL struct ISIPRequestVtbl *lpVtbl;
  1470. };
  1471. #ifdef COBJMACROS
  1472. #define ISIPRequest_QueryInterface(This,riid,ppvObject) \
  1473. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1474. #define ISIPRequest_AddRef(This) \
  1475. (This)->lpVtbl -> AddRef(This)
  1476. #define ISIPRequest_Release(This) \
  1477. (This)->lpVtbl -> Release(This)
  1478. #define ISIPRequest_IsIncomingMessage(This,pbIncomingMessage) \
  1479. (This)->lpVtbl -> IsIncomingMessage(This,pbIncomingMessage)
  1480. #define ISIPRequest_GetSipVersion(This,pstrSipVersion) \
  1481. (This)->lpVtbl -> GetSipVersion(This,pstrSipVersion)
  1482. #define ISIPRequest_GetHeader(This,headerID,ppSipHeader) \
  1483. (This)->lpVtbl -> GetHeader(This,headerID,ppSipHeader)
  1484. #define ISIPRequest_GetNextHeader(This,pSipHeader,ppNextSipHeader) \
  1485. (This)->lpVtbl -> GetNextHeader(This,pSipHeader,ppNextSipHeader)
  1486. #define ISIPRequest_AddHeader(This,headerID,pstrBuffer) \
  1487. (This)->lpVtbl -> AddHeader(This,headerID,pstrBuffer)
  1488. #define ISIPRequest_DeleteHeader(This,pSipHeader) \
  1489. (This)->lpVtbl -> DeleteHeader(This,pSipHeader)
  1490. #define ISIPRequest_GetBody(This,pstrBody) \
  1491. (This)->lpVtbl -> GetBody(This,pstrBody)
  1492. #define ISIPRequest_SetBody(This,pstrBody) \
  1493. (This)->lpVtbl -> SetBody(This,pstrBody)
  1494. #define ISIPRequest_GetContactEnum(This,ppContactEnum) \
  1495. (This)->lpVtbl -> GetContactEnum(This,ppContactEnum)
  1496. #define ISIPRequest_Discard(This) \
  1497. (This)->lpVtbl -> Discard(This)
  1498. #define ISIPRequest_Send(This) \
  1499. (This)->lpVtbl -> Send(This)
  1500. #define ISIPRequest_SetMessageContext(This,pMessageContext) \
  1501. (This)->lpVtbl -> SetMessageContext(This,pMessageContext)
  1502. #define ISIPRequest_GetMessageContext(This,ppMessageContext) \
  1503. (This)->lpVtbl -> GetMessageContext(This,ppMessageContext)
  1504. #define ISIPRequest_GetMethod(This,pstrMethod) \
  1505. (This)->lpVtbl -> GetMethod(This,pstrMethod)
  1506. #define ISIPRequest_GetRequestURI(This,ppSipRequestUri) \
  1507. (This)->lpVtbl -> GetRequestURI(This,ppSipRequestUri)
  1508. #define ISIPRequest_GetAuthenticationInfo(This,ppAuthentication) \
  1509. (This)->lpVtbl -> GetAuthenticationInfo(This,ppAuthentication)
  1510. #define ISIPRequest_GetProxyRequestInfo(This,ppProxyRequestInfo) \
  1511. (This)->lpVtbl -> GetProxyRequestInfo(This,ppProxyRequestInfo)
  1512. #define ISIPRequest_SetRequestURI(This,pSipRequestUri) \
  1513. (This)->lpVtbl -> SetRequestURI(This,pSipRequestUri)
  1514. #define ISIPRequest_Reply(This,dwStatusCode) \
  1515. (This)->lpVtbl -> Reply(This,dwStatusCode)
  1516. #define ISIPRequest_CreateTypicalRequest(This,pstrMethod,pSipRequestUri,pProxyRequestInfo,ppNewRequest) \
  1517. (This)->lpVtbl -> CreateTypicalRequest(This,pstrMethod,pSipRequestUri,pProxyRequestInfo,ppNewRequest)
  1518. #define ISIPRequest_CreateTypicalResponse(This,dwStatusCode,pstrReasonPhrase,ppSipResponse) \
  1519. (This)->lpVtbl -> CreateTypicalResponse(This,dwStatusCode,pstrReasonPhrase,ppSipResponse)
  1520. #define ISIPRequest_AddRecordRoute(This) \
  1521. (This)->lpVtbl -> AddRecordRoute(This)
  1522. #endif /* COBJMACROS */
  1523. #endif /* C style interface */
  1524. HRESULT STDMETHODCALLTYPE ISIPRequest_GetMethod_Proxy(
  1525. ISIPRequest * This,
  1526. /* [out] */ PSTRING pstrMethod);
  1527. void __RPC_STUB ISIPRequest_GetMethod_Stub(
  1528. IRpcStubBuffer *This,
  1529. IRpcChannelBuffer *_pRpcChannelBuffer,
  1530. PRPC_MESSAGE _pRpcMessage,
  1531. DWORD *_pdwStubPhase);
  1532. HRESULT STDMETHODCALLTYPE ISIPRequest_GetRequestURI_Proxy(
  1533. ISIPRequest * This,
  1534. /* [out] */ IUri **ppSipRequestUri);
  1535. void __RPC_STUB ISIPRequest_GetRequestURI_Stub(
  1536. IRpcStubBuffer *This,
  1537. IRpcChannelBuffer *_pRpcChannelBuffer,
  1538. PRPC_MESSAGE _pRpcMessage,
  1539. DWORD *_pdwStubPhase);
  1540. HRESULT STDMETHODCALLTYPE ISIPRequest_GetAuthenticationInfo_Proxy(
  1541. ISIPRequest * This,
  1542. /* [out] */ ISIPAuthRequest **ppAuthentication);
  1543. void __RPC_STUB ISIPRequest_GetAuthenticationInfo_Stub(
  1544. IRpcStubBuffer *This,
  1545. IRpcChannelBuffer *_pRpcChannelBuffer,
  1546. PRPC_MESSAGE _pRpcMessage,
  1547. DWORD *_pdwStubPhase);
  1548. HRESULT STDMETHODCALLTYPE ISIPRequest_GetProxyRequestInfo_Proxy(
  1549. ISIPRequest * This,
  1550. /* [out] */ IUnknown **ppProxyRequestInfo);
  1551. void __RPC_STUB ISIPRequest_GetProxyRequestInfo_Stub(
  1552. IRpcStubBuffer *This,
  1553. IRpcChannelBuffer *_pRpcChannelBuffer,
  1554. PRPC_MESSAGE _pRpcMessage,
  1555. DWORD *_pdwStubPhase);
  1556. HRESULT STDMETHODCALLTYPE ISIPRequest_SetRequestURI_Proxy(
  1557. ISIPRequest * This,
  1558. /* [in] */ IUri *pSipRequestUri);
  1559. void __RPC_STUB ISIPRequest_SetRequestURI_Stub(
  1560. IRpcStubBuffer *This,
  1561. IRpcChannelBuffer *_pRpcChannelBuffer,
  1562. PRPC_MESSAGE _pRpcMessage,
  1563. DWORD *_pdwStubPhase);
  1564. HRESULT STDMETHODCALLTYPE ISIPRequest_Reply_Proxy(
  1565. ISIPRequest * This,
  1566. /* [in] */ DWORD dwStatusCode);
  1567. void __RPC_STUB ISIPRequest_Reply_Stub(
  1568. IRpcStubBuffer *This,
  1569. IRpcChannelBuffer *_pRpcChannelBuffer,
  1570. PRPC_MESSAGE _pRpcMessage,
  1571. DWORD *_pdwStubPhase);
  1572. HRESULT STDMETHODCALLTYPE ISIPRequest_CreateTypicalRequest_Proxy(
  1573. ISIPRequest * This,
  1574. /* [in] */ PSTRING pstrMethod,
  1575. /* [in] */ IUri *pSipRequestUri,
  1576. /* [in] */ IUnknown *pProxyRequestInfo,
  1577. /* [out] */ ISIPRequest **ppNewRequest);
  1578. void __RPC_STUB ISIPRequest_CreateTypicalRequest_Stub(
  1579. IRpcStubBuffer *This,
  1580. IRpcChannelBuffer *_pRpcChannelBuffer,
  1581. PRPC_MESSAGE _pRpcMessage,
  1582. DWORD *_pdwStubPhase);
  1583. HRESULT STDMETHODCALLTYPE ISIPRequest_CreateTypicalResponse_Proxy(
  1584. ISIPRequest * This,
  1585. /* [in] */ DWORD dwStatusCode,
  1586. /* [in] */ PSTRING pstrReasonPhrase,
  1587. /* [out] */ ISIPResponse **ppSipResponse);
  1588. void __RPC_STUB ISIPRequest_CreateTypicalResponse_Stub(
  1589. IRpcStubBuffer *This,
  1590. IRpcChannelBuffer *_pRpcChannelBuffer,
  1591. PRPC_MESSAGE _pRpcMessage,
  1592. DWORD *_pdwStubPhase);
  1593. HRESULT STDMETHODCALLTYPE ISIPRequest_AddRecordRoute_Proxy(
  1594. ISIPRequest * This);
  1595. void __RPC_STUB ISIPRequest_AddRecordRoute_Stub(
  1596. IRpcStubBuffer *This,
  1597. IRpcChannelBuffer *_pRpcChannelBuffer,
  1598. PRPC_MESSAGE _pRpcMessage,
  1599. DWORD *_pdwStubPhase);
  1600. #endif /* __ISIPRequest_INTERFACE_DEFINED__ */
  1601. #ifndef __ISIPAuthRequest_INTERFACE_DEFINED__
  1602. #define __ISIPAuthRequest_INTERFACE_DEFINED__
  1603. /* interface ISIPAuthRequest */
  1604. /* [unique][helpstring][uuid][object][local] */
  1605. EXTERN_C const IID IID_ISIPAuthRequest;
  1606. #if defined(__cplusplus) && !defined(CINTERFACE)
  1607. MIDL_INTERFACE("6D63F6AD-92B0-4cc0-B600-672773B81261")
  1608. ISIPAuthRequest : public IUnknown
  1609. {
  1610. public:
  1611. virtual HRESULT STDMETHODCALLTYPE GetProtocol(
  1612. /* [out] */ SIP_AUTH_PACKAGEID *psaPackageID) = 0;
  1613. virtual HRESULT STDMETHODCALLTYPE GetUser(
  1614. /* [out] */ PSTRING pstrUser) = 0;
  1615. virtual HRESULT STDMETHODCALLTYPE GetSecurityHandle(
  1616. /* [out] */ HANDLE *pSecHandle) = 0;
  1617. virtual HRESULT STDMETHODCALLTYPE GetDelegatable(
  1618. /* [out] */ BOOL *pDelegatable) = 0;
  1619. virtual HRESULT STDMETHODCALLTYPE Authenticate(
  1620. /* [in] */ DWORD dwPackages) = 0;
  1621. };
  1622. #else /* C style interface */
  1623. typedef struct ISIPAuthRequestVtbl
  1624. {
  1625. BEGIN_INTERFACE
  1626. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1627. ISIPAuthRequest * This,
  1628. /* [in] */ REFIID riid,
  1629. /* [iid_is][out] */ void **ppvObject);
  1630. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1631. ISIPAuthRequest * This);
  1632. ULONG ( STDMETHODCALLTYPE *Release )(
  1633. ISIPAuthRequest * This);
  1634. HRESULT ( STDMETHODCALLTYPE *GetProtocol )(
  1635. ISIPAuthRequest * This,
  1636. /* [out] */ SIP_AUTH_PACKAGEID *psaPackageID);
  1637. HRESULT ( STDMETHODCALLTYPE *GetUser )(
  1638. ISIPAuthRequest * This,
  1639. /* [out] */ PSTRING pstrUser);
  1640. HRESULT ( STDMETHODCALLTYPE *GetSecurityHandle )(
  1641. ISIPAuthRequest * This,
  1642. /* [out] */ HANDLE *pSecHandle);
  1643. HRESULT ( STDMETHODCALLTYPE *GetDelegatable )(
  1644. ISIPAuthRequest * This,
  1645. /* [out] */ BOOL *pDelegatable);
  1646. HRESULT ( STDMETHODCALLTYPE *Authenticate )(
  1647. ISIPAuthRequest * This,
  1648. /* [in] */ DWORD dwPackages);
  1649. END_INTERFACE
  1650. } ISIPAuthRequestVtbl;
  1651. interface ISIPAuthRequest
  1652. {
  1653. CONST_VTBL struct ISIPAuthRequestVtbl *lpVtbl;
  1654. };
  1655. #ifdef COBJMACROS
  1656. #define ISIPAuthRequest_QueryInterface(This,riid,ppvObject) \
  1657. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1658. #define ISIPAuthRequest_AddRef(This) \
  1659. (This)->lpVtbl -> AddRef(This)
  1660. #define ISIPAuthRequest_Release(This) \
  1661. (This)->lpVtbl -> Release(This)
  1662. #define ISIPAuthRequest_GetProtocol(This,psaPackageID) \
  1663. (This)->lpVtbl -> GetProtocol(This,psaPackageID)
  1664. #define ISIPAuthRequest_GetUser(This,pstrUser) \
  1665. (This)->lpVtbl -> GetUser(This,pstrUser)
  1666. #define ISIPAuthRequest_GetSecurityHandle(This,pSecHandle) \
  1667. (This)->lpVtbl -> GetSecurityHandle(This,pSecHandle)
  1668. #define ISIPAuthRequest_GetDelegatable(This,pDelegatable) \
  1669. (This)->lpVtbl -> GetDelegatable(This,pDelegatable)
  1670. #define ISIPAuthRequest_Authenticate(This,dwPackages) \
  1671. (This)->lpVtbl -> Authenticate(This,dwPackages)
  1672. #endif /* COBJMACROS */
  1673. #endif /* C style interface */
  1674. HRESULT STDMETHODCALLTYPE ISIPAuthRequest_GetProtocol_Proxy(
  1675. ISIPAuthRequest * This,
  1676. /* [out] */ SIP_AUTH_PACKAGEID *psaPackageID);
  1677. void __RPC_STUB ISIPAuthRequest_GetProtocol_Stub(
  1678. IRpcStubBuffer *This,
  1679. IRpcChannelBuffer *_pRpcChannelBuffer,
  1680. PRPC_MESSAGE _pRpcMessage,
  1681. DWORD *_pdwStubPhase);
  1682. HRESULT STDMETHODCALLTYPE ISIPAuthRequest_GetUser_Proxy(
  1683. ISIPAuthRequest * This,
  1684. /* [out] */ PSTRING pstrUser);
  1685. void __RPC_STUB ISIPAuthRequest_GetUser_Stub(
  1686. IRpcStubBuffer *This,
  1687. IRpcChannelBuffer *_pRpcChannelBuffer,
  1688. PRPC_MESSAGE _pRpcMessage,
  1689. DWORD *_pdwStubPhase);
  1690. HRESULT STDMETHODCALLTYPE ISIPAuthRequest_GetSecurityHandle_Proxy(
  1691. ISIPAuthRequest * This,
  1692. /* [out] */ HANDLE *pSecHandle);
  1693. void __RPC_STUB ISIPAuthRequest_GetSecurityHandle_Stub(
  1694. IRpcStubBuffer *This,
  1695. IRpcChannelBuffer *_pRpcChannelBuffer,
  1696. PRPC_MESSAGE _pRpcMessage,
  1697. DWORD *_pdwStubPhase);
  1698. HRESULT STDMETHODCALLTYPE ISIPAuthRequest_GetDelegatable_Proxy(
  1699. ISIPAuthRequest * This,
  1700. /* [out] */ BOOL *pDelegatable);
  1701. void __RPC_STUB ISIPAuthRequest_GetDelegatable_Stub(
  1702. IRpcStubBuffer *This,
  1703. IRpcChannelBuffer *_pRpcChannelBuffer,
  1704. PRPC_MESSAGE _pRpcMessage,
  1705. DWORD *_pdwStubPhase);
  1706. HRESULT STDMETHODCALLTYPE ISIPAuthRequest_Authenticate_Proxy(
  1707. ISIPAuthRequest * This,
  1708. /* [in] */ DWORD dwPackages);
  1709. void __RPC_STUB ISIPAuthRequest_Authenticate_Stub(
  1710. IRpcStubBuffer *This,
  1711. IRpcChannelBuffer *_pRpcChannelBuffer,
  1712. PRPC_MESSAGE _pRpcMessage,
  1713. DWORD *_pdwStubPhase);
  1714. #endif /* __ISIPAuthRequest_INTERFACE_DEFINED__ */
  1715. #ifndef __ISIPResponse_INTERFACE_DEFINED__
  1716. #define __ISIPResponse_INTERFACE_DEFINED__
  1717. /* interface ISIPResponse */
  1718. /* [unique][helpstring][uuid][object][local] */
  1719. EXTERN_C const IID IID_ISIPResponse;
  1720. #if defined(__cplusplus) && !defined(CINTERFACE)
  1721. MIDL_INTERFACE("C2B69E61-52C1-4c9d-A86F-1AD115AF219B")
  1722. ISIPResponse : public ISIPMessage
  1723. {
  1724. public:
  1725. virtual HRESULT STDMETHODCALLTYPE GetStatusCode(
  1726. /* [out] */ DWORD *pdwStatusCode) = 0;
  1727. virtual HRESULT STDMETHODCALLTYPE GetReasonPhrase(
  1728. /* [out] */ PSTRING pstrReasonPhrase) = 0;
  1729. };
  1730. #else /* C style interface */
  1731. typedef struct ISIPResponseVtbl
  1732. {
  1733. BEGIN_INTERFACE
  1734. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1735. ISIPResponse * This,
  1736. /* [in] */ REFIID riid,
  1737. /* [iid_is][out] */ void **ppvObject);
  1738. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1739. ISIPResponse * This);
  1740. ULONG ( STDMETHODCALLTYPE *Release )(
  1741. ISIPResponse * This);
  1742. HRESULT ( STDMETHODCALLTYPE *IsIncomingMessage )(
  1743. ISIPResponse * This,
  1744. /* [retval][out] */ BOOL *pbIncomingMessage);
  1745. HRESULT ( STDMETHODCALLTYPE *GetSipVersion )(
  1746. ISIPResponse * This,
  1747. /* [out] */ PSTRING pstrSipVersion);
  1748. HRESULT ( STDMETHODCALLTYPE *GetHeader )(
  1749. ISIPResponse * This,
  1750. /* [in] */ SIPHeaderID headerID,
  1751. /* [retval][out] */ ISIPHeader **ppSipHeader);
  1752. HRESULT ( STDMETHODCALLTYPE *GetNextHeader )(
  1753. ISIPResponse * This,
  1754. /* [in] */ ISIPHeader *pSipHeader,
  1755. /* [retval][out] */ ISIPHeader **ppNextSipHeader);
  1756. HRESULT ( STDMETHODCALLTYPE *AddHeader )(
  1757. ISIPResponse * This,
  1758. /* [in] */ SIPHeaderID headerID,
  1759. /* [in] */ PSTRING pstrBuffer);
  1760. HRESULT ( STDMETHODCALLTYPE *DeleteHeader )(
  1761. ISIPResponse * This,
  1762. /* [in] */ ISIPHeader *pSipHeader);
  1763. HRESULT ( STDMETHODCALLTYPE *GetBody )(
  1764. ISIPResponse * This,
  1765. /* [out] */ PSTRING pstrBody);
  1766. HRESULT ( STDMETHODCALLTYPE *SetBody )(
  1767. ISIPResponse * This,
  1768. /* [in] */ PSTRING pstrBody);
  1769. HRESULT ( STDMETHODCALLTYPE *GetContactEnum )(
  1770. ISIPResponse * This,
  1771. /* [retval][out] */ ISIPContactEnum **ppContactEnum);
  1772. HRESULT ( STDMETHODCALLTYPE *Discard )(
  1773. ISIPResponse * This);
  1774. HRESULT ( STDMETHODCALLTYPE *Send )(
  1775. ISIPResponse * This);
  1776. HRESULT ( STDMETHODCALLTYPE *SetMessageContext )(
  1777. ISIPResponse * This,
  1778. /* [in] */ IUnknown *pMessageContext);
  1779. HRESULT ( STDMETHODCALLTYPE *GetMessageContext )(
  1780. ISIPResponse * This,
  1781. /* [out] */ IUnknown **ppMessageContext);
  1782. HRESULT ( STDMETHODCALLTYPE *GetStatusCode )(
  1783. ISIPResponse * This,
  1784. /* [out] */ DWORD *pdwStatusCode);
  1785. HRESULT ( STDMETHODCALLTYPE *GetReasonPhrase )(
  1786. ISIPResponse * This,
  1787. /* [out] */ PSTRING pstrReasonPhrase);
  1788. END_INTERFACE
  1789. } ISIPResponseVtbl;
  1790. interface ISIPResponse
  1791. {
  1792. CONST_VTBL struct ISIPResponseVtbl *lpVtbl;
  1793. };
  1794. #ifdef COBJMACROS
  1795. #define ISIPResponse_QueryInterface(This,riid,ppvObject) \
  1796. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1797. #define ISIPResponse_AddRef(This) \
  1798. (This)->lpVtbl -> AddRef(This)
  1799. #define ISIPResponse_Release(This) \
  1800. (This)->lpVtbl -> Release(This)
  1801. #define ISIPResponse_IsIncomingMessage(This,pbIncomingMessage) \
  1802. (This)->lpVtbl -> IsIncomingMessage(This,pbIncomingMessage)
  1803. #define ISIPResponse_GetSipVersion(This,pstrSipVersion) \
  1804. (This)->lpVtbl -> GetSipVersion(This,pstrSipVersion)
  1805. #define ISIPResponse_GetHeader(This,headerID,ppSipHeader) \
  1806. (This)->lpVtbl -> GetHeader(This,headerID,ppSipHeader)
  1807. #define ISIPResponse_GetNextHeader(This,pSipHeader,ppNextSipHeader) \
  1808. (This)->lpVtbl -> GetNextHeader(This,pSipHeader,ppNextSipHeader)
  1809. #define ISIPResponse_AddHeader(This,headerID,pstrBuffer) \
  1810. (This)->lpVtbl -> AddHeader(This,headerID,pstrBuffer)
  1811. #define ISIPResponse_DeleteHeader(This,pSipHeader) \
  1812. (This)->lpVtbl -> DeleteHeader(This,pSipHeader)
  1813. #define ISIPResponse_GetBody(This,pstrBody) \
  1814. (This)->lpVtbl -> GetBody(This,pstrBody)
  1815. #define ISIPResponse_SetBody(This,pstrBody) \
  1816. (This)->lpVtbl -> SetBody(This,pstrBody)
  1817. #define ISIPResponse_GetContactEnum(This,ppContactEnum) \
  1818. (This)->lpVtbl -> GetContactEnum(This,ppContactEnum)
  1819. #define ISIPResponse_Discard(This) \
  1820. (This)->lpVtbl -> Discard(This)
  1821. #define ISIPResponse_Send(This) \
  1822. (This)->lpVtbl -> Send(This)
  1823. #define ISIPResponse_SetMessageContext(This,pMessageContext) \
  1824. (This)->lpVtbl -> SetMessageContext(This,pMessageContext)
  1825. #define ISIPResponse_GetMessageContext(This,ppMessageContext) \
  1826. (This)->lpVtbl -> GetMessageContext(This,ppMessageContext)
  1827. #define ISIPResponse_GetStatusCode(This,pdwStatusCode) \
  1828. (This)->lpVtbl -> GetStatusCode(This,pdwStatusCode)
  1829. #define ISIPResponse_GetReasonPhrase(This,pstrReasonPhrase) \
  1830. (This)->lpVtbl -> GetReasonPhrase(This,pstrReasonPhrase)
  1831. #endif /* COBJMACROS */
  1832. #endif /* C style interface */
  1833. HRESULT STDMETHODCALLTYPE ISIPResponse_GetStatusCode_Proxy(
  1834. ISIPResponse * This,
  1835. /* [out] */ DWORD *pdwStatusCode);
  1836. void __RPC_STUB ISIPResponse_GetStatusCode_Stub(
  1837. IRpcStubBuffer *This,
  1838. IRpcChannelBuffer *_pRpcChannelBuffer,
  1839. PRPC_MESSAGE _pRpcMessage,
  1840. DWORD *_pdwStubPhase);
  1841. HRESULT STDMETHODCALLTYPE ISIPResponse_GetReasonPhrase_Proxy(
  1842. ISIPResponse * This,
  1843. /* [out] */ PSTRING pstrReasonPhrase);
  1844. void __RPC_STUB ISIPResponse_GetReasonPhrase_Stub(
  1845. IRpcStubBuffer *This,
  1846. IRpcChannelBuffer *_pRpcChannelBuffer,
  1847. PRPC_MESSAGE _pRpcMessage,
  1848. DWORD *_pdwStubPhase);
  1849. #endif /* __ISIPResponse_INTERFACE_DEFINED__ */
  1850. #ifndef __ISIPEvent_INTERFACE_DEFINED__
  1851. #define __ISIPEvent_INTERFACE_DEFINED__
  1852. /* interface ISIPEvent */
  1853. /* [unique][helpstring][uuid][object][local] */
  1854. EXTERN_C const IID IID_ISIPEvent;
  1855. #if defined(__cplusplus) && !defined(CINTERFACE)
  1856. MIDL_INTERFACE("9f35f2f6-2a3d-465a-94e8-452b049a88d7")
  1857. ISIPEvent : public IUnknown
  1858. {
  1859. public:
  1860. virtual HRESULT STDMETHODCALLTYPE GetMessage(
  1861. /* [out] */ ISIPMessage **ppSipMessage) = 0;
  1862. virtual HRESULT STDMETHODCALLTYPE GetStateEvents(
  1863. /* [out] */ SIPTransactionEvent *pTransactionEvent,
  1864. /* [out] */ SIPDialogEvent *pDialogEvent) = 0;
  1865. virtual HRESULT STDMETHODCALLTYPE GetRegistrationContext(
  1866. /* [in] */ SIPRegistrationType enRegistrationContext,
  1867. /* [out] */ IUnknown **ppRegistrationContext) = 0;
  1868. virtual HRESULT STDMETHODCALLTYPE SetStateContext(
  1869. /* [in] */ SIPEventType enSessionType,
  1870. /* [in] */ IUnknown *pEventContext) = 0;
  1871. virtual HRESULT STDMETHODCALLTYPE GetStateContext(
  1872. /* [in] */ SIPEventType enSessionType,
  1873. /* [out] */ IUnknown **ppEventContext) = 0;
  1874. virtual HRESULT STDMETHODCALLTYPE CompleteProcessing( void) = 0;
  1875. };
  1876. #else /* C style interface */
  1877. typedef struct ISIPEventVtbl
  1878. {
  1879. BEGIN_INTERFACE
  1880. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1881. ISIPEvent * This,
  1882. /* [in] */ REFIID riid,
  1883. /* [iid_is][out] */ void **ppvObject);
  1884. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1885. ISIPEvent * This);
  1886. ULONG ( STDMETHODCALLTYPE *Release )(
  1887. ISIPEvent * This);
  1888. HRESULT ( STDMETHODCALLTYPE *GetMessage )(
  1889. ISIPEvent * This,
  1890. /* [out] */ ISIPMessage **ppSipMessage);
  1891. HRESULT ( STDMETHODCALLTYPE *GetStateEvents )(
  1892. ISIPEvent * This,
  1893. /* [out] */ SIPTransactionEvent *pTransactionEvent,
  1894. /* [out] */ SIPDialogEvent *pDialogEvent);
  1895. HRESULT ( STDMETHODCALLTYPE *GetRegistrationContext )(
  1896. ISIPEvent * This,
  1897. /* [in] */ SIPRegistrationType enRegistrationContext,
  1898. /* [out] */ IUnknown **ppRegistrationContext);
  1899. HRESULT ( STDMETHODCALLTYPE *SetStateContext )(
  1900. ISIPEvent * This,
  1901. /* [in] */ SIPEventType enSessionType,
  1902. /* [in] */ IUnknown *pEventContext);
  1903. HRESULT ( STDMETHODCALLTYPE *GetStateContext )(
  1904. ISIPEvent * This,
  1905. /* [in] */ SIPEventType enSessionType,
  1906. /* [out] */ IUnknown **ppEventContext);
  1907. HRESULT ( STDMETHODCALLTYPE *CompleteProcessing )(
  1908. ISIPEvent * This);
  1909. END_INTERFACE
  1910. } ISIPEventVtbl;
  1911. interface ISIPEvent
  1912. {
  1913. CONST_VTBL struct ISIPEventVtbl *lpVtbl;
  1914. };
  1915. #ifdef COBJMACROS
  1916. #define ISIPEvent_QueryInterface(This,riid,ppvObject) \
  1917. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1918. #define ISIPEvent_AddRef(This) \
  1919. (This)->lpVtbl -> AddRef(This)
  1920. #define ISIPEvent_Release(This) \
  1921. (This)->lpVtbl -> Release(This)
  1922. #define ISIPEvent_GetMessage(This,ppSipMessage) \
  1923. (This)->lpVtbl -> GetMessage(This,ppSipMessage)
  1924. #define ISIPEvent_GetStateEvents(This,pTransactionEvent,pDialogEvent) \
  1925. (This)->lpVtbl -> GetStateEvents(This,pTransactionEvent,pDialogEvent)
  1926. #define ISIPEvent_GetRegistrationContext(This,enRegistrationContext,ppRegistrationContext) \
  1927. (This)->lpVtbl -> GetRegistrationContext(This,enRegistrationContext,ppRegistrationContext)
  1928. #define ISIPEvent_SetStateContext(This,enSessionType,pEventContext) \
  1929. (This)->lpVtbl -> SetStateContext(This,enSessionType,pEventContext)
  1930. #define ISIPEvent_GetStateContext(This,enSessionType,ppEventContext) \
  1931. (This)->lpVtbl -> GetStateContext(This,enSessionType,ppEventContext)
  1932. #define ISIPEvent_CompleteProcessing(This) \
  1933. (This)->lpVtbl -> CompleteProcessing(This)
  1934. #endif /* COBJMACROS */
  1935. #endif /* C style interface */
  1936. HRESULT STDMETHODCALLTYPE ISIPEvent_GetMessage_Proxy(
  1937. ISIPEvent * This,
  1938. /* [out] */ ISIPMessage **ppSipMessage);
  1939. void __RPC_STUB ISIPEvent_GetMessage_Stub(
  1940. IRpcStubBuffer *This,
  1941. IRpcChannelBuffer *_pRpcChannelBuffer,
  1942. PRPC_MESSAGE _pRpcMessage,
  1943. DWORD *_pdwStubPhase);
  1944. HRESULT STDMETHODCALLTYPE ISIPEvent_GetStateEvents_Proxy(
  1945. ISIPEvent * This,
  1946. /* [out] */ SIPTransactionEvent *pTransactionEvent,
  1947. /* [out] */ SIPDialogEvent *pDialogEvent);
  1948. void __RPC_STUB ISIPEvent_GetStateEvents_Stub(
  1949. IRpcStubBuffer *This,
  1950. IRpcChannelBuffer *_pRpcChannelBuffer,
  1951. PRPC_MESSAGE _pRpcMessage,
  1952. DWORD *_pdwStubPhase);
  1953. HRESULT STDMETHODCALLTYPE ISIPEvent_GetRegistrationContext_Proxy(
  1954. ISIPEvent * This,
  1955. /* [in] */ SIPRegistrationType enRegistrationContext,
  1956. /* [out] */ IUnknown **ppRegistrationContext);
  1957. void __RPC_STUB ISIPEvent_GetRegistrationContext_Stub(
  1958. IRpcStubBuffer *This,
  1959. IRpcChannelBuffer *_pRpcChannelBuffer,
  1960. PRPC_MESSAGE _pRpcMessage,
  1961. DWORD *_pdwStubPhase);
  1962. HRESULT STDMETHODCALLTYPE ISIPEvent_SetStateContext_Proxy(
  1963. ISIPEvent * This,
  1964. /* [in] */ SIPEventType enSessionType,
  1965. /* [in] */ IUnknown *pEventContext);
  1966. void __RPC_STUB ISIPEvent_SetStateContext_Stub(
  1967. IRpcStubBuffer *This,
  1968. IRpcChannelBuffer *_pRpcChannelBuffer,
  1969. PRPC_MESSAGE _pRpcMessage,
  1970. DWORD *_pdwStubPhase);
  1971. HRESULT STDMETHODCALLTYPE ISIPEvent_GetStateContext_Proxy(
  1972. ISIPEvent * This,
  1973. /* [in] */ SIPEventType enSessionType,
  1974. /* [out] */ IUnknown **ppEventContext);
  1975. void __RPC_STUB ISIPEvent_GetStateContext_Stub(
  1976. IRpcStubBuffer *This,
  1977. IRpcChannelBuffer *_pRpcChannelBuffer,
  1978. PRPC_MESSAGE _pRpcMessage,
  1979. DWORD *_pdwStubPhase);
  1980. HRESULT STDMETHODCALLTYPE ISIPEvent_CompleteProcessing_Proxy(
  1981. ISIPEvent * This);
  1982. void __RPC_STUB ISIPEvent_CompleteProcessing_Stub(
  1983. IRpcStubBuffer *This,
  1984. IRpcChannelBuffer *_pRpcChannelBuffer,
  1985. PRPC_MESSAGE _pRpcMessage,
  1986. DWORD *_pdwStubPhase);
  1987. #endif /* __ISIPEvent_INTERFACE_DEFINED__ */
  1988. #ifndef __ISIPController_INTERFACE_DEFINED__
  1989. #define __ISIPController_INTERFACE_DEFINED__
  1990. /* interface ISIPController */
  1991. /* [unique][helpstring][uuid][object][local] */
  1992. EXTERN_C const IID IID_ISIPController;
  1993. #if defined(__cplusplus) && !defined(CINTERFACE)
  1994. MIDL_INTERFACE("f2d8cbbb-aa79-4577-a4b6-d6e78d243c7d")
  1995. ISIPController : public IUnknown
  1996. {
  1997. public:
  1998. virtual HRESULT STDMETHODCALLTYPE OnError(
  1999. /* [in] */ SIP_HANDLE hModuleHandle,
  2000. /* [in] */ HRESULT hrError,
  2001. /* [in] */ DWORD Reserved,
  2002. /* [string][unique][in] */ LPWSTR szErrorDescription) = 0;
  2003. virtual HRESULT STDMETHODCALLTYPE GetModule(
  2004. /* [in] */ SIP_HANDLE hModuleHandle,
  2005. /* [in] */ CLSID *pProvidingEMClassID,
  2006. /* [in] */ SIP_MODULE_TYPE ProvidingEMType,
  2007. /* [in] */ IID *pRequestedInterface,
  2008. /* [out] */ IUnknown **ppIUnknown) = 0;
  2009. };
  2010. #else /* C style interface */
  2011. typedef struct ISIPControllerVtbl
  2012. {
  2013. BEGIN_INTERFACE
  2014. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2015. ISIPController * This,
  2016. /* [in] */ REFIID riid,
  2017. /* [iid_is][out] */ void **ppvObject);
  2018. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2019. ISIPController * This);
  2020. ULONG ( STDMETHODCALLTYPE *Release )(
  2021. ISIPController * This);
  2022. HRESULT ( STDMETHODCALLTYPE *OnError )(
  2023. ISIPController * This,
  2024. /* [in] */ SIP_HANDLE hModuleHandle,
  2025. /* [in] */ HRESULT hrError,
  2026. /* [in] */ DWORD Reserved,
  2027. /* [string][unique][in] */ LPWSTR szErrorDescription);
  2028. HRESULT ( STDMETHODCALLTYPE *GetModule )(
  2029. ISIPController * This,
  2030. /* [in] */ SIP_HANDLE hModuleHandle,
  2031. /* [in] */ CLSID *pProvidingEMClassID,
  2032. /* [in] */ SIP_MODULE_TYPE ProvidingEMType,
  2033. /* [in] */ IID *pRequestedInterface,
  2034. /* [out] */ IUnknown **ppIUnknown);
  2035. END_INTERFACE
  2036. } ISIPControllerVtbl;
  2037. interface ISIPController
  2038. {
  2039. CONST_VTBL struct ISIPControllerVtbl *lpVtbl;
  2040. };
  2041. #ifdef COBJMACROS
  2042. #define ISIPController_QueryInterface(This,riid,ppvObject) \
  2043. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2044. #define ISIPController_AddRef(This) \
  2045. (This)->lpVtbl -> AddRef(This)
  2046. #define ISIPController_Release(This) \
  2047. (This)->lpVtbl -> Release(This)
  2048. #define ISIPController_OnError(This,hModuleHandle,hrError,Reserved,szErrorDescription) \
  2049. (This)->lpVtbl -> OnError(This,hModuleHandle,hrError,Reserved,szErrorDescription)
  2050. #define ISIPController_GetModule(This,hModuleHandle,pProvidingEMClassID,ProvidingEMType,pRequestedInterface,ppIUnknown) \
  2051. (This)->lpVtbl -> GetModule(This,hModuleHandle,pProvidingEMClassID,ProvidingEMType,pRequestedInterface,ppIUnknown)
  2052. #endif /* COBJMACROS */
  2053. #endif /* C style interface */
  2054. HRESULT STDMETHODCALLTYPE ISIPController_OnError_Proxy(
  2055. ISIPController * This,
  2056. /* [in] */ SIP_HANDLE hModuleHandle,
  2057. /* [in] */ HRESULT hrError,
  2058. /* [in] */ DWORD Reserved,
  2059. /* [string][unique][in] */ LPWSTR szErrorDescription);
  2060. void __RPC_STUB ISIPController_OnError_Stub(
  2061. IRpcStubBuffer *This,
  2062. IRpcChannelBuffer *_pRpcChannelBuffer,
  2063. PRPC_MESSAGE _pRpcMessage,
  2064. DWORD *_pdwStubPhase);
  2065. HRESULT STDMETHODCALLTYPE ISIPController_GetModule_Proxy(
  2066. ISIPController * This,
  2067. /* [in] */ SIP_HANDLE hModuleHandle,
  2068. /* [in] */ CLSID *pProvidingEMClassID,
  2069. /* [in] */ SIP_MODULE_TYPE ProvidingEMType,
  2070. /* [in] */ IID *pRequestedInterface,
  2071. /* [out] */ IUnknown **ppIUnknown);
  2072. void __RPC_STUB ISIPController_GetModule_Stub(
  2073. IRpcStubBuffer *This,
  2074. IRpcChannelBuffer *_pRpcChannelBuffer,
  2075. PRPC_MESSAGE _pRpcMessage,
  2076. DWORD *_pdwStubPhase);
  2077. #endif /* __ISIPController_INTERFACE_DEFINED__ */
  2078. #ifndef __ISIPModuleControl_INTERFACE_DEFINED__
  2079. #define __ISIPModuleControl_INTERFACE_DEFINED__
  2080. /* interface ISIPModuleControl */
  2081. /* [unique][helpstring][uuid][object][local] */
  2082. EXTERN_C const IID IID_ISIPModuleControl;
  2083. #if defined(__cplusplus) && !defined(CINTERFACE)
  2084. MIDL_INTERFACE("A1ED44F2-39DE-4d51-B252-25CF6071FABF")
  2085. ISIPModuleControl : public IUnknown
  2086. {
  2087. public:
  2088. virtual HRESULT STDMETHODCALLTYPE Initialize(
  2089. /* [in] */ ISIPController *pController,
  2090. /* [in] */ ISIPProxy *pSIPProxy,
  2091. /* [in] */ ISIPEventLogging *pEventLogging,
  2092. /* [in] */ SIP_MODULE_TYPE ModuleType,
  2093. /* [in] */ SIP_HANDLE hModuleHandle,
  2094. /* [out] */ ISIPRegistrationDB **ppISIPRegistrationDB) = 0;
  2095. virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  2096. virtual HRESULT STDMETHODCALLTYPE Start( void) = 0;
  2097. virtual HRESULT STDMETHODCALLTYPE Stop( void) = 0;
  2098. virtual HRESULT STDMETHODCALLTYPE GetPrivateInterface(
  2099. /* [in] */ CLSID *pRequestingEM,
  2100. /* [in] */ IID *pRequestedInterface,
  2101. /* [out] */ IUnknown **ppIUnknown) = 0;
  2102. };
  2103. #else /* C style interface */
  2104. typedef struct ISIPModuleControlVtbl
  2105. {
  2106. BEGIN_INTERFACE
  2107. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2108. ISIPModuleControl * This,
  2109. /* [in] */ REFIID riid,
  2110. /* [iid_is][out] */ void **ppvObject);
  2111. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2112. ISIPModuleControl * This);
  2113. ULONG ( STDMETHODCALLTYPE *Release )(
  2114. ISIPModuleControl * This);
  2115. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  2116. ISIPModuleControl * This,
  2117. /* [in] */ ISIPController *pController,
  2118. /* [in] */ ISIPProxy *pSIPProxy,
  2119. /* [in] */ ISIPEventLogging *pEventLogging,
  2120. /* [in] */ SIP_MODULE_TYPE ModuleType,
  2121. /* [in] */ SIP_HANDLE hModuleHandle,
  2122. /* [out] */ ISIPRegistrationDB **ppISIPRegistrationDB);
  2123. HRESULT ( STDMETHODCALLTYPE *Shutdown )(
  2124. ISIPModuleControl * This);
  2125. HRESULT ( STDMETHODCALLTYPE *Start )(
  2126. ISIPModuleControl * This);
  2127. HRESULT ( STDMETHODCALLTYPE *Stop )(
  2128. ISIPModuleControl * This);
  2129. HRESULT ( STDMETHODCALLTYPE *GetPrivateInterface )(
  2130. ISIPModuleControl * This,
  2131. /* [in] */ CLSID *pRequestingEM,
  2132. /* [in] */ IID *pRequestedInterface,
  2133. /* [out] */ IUnknown **ppIUnknown);
  2134. END_INTERFACE
  2135. } ISIPModuleControlVtbl;
  2136. interface ISIPModuleControl
  2137. {
  2138. CONST_VTBL struct ISIPModuleControlVtbl *lpVtbl;
  2139. };
  2140. #ifdef COBJMACROS
  2141. #define ISIPModuleControl_QueryInterface(This,riid,ppvObject) \
  2142. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2143. #define ISIPModuleControl_AddRef(This) \
  2144. (This)->lpVtbl -> AddRef(This)
  2145. #define ISIPModuleControl_Release(This) \
  2146. (This)->lpVtbl -> Release(This)
  2147. #define ISIPModuleControl_Initialize(This,pController,pSIPProxy,pEventLogging,ModuleType,hModuleHandle,ppISIPRegistrationDB) \
  2148. (This)->lpVtbl -> Initialize(This,pController,pSIPProxy,pEventLogging,ModuleType,hModuleHandle,ppISIPRegistrationDB)
  2149. #define ISIPModuleControl_Shutdown(This) \
  2150. (This)->lpVtbl -> Shutdown(This)
  2151. #define ISIPModuleControl_Start(This) \
  2152. (This)->lpVtbl -> Start(This)
  2153. #define ISIPModuleControl_Stop(This) \
  2154. (This)->lpVtbl -> Stop(This)
  2155. #define ISIPModuleControl_GetPrivateInterface(This,pRequestingEM,pRequestedInterface,ppIUnknown) \
  2156. (This)->lpVtbl -> GetPrivateInterface(This,pRequestingEM,pRequestedInterface,ppIUnknown)
  2157. #endif /* COBJMACROS */
  2158. #endif /* C style interface */
  2159. HRESULT STDMETHODCALLTYPE ISIPModuleControl_Initialize_Proxy(
  2160. ISIPModuleControl * This,
  2161. /* [in] */ ISIPController *pController,
  2162. /* [in] */ ISIPProxy *pSIPProxy,
  2163. /* [in] */ ISIPEventLogging *pEventLogging,
  2164. /* [in] */ SIP_MODULE_TYPE ModuleType,
  2165. /* [in] */ SIP_HANDLE hModuleHandle,
  2166. /* [out] */ ISIPRegistrationDB **ppISIPRegistrationDB);
  2167. void __RPC_STUB ISIPModuleControl_Initialize_Stub(
  2168. IRpcStubBuffer *This,
  2169. IRpcChannelBuffer *_pRpcChannelBuffer,
  2170. PRPC_MESSAGE _pRpcMessage,
  2171. DWORD *_pdwStubPhase);
  2172. HRESULT STDMETHODCALLTYPE ISIPModuleControl_Shutdown_Proxy(
  2173. ISIPModuleControl * This);
  2174. void __RPC_STUB ISIPModuleControl_Shutdown_Stub(
  2175. IRpcStubBuffer *This,
  2176. IRpcChannelBuffer *_pRpcChannelBuffer,
  2177. PRPC_MESSAGE _pRpcMessage,
  2178. DWORD *_pdwStubPhase);
  2179. HRESULT STDMETHODCALLTYPE ISIPModuleControl_Start_Proxy(
  2180. ISIPModuleControl * This);
  2181. void __RPC_STUB ISIPModuleControl_Start_Stub(
  2182. IRpcStubBuffer *This,
  2183. IRpcChannelBuffer *_pRpcChannelBuffer,
  2184. PRPC_MESSAGE _pRpcMessage,
  2185. DWORD *_pdwStubPhase);
  2186. HRESULT STDMETHODCALLTYPE ISIPModuleControl_Stop_Proxy(
  2187. ISIPModuleControl * This);
  2188. void __RPC_STUB ISIPModuleControl_Stop_Stub(
  2189. IRpcStubBuffer *This,
  2190. IRpcChannelBuffer *_pRpcChannelBuffer,
  2191. PRPC_MESSAGE _pRpcMessage,
  2192. DWORD *_pdwStubPhase);
  2193. HRESULT STDMETHODCALLTYPE ISIPModuleControl_GetPrivateInterface_Proxy(
  2194. ISIPModuleControl * This,
  2195. /* [in] */ CLSID *pRequestingEM,
  2196. /* [in] */ IID *pRequestedInterface,
  2197. /* [out] */ IUnknown **ppIUnknown);
  2198. void __RPC_STUB ISIPModuleControl_GetPrivateInterface_Stub(
  2199. IRpcStubBuffer *This,
  2200. IRpcChannelBuffer *_pRpcChannelBuffer,
  2201. PRPC_MESSAGE _pRpcMessage,
  2202. DWORD *_pdwStubPhase);
  2203. #endif /* __ISIPModuleControl_INTERFACE_DEFINED__ */
  2204. #ifndef __ISIPModuleCallback_INTERFACE_DEFINED__
  2205. #define __ISIPModuleCallback_INTERFACE_DEFINED__
  2206. /* interface ISIPModuleCallback */
  2207. /* [unique][helpstring][uuid][object][local] */
  2208. EXTERN_C const IID IID_ISIPModuleCallback;
  2209. #if defined(__cplusplus) && !defined(CINTERFACE)
  2210. MIDL_INTERFACE("4c14b478-67d6-4677-b456-4096c2edd36b")
  2211. ISIPModuleCallback : public IUnknown
  2212. {
  2213. public:
  2214. virtual HRESULT STDMETHODCALLTYPE OnEvent(
  2215. /* [in] */ ISIPEvent *pSipEvent) = 0;
  2216. };
  2217. #else /* C style interface */
  2218. typedef struct ISIPModuleCallbackVtbl
  2219. {
  2220. BEGIN_INTERFACE
  2221. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2222. ISIPModuleCallback * This,
  2223. /* [in] */ REFIID riid,
  2224. /* [iid_is][out] */ void **ppvObject);
  2225. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2226. ISIPModuleCallback * This);
  2227. ULONG ( STDMETHODCALLTYPE *Release )(
  2228. ISIPModuleCallback * This);
  2229. HRESULT ( STDMETHODCALLTYPE *OnEvent )(
  2230. ISIPModuleCallback * This,
  2231. /* [in] */ ISIPEvent *pSipEvent);
  2232. END_INTERFACE
  2233. } ISIPModuleCallbackVtbl;
  2234. interface ISIPModuleCallback
  2235. {
  2236. CONST_VTBL struct ISIPModuleCallbackVtbl *lpVtbl;
  2237. };
  2238. #ifdef COBJMACROS
  2239. #define ISIPModuleCallback_QueryInterface(This,riid,ppvObject) \
  2240. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2241. #define ISIPModuleCallback_AddRef(This) \
  2242. (This)->lpVtbl -> AddRef(This)
  2243. #define ISIPModuleCallback_Release(This) \
  2244. (This)->lpVtbl -> Release(This)
  2245. #define ISIPModuleCallback_OnEvent(This,pSipEvent) \
  2246. (This)->lpVtbl -> OnEvent(This,pSipEvent)
  2247. #endif /* COBJMACROS */
  2248. #endif /* C style interface */
  2249. HRESULT STDMETHODCALLTYPE ISIPModuleCallback_OnEvent_Proxy(
  2250. ISIPModuleCallback * This,
  2251. /* [in] */ ISIPEvent *pSipEvent);
  2252. void __RPC_STUB ISIPModuleCallback_OnEvent_Stub(
  2253. IRpcStubBuffer *This,
  2254. IRpcChannelBuffer *_pRpcChannelBuffer,
  2255. PRPC_MESSAGE _pRpcMessage,
  2256. DWORD *_pdwStubPhase);
  2257. #endif /* __ISIPModuleCallback_INTERFACE_DEFINED__ */
  2258. #ifndef __ISIPExtensionModulePropertyPages_INTERFACE_DEFINED__
  2259. #define __ISIPExtensionModulePropertyPages_INTERFACE_DEFINED__
  2260. /* interface ISIPExtensionModulePropertyPages */
  2261. /* [unique][helpstring][dual][uuid][object] */
  2262. EXTERN_C const IID IID_ISIPExtensionModulePropertyPages;
  2263. #if defined(__cplusplus) && !defined(CINTERFACE)
  2264. MIDL_INTERFACE("1184A566-9CD8-487e-8B27-6F1D687A8E1F")
  2265. ISIPExtensionModulePropertyPages : public ISpecifyPropertyPages
  2266. {
  2267. public:
  2268. virtual HRESULT STDMETHODCALLTYPE SetInstance(
  2269. /* [in] */ IWbemClassObject *pInstance) = 0;
  2270. virtual HRESULT STDMETHODCALLTYPE GetTitle(
  2271. /* [out] */ BSTR *pbstrTitle) = 0;
  2272. };
  2273. #else /* C style interface */
  2274. typedef struct ISIPExtensionModulePropertyPagesVtbl
  2275. {
  2276. BEGIN_INTERFACE
  2277. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2278. ISIPExtensionModulePropertyPages * This,
  2279. /* [in] */ REFIID riid,
  2280. /* [iid_is][out] */ void **ppvObject);
  2281. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2282. ISIPExtensionModulePropertyPages * This);
  2283. ULONG ( STDMETHODCALLTYPE *Release )(
  2284. ISIPExtensionModulePropertyPages * This);
  2285. HRESULT ( STDMETHODCALLTYPE *GetPages )(
  2286. ISIPExtensionModulePropertyPages * This,
  2287. /* [out] */ CAUUID *pPages);
  2288. HRESULT ( STDMETHODCALLTYPE *SetInstance )(
  2289. ISIPExtensionModulePropertyPages * This,
  2290. /* [in] */ IWbemClassObject *pInstance);
  2291. HRESULT ( STDMETHODCALLTYPE *GetTitle )(
  2292. ISIPExtensionModulePropertyPages * This,
  2293. /* [out] */ BSTR *pbstrTitle);
  2294. END_INTERFACE
  2295. } ISIPExtensionModulePropertyPagesVtbl;
  2296. interface ISIPExtensionModulePropertyPages
  2297. {
  2298. CONST_VTBL struct ISIPExtensionModulePropertyPagesVtbl *lpVtbl;
  2299. };
  2300. #ifdef COBJMACROS
  2301. #define ISIPExtensionModulePropertyPages_QueryInterface(This,riid,ppvObject) \
  2302. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2303. #define ISIPExtensionModulePropertyPages_AddRef(This) \
  2304. (This)->lpVtbl -> AddRef(This)
  2305. #define ISIPExtensionModulePropertyPages_Release(This) \
  2306. (This)->lpVtbl -> Release(This)
  2307. #define ISIPExtensionModulePropertyPages_GetPages(This,pPages) \
  2308. (This)->lpVtbl -> GetPages(This,pPages)
  2309. #define ISIPExtensionModulePropertyPages_SetInstance(This,pInstance) \
  2310. (This)->lpVtbl -> SetInstance(This,pInstance)
  2311. #define ISIPExtensionModulePropertyPages_GetTitle(This,pbstrTitle) \
  2312. (This)->lpVtbl -> GetTitle(This,pbstrTitle)
  2313. #endif /* COBJMACROS */
  2314. #endif /* C style interface */
  2315. HRESULT STDMETHODCALLTYPE ISIPExtensionModulePropertyPages_SetInstance_Proxy(
  2316. ISIPExtensionModulePropertyPages * This,
  2317. /* [in] */ IWbemClassObject *pInstance);
  2318. void __RPC_STUB ISIPExtensionModulePropertyPages_SetInstance_Stub(
  2319. IRpcStubBuffer *This,
  2320. IRpcChannelBuffer *_pRpcChannelBuffer,
  2321. PRPC_MESSAGE _pRpcMessage,
  2322. DWORD *_pdwStubPhase);
  2323. HRESULT STDMETHODCALLTYPE ISIPExtensionModulePropertyPages_GetTitle_Proxy(
  2324. ISIPExtensionModulePropertyPages * This,
  2325. /* [out] */ BSTR *pbstrTitle);
  2326. void __RPC_STUB ISIPExtensionModulePropertyPages_GetTitle_Stub(
  2327. IRpcStubBuffer *This,
  2328. IRpcChannelBuffer *_pRpcChannelBuffer,
  2329. PRPC_MESSAGE _pRpcMessage,
  2330. DWORD *_pdwStubPhase);
  2331. #endif /* __ISIPExtensionModulePropertyPages_INTERFACE_DEFINED__ */
  2332. #ifndef __ISIPAdminCredentials_INTERFACE_DEFINED__
  2333. #define __ISIPAdminCredentials_INTERFACE_DEFINED__
  2334. /* interface ISIPAdminCredentials */
  2335. /* [unique][helpstring][dual][uuid][object] */
  2336. EXTERN_C const IID IID_ISIPAdminCredentials;
  2337. #if defined(__cplusplus) && !defined(CINTERFACE)
  2338. MIDL_INTERFACE("1A9683B4-BA07-4d94-B384-E54E645121FA")
  2339. ISIPAdminCredentials : public IUnknown
  2340. {
  2341. public:
  2342. virtual HRESULT STDMETHODCALLTYPE putMachineName(
  2343. /* [in] */ const LPCWSTR pwszMachineName) = 0;
  2344. virtual HRESULT STDMETHODCALLTYPE putUserName(
  2345. /* [in] */ const LPCWSTR pwszUserName) = 0;
  2346. virtual HRESULT STDMETHODCALLTYPE putPassword(
  2347. /* [in] */ const LPCWSTR pwszPassword) = 0;
  2348. virtual HRESULT STDMETHODCALLTYPE getMachineName(
  2349. /* [out] */ BSTR *pbstrMachineName) = 0;
  2350. virtual HRESULT STDMETHODCALLTYPE getUserName(
  2351. /* [out] */ BSTR *pbstrUserName) = 0;
  2352. virtual HRESULT STDMETHODCALLTYPE getPassword(
  2353. /* [out] */ BSTR *pbstrPassword) = 0;
  2354. };
  2355. #else /* C style interface */
  2356. typedef struct ISIPAdminCredentialsVtbl
  2357. {
  2358. BEGIN_INTERFACE
  2359. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2360. ISIPAdminCredentials * This,
  2361. /* [in] */ REFIID riid,
  2362. /* [iid_is][out] */ void **ppvObject);
  2363. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2364. ISIPAdminCredentials * This);
  2365. ULONG ( STDMETHODCALLTYPE *Release )(
  2366. ISIPAdminCredentials * This);
  2367. HRESULT ( STDMETHODCALLTYPE *putMachineName )(
  2368. ISIPAdminCredentials * This,
  2369. /* [in] */ const LPCWSTR pwszMachineName);
  2370. HRESULT ( STDMETHODCALLTYPE *putUserName )(
  2371. ISIPAdminCredentials * This,
  2372. /* [in] */ const LPCWSTR pwszUserName);
  2373. HRESULT ( STDMETHODCALLTYPE *putPassword )(
  2374. ISIPAdminCredentials * This,
  2375. /* [in] */ const LPCWSTR pwszPassword);
  2376. HRESULT ( STDMETHODCALLTYPE *getMachineName )(
  2377. ISIPAdminCredentials * This,
  2378. /* [out] */ BSTR *pbstrMachineName);
  2379. HRESULT ( STDMETHODCALLTYPE *getUserName )(
  2380. ISIPAdminCredentials * This,
  2381. /* [out] */ BSTR *pbstrUserName);
  2382. HRESULT ( STDMETHODCALLTYPE *getPassword )(
  2383. ISIPAdminCredentials * This,
  2384. /* [out] */ BSTR *pbstrPassword);
  2385. END_INTERFACE
  2386. } ISIPAdminCredentialsVtbl;
  2387. interface ISIPAdminCredentials
  2388. {
  2389. CONST_VTBL struct ISIPAdminCredentialsVtbl *lpVtbl;
  2390. };
  2391. #ifdef COBJMACROS
  2392. #define ISIPAdminCredentials_QueryInterface(This,riid,ppvObject) \
  2393. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2394. #define ISIPAdminCredentials_AddRef(This) \
  2395. (This)->lpVtbl -> AddRef(This)
  2396. #define ISIPAdminCredentials_Release(This) \
  2397. (This)->lpVtbl -> Release(This)
  2398. #define ISIPAdminCredentials_putMachineName(This,pwszMachineName) \
  2399. (This)->lpVtbl -> putMachineName(This,pwszMachineName)
  2400. #define ISIPAdminCredentials_putUserName(This,pwszUserName) \
  2401. (This)->lpVtbl -> putUserName(This,pwszUserName)
  2402. #define ISIPAdminCredentials_putPassword(This,pwszPassword) \
  2403. (This)->lpVtbl -> putPassword(This,pwszPassword)
  2404. #define ISIPAdminCredentials_getMachineName(This,pbstrMachineName) \
  2405. (This)->lpVtbl -> getMachineName(This,pbstrMachineName)
  2406. #define ISIPAdminCredentials_getUserName(This,pbstrUserName) \
  2407. (This)->lpVtbl -> getUserName(This,pbstrUserName)
  2408. #define ISIPAdminCredentials_getPassword(This,pbstrPassword) \
  2409. (This)->lpVtbl -> getPassword(This,pbstrPassword)
  2410. #endif /* COBJMACROS */
  2411. #endif /* C style interface */
  2412. HRESULT STDMETHODCALLTYPE ISIPAdminCredentials_putMachineName_Proxy(
  2413. ISIPAdminCredentials * This,
  2414. /* [in] */ const LPCWSTR pwszMachineName);
  2415. void __RPC_STUB ISIPAdminCredentials_putMachineName_Stub(
  2416. IRpcStubBuffer *This,
  2417. IRpcChannelBuffer *_pRpcChannelBuffer,
  2418. PRPC_MESSAGE _pRpcMessage,
  2419. DWORD *_pdwStubPhase);
  2420. HRESULT STDMETHODCALLTYPE ISIPAdminCredentials_putUserName_Proxy(
  2421. ISIPAdminCredentials * This,
  2422. /* [in] */ const LPCWSTR pwszUserName);
  2423. void __RPC_STUB ISIPAdminCredentials_putUserName_Stub(
  2424. IRpcStubBuffer *This,
  2425. IRpcChannelBuffer *_pRpcChannelBuffer,
  2426. PRPC_MESSAGE _pRpcMessage,
  2427. DWORD *_pdwStubPhase);
  2428. HRESULT STDMETHODCALLTYPE ISIPAdminCredentials_putPassword_Proxy(
  2429. ISIPAdminCredentials * This,
  2430. /* [in] */ const LPCWSTR pwszPassword);
  2431. void __RPC_STUB ISIPAdminCredentials_putPassword_Stub(
  2432. IRpcStubBuffer *This,
  2433. IRpcChannelBuffer *_pRpcChannelBuffer,
  2434. PRPC_MESSAGE _pRpcMessage,
  2435. DWORD *_pdwStubPhase);
  2436. HRESULT STDMETHODCALLTYPE ISIPAdminCredentials_getMachineName_Proxy(
  2437. ISIPAdminCredentials * This,
  2438. /* [out] */ BSTR *pbstrMachineName);
  2439. void __RPC_STUB ISIPAdminCredentials_getMachineName_Stub(
  2440. IRpcStubBuffer *This,
  2441. IRpcChannelBuffer *_pRpcChannelBuffer,
  2442. PRPC_MESSAGE _pRpcMessage,
  2443. DWORD *_pdwStubPhase);
  2444. HRESULT STDMETHODCALLTYPE ISIPAdminCredentials_getUserName_Proxy(
  2445. ISIPAdminCredentials * This,
  2446. /* [out] */ BSTR *pbstrUserName);
  2447. void __RPC_STUB ISIPAdminCredentials_getUserName_Stub(
  2448. IRpcStubBuffer *This,
  2449. IRpcChannelBuffer *_pRpcChannelBuffer,
  2450. PRPC_MESSAGE _pRpcMessage,
  2451. DWORD *_pdwStubPhase);
  2452. HRESULT STDMETHODCALLTYPE ISIPAdminCredentials_getPassword_Proxy(
  2453. ISIPAdminCredentials * This,
  2454. /* [out] */ BSTR *pbstrPassword);
  2455. void __RPC_STUB ISIPAdminCredentials_getPassword_Stub(
  2456. IRpcStubBuffer *This,
  2457. IRpcChannelBuffer *_pRpcChannelBuffer,
  2458. PRPC_MESSAGE _pRpcMessage,
  2459. DWORD *_pdwStubPhase);
  2460. #endif /* __ISIPAdminCredentials_INTERFACE_DEFINED__ */
  2461. #ifndef __ISIPCreateExtensionModule_INTERFACE_DEFINED__
  2462. #define __ISIPCreateExtensionModule_INTERFACE_DEFINED__
  2463. /* interface ISIPCreateExtensionModule */
  2464. /* [unique][helpstring][dual][uuid][object] */
  2465. EXTERN_C const IID IID_ISIPCreateExtensionModule;
  2466. #if defined(__cplusplus) && !defined(CINTERFACE)
  2467. MIDL_INTERFACE("0F926CF4-C18A-47de-8F2A-532349D8C83B")
  2468. ISIPCreateExtensionModule : public IUnknown
  2469. {
  2470. public:
  2471. virtual HRESULT STDMETHODCALLTYPE CreateNewExtensionModuleInstance(
  2472. /* [in] */ IWbemServices *pIService,
  2473. /* [out] */ IWbemClassObject **ppIClassObject) = 0;
  2474. };
  2475. #else /* C style interface */
  2476. typedef struct ISIPCreateExtensionModuleVtbl
  2477. {
  2478. BEGIN_INTERFACE
  2479. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2480. ISIPCreateExtensionModule * This,
  2481. /* [in] */ REFIID riid,
  2482. /* [iid_is][out] */ void **ppvObject);
  2483. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2484. ISIPCreateExtensionModule * This);
  2485. ULONG ( STDMETHODCALLTYPE *Release )(
  2486. ISIPCreateExtensionModule * This);
  2487. HRESULT ( STDMETHODCALLTYPE *CreateNewExtensionModuleInstance )(
  2488. ISIPCreateExtensionModule * This,
  2489. /* [in] */ IWbemServices *pIService,
  2490. /* [out] */ IWbemClassObject **ppIClassObject);
  2491. END_INTERFACE
  2492. } ISIPCreateExtensionModuleVtbl;
  2493. interface ISIPCreateExtensionModule
  2494. {
  2495. CONST_VTBL struct ISIPCreateExtensionModuleVtbl *lpVtbl;
  2496. };
  2497. #ifdef COBJMACROS
  2498. #define ISIPCreateExtensionModule_QueryInterface(This,riid,ppvObject) \
  2499. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2500. #define ISIPCreateExtensionModule_AddRef(This) \
  2501. (This)->lpVtbl -> AddRef(This)
  2502. #define ISIPCreateExtensionModule_Release(This) \
  2503. (This)->lpVtbl -> Release(This)
  2504. #define ISIPCreateExtensionModule_CreateNewExtensionModuleInstance(This,pIService,ppIClassObject) \
  2505. (This)->lpVtbl -> CreateNewExtensionModuleInstance(This,pIService,ppIClassObject)
  2506. #endif /* COBJMACROS */
  2507. #endif /* C style interface */
  2508. HRESULT STDMETHODCALLTYPE ISIPCreateExtensionModule_CreateNewExtensionModuleInstance_Proxy(
  2509. ISIPCreateExtensionModule * This,
  2510. /* [in] */ IWbemServices *pIService,
  2511. /* [out] */ IWbemClassObject **ppIClassObject);
  2512. void __RPC_STUB ISIPCreateExtensionModule_CreateNewExtensionModuleInstance_Stub(
  2513. IRpcStubBuffer *This,
  2514. IRpcChannelBuffer *_pRpcChannelBuffer,
  2515. PRPC_MESSAGE _pRpcMessage,
  2516. DWORD *_pdwStubPhase);
  2517. #endif /* __ISIPCreateExtensionModule_INTERFACE_DEFINED__ */
  2518. #ifndef __ISIPRegistrationDB_INTERFACE_DEFINED__
  2519. #define __ISIPRegistrationDB_INTERFACE_DEFINED__
  2520. /* interface ISIPRegistrationDB */
  2521. /* [unique][helpstring][uuid][object][local] */
  2522. EXTERN_C const IID IID_ISIPRegistrationDB;
  2523. #if defined(__cplusplus) && !defined(CINTERFACE)
  2524. MIDL_INTERFACE("97b805b8-812e-4eda-adbd-7a003f047cc3")
  2525. ISIPRegistrationDB : public IUnknown
  2526. {
  2527. public:
  2528. virtual HRESULT STDMETHODCALLTYPE IsDomainSupported(
  2529. /* [in] */ PSTRING pstrDomain,
  2530. /* [out] */ BOOL *pbSupported) = 0;
  2531. virtual HRESULT STDMETHODCALLTYPE GetAllContacts(
  2532. /* [in] */ PSTRING pstrUserAtHost,
  2533. /* [in] */ PSTRING pstrMethod,
  2534. /* [in] */ BOOL bMethodsOnly,
  2535. /* [out] */ SAFEARRAY * *ppsaContacts) = 0;
  2536. virtual HRESULT STDMETHODCALLTYPE GetPreferredContact(
  2537. /* [in] */ PSTRING strUserAtHost,
  2538. /* [in] */ PSTRING pstrMethod,
  2539. /* [in] */ BOOL bMethodsOnly,
  2540. /* [out] */ ISIPContactEntry **ppContactEntry) = 0;
  2541. };
  2542. #else /* C style interface */
  2543. typedef struct ISIPRegistrationDBVtbl
  2544. {
  2545. BEGIN_INTERFACE
  2546. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2547. ISIPRegistrationDB * This,
  2548. /* [in] */ REFIID riid,
  2549. /* [iid_is][out] */ void **ppvObject);
  2550. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2551. ISIPRegistrationDB * This);
  2552. ULONG ( STDMETHODCALLTYPE *Release )(
  2553. ISIPRegistrationDB * This);
  2554. HRESULT ( STDMETHODCALLTYPE *IsDomainSupported )(
  2555. ISIPRegistrationDB * This,
  2556. /* [in] */ PSTRING pstrDomain,
  2557. /* [out] */ BOOL *pbSupported);
  2558. HRESULT ( STDMETHODCALLTYPE *GetAllContacts )(
  2559. ISIPRegistrationDB * This,
  2560. /* [in] */ PSTRING pstrUserAtHost,
  2561. /* [in] */ PSTRING pstrMethod,
  2562. /* [in] */ BOOL bMethodsOnly,
  2563. /* [out] */ SAFEARRAY * *ppsaContacts);
  2564. HRESULT ( STDMETHODCALLTYPE *GetPreferredContact )(
  2565. ISIPRegistrationDB * This,
  2566. /* [in] */ PSTRING strUserAtHost,
  2567. /* [in] */ PSTRING pstrMethod,
  2568. /* [in] */ BOOL bMethodsOnly,
  2569. /* [out] */ ISIPContactEntry **ppContactEntry);
  2570. END_INTERFACE
  2571. } ISIPRegistrationDBVtbl;
  2572. interface ISIPRegistrationDB
  2573. {
  2574. CONST_VTBL struct ISIPRegistrationDBVtbl *lpVtbl;
  2575. };
  2576. #ifdef COBJMACROS
  2577. #define ISIPRegistrationDB_QueryInterface(This,riid,ppvObject) \
  2578. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2579. #define ISIPRegistrationDB_AddRef(This) \
  2580. (This)->lpVtbl -> AddRef(This)
  2581. #define ISIPRegistrationDB_Release(This) \
  2582. (This)->lpVtbl -> Release(This)
  2583. #define ISIPRegistrationDB_IsDomainSupported(This,pstrDomain,pbSupported) \
  2584. (This)->lpVtbl -> IsDomainSupported(This,pstrDomain,pbSupported)
  2585. #define ISIPRegistrationDB_GetAllContacts(This,pstrUserAtHost,pstrMethod,bMethodsOnly,ppsaContacts) \
  2586. (This)->lpVtbl -> GetAllContacts(This,pstrUserAtHost,pstrMethod,bMethodsOnly,ppsaContacts)
  2587. #define ISIPRegistrationDB_GetPreferredContact(This,strUserAtHost,pstrMethod,bMethodsOnly,ppContactEntry) \
  2588. (This)->lpVtbl -> GetPreferredContact(This,strUserAtHost,pstrMethod,bMethodsOnly,ppContactEntry)
  2589. #endif /* COBJMACROS */
  2590. #endif /* C style interface */
  2591. HRESULT STDMETHODCALLTYPE ISIPRegistrationDB_IsDomainSupported_Proxy(
  2592. ISIPRegistrationDB * This,
  2593. /* [in] */ PSTRING pstrDomain,
  2594. /* [out] */ BOOL *pbSupported);
  2595. void __RPC_STUB ISIPRegistrationDB_IsDomainSupported_Stub(
  2596. IRpcStubBuffer *This,
  2597. IRpcChannelBuffer *_pRpcChannelBuffer,
  2598. PRPC_MESSAGE _pRpcMessage,
  2599. DWORD *_pdwStubPhase);
  2600. HRESULT STDMETHODCALLTYPE ISIPRegistrationDB_GetAllContacts_Proxy(
  2601. ISIPRegistrationDB * This,
  2602. /* [in] */ PSTRING pstrUserAtHost,
  2603. /* [in] */ PSTRING pstrMethod,
  2604. /* [in] */ BOOL bMethodsOnly,
  2605. /* [out] */ SAFEARRAY * *ppsaContacts);
  2606. void __RPC_STUB ISIPRegistrationDB_GetAllContacts_Stub(
  2607. IRpcStubBuffer *This,
  2608. IRpcChannelBuffer *_pRpcChannelBuffer,
  2609. PRPC_MESSAGE _pRpcMessage,
  2610. DWORD *_pdwStubPhase);
  2611. HRESULT STDMETHODCALLTYPE ISIPRegistrationDB_GetPreferredContact_Proxy(
  2612. ISIPRegistrationDB * This,
  2613. /* [in] */ PSTRING strUserAtHost,
  2614. /* [in] */ PSTRING pstrMethod,
  2615. /* [in] */ BOOL bMethodsOnly,
  2616. /* [out] */ ISIPContactEntry **ppContactEntry);
  2617. void __RPC_STUB ISIPRegistrationDB_GetPreferredContact_Stub(
  2618. IRpcStubBuffer *This,
  2619. IRpcChannelBuffer *_pRpcChannelBuffer,
  2620. PRPC_MESSAGE _pRpcMessage,
  2621. DWORD *_pdwStubPhase);
  2622. #endif /* __ISIPRegistrationDB_INTERFACE_DEFINED__ */
  2623. #ifndef __ISIPProxy_INTERFACE_DEFINED__
  2624. #define __ISIPProxy_INTERFACE_DEFINED__
  2625. /* interface ISIPProxy */
  2626. /* [unique][helpstring][uuid][object][local] */
  2627. EXTERN_C const IID IID_ISIPProxy;
  2628. #if defined(__cplusplus) && !defined(CINTERFACE)
  2629. MIDL_INTERFACE("FA9C6B4E-E338-4D14-B5D2-9EF95EA0A4C4")
  2630. ISIPProxy : public IUnknown
  2631. {
  2632. public:
  2633. virtual HRESULT STDMETHODCALLTYPE CreateRequest(
  2634. /* [in] */ SIP_HANDLE hModuleHandle,
  2635. /* [in] */ PSTRING pstrMethod,
  2636. /* [in] */ IUri *pUri,
  2637. /* [in] */ PSTRING pstrFromHeaderContent,
  2638. /* [in] */ PSTRING pstrToHeaderContent,
  2639. /* [in] */ PSTRING pstrCallIDHeaderContent,
  2640. /* [in] */ PSTRING pstrCSeqHeaderContent,
  2641. /* [in] */ IUnknown *pProxyRequestInfo,
  2642. /* [out] */ ISIPRequest **ppRequest) = 0;
  2643. virtual HRESULT STDMETHODCALLTYPE CreateRequestEx(
  2644. /* [in] */ SIP_HANDLE hModuleHandle,
  2645. /* [in] */ PSTRING pstrMethod,
  2646. /* [in] */ ISIPContactEntry *pContact,
  2647. /* [in] */ PSTRING pstrFromHeaderContent,
  2648. /* [in] */ PSTRING pstrToHeaderContent,
  2649. /* [in] */ PSTRING pstrCallIDHeaderContent,
  2650. /* [in] */ PSTRING pstrCSeqHeaderContent,
  2651. /* [in] */ IUnknown *pProxyRequestInfo,
  2652. /* [out] */ ISIPRequest **ppRequest) = 0;
  2653. virtual HRESULT STDMETHODCALLTYPE CreateProxyRequestInfoObject(
  2654. /* [out] */ IUnknown **ppProxyRequestInfo) = 0;
  2655. virtual HRESULT STDMETHODCALLTYPE CreateUri(
  2656. /* [in] */ URI_SCHEME uriScheme,
  2657. /* [in] */ PSTRING pstrDisplayName,
  2658. /* [in] */ PSTRING pstrUriString,
  2659. /* [out] */ IUri **ppUri) = 0;
  2660. virtual HRESULT STDMETHODCALLTYPE GetHeaderID(
  2661. /* [in] */ PSTRING pstrHeaderName,
  2662. /* [out] */ SIPHeaderID *pHeaderID) = 0;
  2663. virtual HRESULT STDMETHODCALLTYPE GetHeaderName(
  2664. /* [in] */ SIPHeaderID headerID,
  2665. /* [out] */ PSTRING pstrHeaderName) = 0;
  2666. virtual HRESULT STDMETHODCALLTYPE GetRegistrationDB(
  2667. /* [out] */ ISIPRegistrationDB **ppRegistrationDB) = 0;
  2668. virtual HRESULT STDMETHODCALLTYPE RegisterURI(
  2669. /* [in] */ SIP_HANDLE hModuleHandle,
  2670. /* [in] */ IUri *pSipRequestURI,
  2671. /* [in] */ PSTRING pstrMethod,
  2672. /* [in] */ DWORD dwSessionTypes,
  2673. /* [in] */ IUnknown *punkRegistrationContext) = 0;
  2674. virtual HRESULT STDMETHODCALLTYPE DeregisterURI(
  2675. /* [in] */ SIP_HANDLE hModuleHandle,
  2676. /* [in] */ IUri *pSipRequestUri) = 0;
  2677. virtual HRESULT STDMETHODCALLTYPE FindRegistrationContext(
  2678. /* [in] */ SIP_HANDLE hModuleHandle,
  2679. /* [in] */ STRING *pstrMethod,
  2680. /* [in] */ SIPRegistrationType enRegistrationType,
  2681. /* [in] */ IUri *pURI,
  2682. /* [out] */ IUnknown **ppUnkRegistrationContext) = 0;
  2683. };
  2684. #else /* C style interface */
  2685. typedef struct ISIPProxyVtbl
  2686. {
  2687. BEGIN_INTERFACE
  2688. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2689. ISIPProxy * This,
  2690. /* [in] */ REFIID riid,
  2691. /* [iid_is][out] */ void **ppvObject);
  2692. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2693. ISIPProxy * This);
  2694. ULONG ( STDMETHODCALLTYPE *Release )(
  2695. ISIPProxy * This);
  2696. HRESULT ( STDMETHODCALLTYPE *CreateRequest )(
  2697. ISIPProxy * This,
  2698. /* [in] */ SIP_HANDLE hModuleHandle,
  2699. /* [in] */ PSTRING pstrMethod,
  2700. /* [in] */ IUri *pUri,
  2701. /* [in] */ PSTRING pstrFromHeaderContent,
  2702. /* [in] */ PSTRING pstrToHeaderContent,
  2703. /* [in] */ PSTRING pstrCallIDHeaderContent,
  2704. /* [in] */ PSTRING pstrCSeqHeaderContent,
  2705. /* [in] */ IUnknown *pProxyRequestInfo,
  2706. /* [out] */ ISIPRequest **ppRequest);
  2707. HRESULT ( STDMETHODCALLTYPE *CreateRequestEx )(
  2708. ISIPProxy * This,
  2709. /* [in] */ SIP_HANDLE hModuleHandle,
  2710. /* [in] */ PSTRING pstrMethod,
  2711. /* [in] */ ISIPContactEntry *pContact,
  2712. /* [in] */ PSTRING pstrFromHeaderContent,
  2713. /* [in] */ PSTRING pstrToHeaderContent,
  2714. /* [in] */ PSTRING pstrCallIDHeaderContent,
  2715. /* [in] */ PSTRING pstrCSeqHeaderContent,
  2716. /* [in] */ IUnknown *pProxyRequestInfo,
  2717. /* [out] */ ISIPRequest **ppRequest);
  2718. HRESULT ( STDMETHODCALLTYPE *CreateProxyRequestInfoObject )(
  2719. ISIPProxy * This,
  2720. /* [out] */ IUnknown **ppProxyRequestInfo);
  2721. HRESULT ( STDMETHODCALLTYPE *CreateUri )(
  2722. ISIPProxy * This,
  2723. /* [in] */ URI_SCHEME uriScheme,
  2724. /* [in] */ PSTRING pstrDisplayName,
  2725. /* [in] */ PSTRING pstrUriString,
  2726. /* [out] */ IUri **ppUri);
  2727. HRESULT ( STDMETHODCALLTYPE *GetHeaderID )(
  2728. ISIPProxy * This,
  2729. /* [in] */ PSTRING pstrHeaderName,
  2730. /* [out] */ SIPHeaderID *pHeaderID);
  2731. HRESULT ( STDMETHODCALLTYPE *GetHeaderName )(
  2732. ISIPProxy * This,
  2733. /* [in] */ SIPHeaderID headerID,
  2734. /* [out] */ PSTRING pstrHeaderName);
  2735. HRESULT ( STDMETHODCALLTYPE *GetRegistrationDB )(
  2736. ISIPProxy * This,
  2737. /* [out] */ ISIPRegistrationDB **ppRegistrationDB);
  2738. HRESULT ( STDMETHODCALLTYPE *RegisterURI )(
  2739. ISIPProxy * This,
  2740. /* [in] */ SIP_HANDLE hModuleHandle,
  2741. /* [in] */ IUri *pSipRequestURI,
  2742. /* [in] */ PSTRING pstrMethod,
  2743. /* [in] */ DWORD dwSessionTypes,
  2744. /* [in] */ IUnknown *punkRegistrationContext);
  2745. HRESULT ( STDMETHODCALLTYPE *DeregisterURI )(
  2746. ISIPProxy * This,
  2747. /* [in] */ SIP_HANDLE hModuleHandle,
  2748. /* [in] */ IUri *pSipRequestUri);
  2749. HRESULT ( STDMETHODCALLTYPE *FindRegistrationContext )(
  2750. ISIPProxy * This,
  2751. /* [in] */ SIP_HANDLE hModuleHandle,
  2752. /* [in] */ STRING *pstrMethod,
  2753. /* [in] */ SIPRegistrationType enRegistrationType,
  2754. /* [in] */ IUri *pURI,
  2755. /* [out] */ IUnknown **ppUnkRegistrationContext);
  2756. END_INTERFACE
  2757. } ISIPProxyVtbl;
  2758. interface ISIPProxy
  2759. {
  2760. CONST_VTBL struct ISIPProxyVtbl *lpVtbl;
  2761. };
  2762. #ifdef COBJMACROS
  2763. #define ISIPProxy_QueryInterface(This,riid,ppvObject) \
  2764. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2765. #define ISIPProxy_AddRef(This) \
  2766. (This)->lpVtbl -> AddRef(This)
  2767. #define ISIPProxy_Release(This) \
  2768. (This)->lpVtbl -> Release(This)
  2769. #define ISIPProxy_CreateRequest(This,hModuleHandle,pstrMethod,pUri,pstrFromHeaderContent,pstrToHeaderContent,pstrCallIDHeaderContent,pstrCSeqHeaderContent,pProxyRequestInfo,ppRequest) \
  2770. (This)->lpVtbl -> CreateRequest(This,hModuleHandle,pstrMethod,pUri,pstrFromHeaderContent,pstrToHeaderContent,pstrCallIDHeaderContent,pstrCSeqHeaderContent,pProxyRequestInfo,ppRequest)
  2771. #define ISIPProxy_CreateRequestEx(This,hModuleHandle,pstrMethod,pContact,pstrFromHeaderContent,pstrToHeaderContent,pstrCallIDHeaderContent,pstrCSeqHeaderContent,pProxyRequestInfo,ppRequest) \
  2772. (This)->lpVtbl -> CreateRequestEx(This,hModuleHandle,pstrMethod,pContact,pstrFromHeaderContent,pstrToHeaderContent,pstrCallIDHeaderContent,pstrCSeqHeaderContent,pProxyRequestInfo,ppRequest)
  2773. #define ISIPProxy_CreateProxyRequestInfoObject(This,ppProxyRequestInfo) \
  2774. (This)->lpVtbl -> CreateProxyRequestInfoObject(This,ppProxyRequestInfo)
  2775. #define ISIPProxy_CreateUri(This,uriScheme,pstrDisplayName,pstrUriString,ppUri) \
  2776. (This)->lpVtbl -> CreateUri(This,uriScheme,pstrDisplayName,pstrUriString,ppUri)
  2777. #define ISIPProxy_GetHeaderID(This,pstrHeaderName,pHeaderID) \
  2778. (This)->lpVtbl -> GetHeaderID(This,pstrHeaderName,pHeaderID)
  2779. #define ISIPProxy_GetHeaderName(This,headerID,pstrHeaderName) \
  2780. (This)->lpVtbl -> GetHeaderName(This,headerID,pstrHeaderName)
  2781. #define ISIPProxy_GetRegistrationDB(This,ppRegistrationDB) \
  2782. (This)->lpVtbl -> GetRegistrationDB(This,ppRegistrationDB)
  2783. #define ISIPProxy_RegisterURI(This,hModuleHandle,pSipRequestURI,pstrMethod,dwSessionTypes,punkRegistrationContext) \
  2784. (This)->lpVtbl -> RegisterURI(This,hModuleHandle,pSipRequestURI,pstrMethod,dwSessionTypes,punkRegistrationContext)
  2785. #define ISIPProxy_DeregisterURI(This,hModuleHandle,pSipRequestUri) \
  2786. (This)->lpVtbl -> DeregisterURI(This,hModuleHandle,pSipRequestUri)
  2787. #define ISIPProxy_FindRegistrationContext(This,hModuleHandle,pstrMethod,enRegistrationType,pURI,ppUnkRegistrationContext) \
  2788. (This)->lpVtbl -> FindRegistrationContext(This,hModuleHandle,pstrMethod,enRegistrationType,pURI,ppUnkRegistrationContext)
  2789. #endif /* COBJMACROS */
  2790. #endif /* C style interface */
  2791. HRESULT STDMETHODCALLTYPE ISIPProxy_CreateRequest_Proxy(
  2792. ISIPProxy * This,
  2793. /* [in] */ SIP_HANDLE hModuleHandle,
  2794. /* [in] */ PSTRING pstrMethod,
  2795. /* [in] */ IUri *pUri,
  2796. /* [in] */ PSTRING pstrFromHeaderContent,
  2797. /* [in] */ PSTRING pstrToHeaderContent,
  2798. /* [in] */ PSTRING pstrCallIDHeaderContent,
  2799. /* [in] */ PSTRING pstrCSeqHeaderContent,
  2800. /* [in] */ IUnknown *pProxyRequestInfo,
  2801. /* [out] */ ISIPRequest **ppRequest);
  2802. void __RPC_STUB ISIPProxy_CreateRequest_Stub(
  2803. IRpcStubBuffer *This,
  2804. IRpcChannelBuffer *_pRpcChannelBuffer,
  2805. PRPC_MESSAGE _pRpcMessage,
  2806. DWORD *_pdwStubPhase);
  2807. HRESULT STDMETHODCALLTYPE ISIPProxy_CreateRequestEx_Proxy(
  2808. ISIPProxy * This,
  2809. /* [in] */ SIP_HANDLE hModuleHandle,
  2810. /* [in] */ PSTRING pstrMethod,
  2811. /* [in] */ ISIPContactEntry *pContact,
  2812. /* [in] */ PSTRING pstrFromHeaderContent,
  2813. /* [in] */ PSTRING pstrToHeaderContent,
  2814. /* [in] */ PSTRING pstrCallIDHeaderContent,
  2815. /* [in] */ PSTRING pstrCSeqHeaderContent,
  2816. /* [in] */ IUnknown *pProxyRequestInfo,
  2817. /* [out] */ ISIPRequest **ppRequest);
  2818. void __RPC_STUB ISIPProxy_CreateRequestEx_Stub(
  2819. IRpcStubBuffer *This,
  2820. IRpcChannelBuffer *_pRpcChannelBuffer,
  2821. PRPC_MESSAGE _pRpcMessage,
  2822. DWORD *_pdwStubPhase);
  2823. HRESULT STDMETHODCALLTYPE ISIPProxy_CreateProxyRequestInfoObject_Proxy(
  2824. ISIPProxy * This,
  2825. /* [out] */ IUnknown **ppProxyRequestInfo);
  2826. void __RPC_STUB ISIPProxy_CreateProxyRequestInfoObject_Stub(
  2827. IRpcStubBuffer *This,
  2828. IRpcChannelBuffer *_pRpcChannelBuffer,
  2829. PRPC_MESSAGE _pRpcMessage,
  2830. DWORD *_pdwStubPhase);
  2831. HRESULT STDMETHODCALLTYPE ISIPProxy_CreateUri_Proxy(
  2832. ISIPProxy * This,
  2833. /* [in] */ URI_SCHEME uriScheme,
  2834. /* [in] */ PSTRING pstrDisplayName,
  2835. /* [in] */ PSTRING pstrUriString,
  2836. /* [out] */ IUri **ppUri);
  2837. void __RPC_STUB ISIPProxy_CreateUri_Stub(
  2838. IRpcStubBuffer *This,
  2839. IRpcChannelBuffer *_pRpcChannelBuffer,
  2840. PRPC_MESSAGE _pRpcMessage,
  2841. DWORD *_pdwStubPhase);
  2842. HRESULT STDMETHODCALLTYPE ISIPProxy_GetHeaderID_Proxy(
  2843. ISIPProxy * This,
  2844. /* [in] */ PSTRING pstrHeaderName,
  2845. /* [out] */ SIPHeaderID *pHeaderID);
  2846. void __RPC_STUB ISIPProxy_GetHeaderID_Stub(
  2847. IRpcStubBuffer *This,
  2848. IRpcChannelBuffer *_pRpcChannelBuffer,
  2849. PRPC_MESSAGE _pRpcMessage,
  2850. DWORD *_pdwStubPhase);
  2851. HRESULT STDMETHODCALLTYPE ISIPProxy_GetHeaderName_Proxy(
  2852. ISIPProxy * This,
  2853. /* [in] */ SIPHeaderID headerID,
  2854. /* [out] */ PSTRING pstrHeaderName);
  2855. void __RPC_STUB ISIPProxy_GetHeaderName_Stub(
  2856. IRpcStubBuffer *This,
  2857. IRpcChannelBuffer *_pRpcChannelBuffer,
  2858. PRPC_MESSAGE _pRpcMessage,
  2859. DWORD *_pdwStubPhase);
  2860. HRESULT STDMETHODCALLTYPE ISIPProxy_GetRegistrationDB_Proxy(
  2861. ISIPProxy * This,
  2862. /* [out] */ ISIPRegistrationDB **ppRegistrationDB);
  2863. void __RPC_STUB ISIPProxy_GetRegistrationDB_Stub(
  2864. IRpcStubBuffer *This,
  2865. IRpcChannelBuffer *_pRpcChannelBuffer,
  2866. PRPC_MESSAGE _pRpcMessage,
  2867. DWORD *_pdwStubPhase);
  2868. HRESULT STDMETHODCALLTYPE ISIPProxy_RegisterURI_Proxy(
  2869. ISIPProxy * This,
  2870. /* [in] */ SIP_HANDLE hModuleHandle,
  2871. /* [in] */ IUri *pSipRequestURI,
  2872. /* [in] */ PSTRING pstrMethod,
  2873. /* [in] */ DWORD dwSessionTypes,
  2874. /* [in] */ IUnknown *punkRegistrationContext);
  2875. void __RPC_STUB ISIPProxy_RegisterURI_Stub(
  2876. IRpcStubBuffer *This,
  2877. IRpcChannelBuffer *_pRpcChannelBuffer,
  2878. PRPC_MESSAGE _pRpcMessage,
  2879. DWORD *_pdwStubPhase);
  2880. HRESULT STDMETHODCALLTYPE ISIPProxy_DeregisterURI_Proxy(
  2881. ISIPProxy * This,
  2882. /* [in] */ SIP_HANDLE hModuleHandle,
  2883. /* [in] */ IUri *pSipRequestUri);
  2884. void __RPC_STUB ISIPProxy_DeregisterURI_Stub(
  2885. IRpcStubBuffer *This,
  2886. IRpcChannelBuffer *_pRpcChannelBuffer,
  2887. PRPC_MESSAGE _pRpcMessage,
  2888. DWORD *_pdwStubPhase);
  2889. HRESULT STDMETHODCALLTYPE ISIPProxy_FindRegistrationContext_Proxy(
  2890. ISIPProxy * This,
  2891. /* [in] */ SIP_HANDLE hModuleHandle,
  2892. /* [in] */ STRING *pstrMethod,
  2893. /* [in] */ SIPRegistrationType enRegistrationType,
  2894. /* [in] */ IUri *pURI,
  2895. /* [out] */ IUnknown **ppUnkRegistrationContext);
  2896. void __RPC_STUB ISIPProxy_FindRegistrationContext_Stub(
  2897. IRpcStubBuffer *This,
  2898. IRpcChannelBuffer *_pRpcChannelBuffer,
  2899. PRPC_MESSAGE _pRpcMessage,
  2900. DWORD *_pdwStubPhase);
  2901. #endif /* __ISIPProxy_INTERFACE_DEFINED__ */
  2902. #ifndef __ISIPEventLogging_INTERFACE_DEFINED__
  2903. #define __ISIPEventLogging_INTERFACE_DEFINED__
  2904. /* interface ISIPEventLogging */
  2905. /* [unique][helpstring][uuid][object] */
  2906. EXTERN_C const IID IID_ISIPEventLogging;
  2907. #if defined(__cplusplus) && !defined(CINTERFACE)
  2908. MIDL_INTERFACE("834673F0-3076-427a-9D1E-3E3768E6AF5C")
  2909. ISIPEventLogging : public IUnknown
  2910. {
  2911. public:
  2912. virtual HRESULT STDMETHODCALLTYPE ReportEvent(
  2913. /* [in] */ WORD wType,
  2914. /* [in] */ WORD wCategory,
  2915. /* [in] */ DWORD dwEventID) = 0;
  2916. virtual HRESULT STDMETHODCALLTYPE ReportEventBLOB(
  2917. /* [in] */ WORD wType,
  2918. /* [in] */ WORD wCategory,
  2919. /* [in] */ DWORD dwEventID,
  2920. /* [in] */ WORD wNumStrings,
  2921. /* [size_is][in] */ LPCWSTR *lpStrings,
  2922. /* [in] */ DWORD dwDataSize,
  2923. /* [size_is][in] */ const BYTE *lpRawData) = 0;
  2924. };
  2925. #else /* C style interface */
  2926. typedef struct ISIPEventLoggingVtbl
  2927. {
  2928. BEGIN_INTERFACE
  2929. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2930. ISIPEventLogging * This,
  2931. /* [in] */ REFIID riid,
  2932. /* [iid_is][out] */ void **ppvObject);
  2933. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2934. ISIPEventLogging * This);
  2935. ULONG ( STDMETHODCALLTYPE *Release )(
  2936. ISIPEventLogging * This);
  2937. HRESULT ( STDMETHODCALLTYPE *ReportEvent )(
  2938. ISIPEventLogging * This,
  2939. /* [in] */ WORD wType,
  2940. /* [in] */ WORD wCategory,
  2941. /* [in] */ DWORD dwEventID);
  2942. HRESULT ( STDMETHODCALLTYPE *ReportEventBLOB )(
  2943. ISIPEventLogging * This,
  2944. /* [in] */ WORD wType,
  2945. /* [in] */ WORD wCategory,
  2946. /* [in] */ DWORD dwEventID,
  2947. /* [in] */ WORD wNumStrings,
  2948. /* [size_is][in] */ LPCWSTR *lpStrings,
  2949. /* [in] */ DWORD dwDataSize,
  2950. /* [size_is][in] */ const BYTE *lpRawData);
  2951. END_INTERFACE
  2952. } ISIPEventLoggingVtbl;
  2953. interface ISIPEventLogging
  2954. {
  2955. CONST_VTBL struct ISIPEventLoggingVtbl *lpVtbl;
  2956. };
  2957. #ifdef COBJMACROS
  2958. #define ISIPEventLogging_QueryInterface(This,riid,ppvObject) \
  2959. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2960. #define ISIPEventLogging_AddRef(This) \
  2961. (This)->lpVtbl -> AddRef(This)
  2962. #define ISIPEventLogging_Release(This) \
  2963. (This)->lpVtbl -> Release(This)
  2964. #define ISIPEventLogging_ReportEvent(This,wType,wCategory,dwEventID) \
  2965. (This)->lpVtbl -> ReportEvent(This,wType,wCategory,dwEventID)
  2966. #define ISIPEventLogging_ReportEventBLOB(This,wType,wCategory,dwEventID,wNumStrings,lpStrings,dwDataSize,lpRawData) \
  2967. (This)->lpVtbl -> ReportEventBLOB(This,wType,wCategory,dwEventID,wNumStrings,lpStrings,dwDataSize,lpRawData)
  2968. #endif /* COBJMACROS */
  2969. #endif /* C style interface */
  2970. HRESULT STDMETHODCALLTYPE ISIPEventLogging_ReportEvent_Proxy(
  2971. ISIPEventLogging * This,
  2972. /* [in] */ WORD wType,
  2973. /* [in] */ WORD wCategory,
  2974. /* [in] */ DWORD dwEventID);
  2975. void __RPC_STUB ISIPEventLogging_ReportEvent_Stub(
  2976. IRpcStubBuffer *This,
  2977. IRpcChannelBuffer *_pRpcChannelBuffer,
  2978. PRPC_MESSAGE _pRpcMessage,
  2979. DWORD *_pdwStubPhase);
  2980. HRESULT STDMETHODCALLTYPE ISIPEventLogging_ReportEventBLOB_Proxy(
  2981. ISIPEventLogging * This,
  2982. /* [in] */ WORD wType,
  2983. /* [in] */ WORD wCategory,
  2984. /* [in] */ DWORD dwEventID,
  2985. /* [in] */ WORD wNumStrings,
  2986. /* [size_is][in] */ LPCWSTR *lpStrings,
  2987. /* [in] */ DWORD dwDataSize,
  2988. /* [size_is][in] */ const BYTE *lpRawData);
  2989. void __RPC_STUB ISIPEventLogging_ReportEventBLOB_Stub(
  2990. IRpcStubBuffer *This,
  2991. IRpcChannelBuffer *_pRpcChannelBuffer,
  2992. PRPC_MESSAGE _pRpcMessage,
  2993. DWORD *_pdwStubPhase);
  2994. #endif /* __ISIPEventLogging_INTERFACE_DEFINED__ */
  2995. #ifndef __ISIPSerialize_INTERFACE_DEFINED__
  2996. #define __ISIPSerialize_INTERFACE_DEFINED__
  2997. /* interface ISIPSerialize */
  2998. /* [unique][helpstring][uuid][object] */
  2999. EXTERN_C const IID IID_ISIPSerialize;
  3000. #if defined(__cplusplus) && !defined(CINTERFACE)
  3001. MIDL_INTERFACE("de680840-d7b3-427a-9d00-9d4a45ff9b8c")
  3002. ISIPSerialize : public IUnknown
  3003. {
  3004. public:
  3005. virtual HRESULT STDMETHODCALLTYPE Store(
  3006. /* [out] */ DWORD *pdwBufferSize,
  3007. /* [size_is][size_is][out] */ BYTE **ppbBuffer) = 0;
  3008. virtual HRESULT STDMETHODCALLTYPE Restore(
  3009. /* [in] */ const DWORD dwBufferSize,
  3010. /* [size_is][in] */ const BYTE *pbBuffer) = 0;
  3011. };
  3012. #else /* C style interface */
  3013. typedef struct ISIPSerializeVtbl
  3014. {
  3015. BEGIN_INTERFACE
  3016. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3017. ISIPSerialize * This,
  3018. /* [in] */ REFIID riid,
  3019. /* [iid_is][out] */ void **ppvObject);
  3020. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3021. ISIPSerialize * This);
  3022. ULONG ( STDMETHODCALLTYPE *Release )(
  3023. ISIPSerialize * This);
  3024. HRESULT ( STDMETHODCALLTYPE *Store )(
  3025. ISIPSerialize * This,
  3026. /* [out] */ DWORD *pdwBufferSize,
  3027. /* [size_is][size_is][out] */ BYTE **ppbBuffer);
  3028. HRESULT ( STDMETHODCALLTYPE *Restore )(
  3029. ISIPSerialize * This,
  3030. /* [in] */ const DWORD dwBufferSize,
  3031. /* [size_is][in] */ const BYTE *pbBuffer);
  3032. END_INTERFACE
  3033. } ISIPSerializeVtbl;
  3034. interface ISIPSerialize
  3035. {
  3036. CONST_VTBL struct ISIPSerializeVtbl *lpVtbl;
  3037. };
  3038. #ifdef COBJMACROS
  3039. #define ISIPSerialize_QueryInterface(This,riid,ppvObject) \
  3040. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3041. #define ISIPSerialize_AddRef(This) \
  3042. (This)->lpVtbl -> AddRef(This)
  3043. #define ISIPSerialize_Release(This) \
  3044. (This)->lpVtbl -> Release(This)
  3045. #define ISIPSerialize_Store(This,pdwBufferSize,ppbBuffer) \
  3046. (This)->lpVtbl -> Store(This,pdwBufferSize,ppbBuffer)
  3047. #define ISIPSerialize_Restore(This,dwBufferSize,pbBuffer) \
  3048. (This)->lpVtbl -> Restore(This,dwBufferSize,pbBuffer)
  3049. #endif /* COBJMACROS */
  3050. #endif /* C style interface */
  3051. HRESULT STDMETHODCALLTYPE ISIPSerialize_Store_Proxy(
  3052. ISIPSerialize * This,
  3053. /* [out] */ DWORD *pdwBufferSize,
  3054. /* [size_is][size_is][out] */ BYTE **ppbBuffer);
  3055. void __RPC_STUB ISIPSerialize_Store_Stub(
  3056. IRpcStubBuffer *This,
  3057. IRpcChannelBuffer *_pRpcChannelBuffer,
  3058. PRPC_MESSAGE _pRpcMessage,
  3059. DWORD *_pdwStubPhase);
  3060. HRESULT STDMETHODCALLTYPE ISIPSerialize_Restore_Proxy(
  3061. ISIPSerialize * This,
  3062. /* [in] */ const DWORD dwBufferSize,
  3063. /* [size_is][in] */ const BYTE *pbBuffer);
  3064. void __RPC_STUB ISIPSerialize_Restore_Stub(
  3065. IRpcStubBuffer *This,
  3066. IRpcChannelBuffer *_pRpcChannelBuffer,
  3067. PRPC_MESSAGE _pRpcMessage,
  3068. DWORD *_pdwStubPhase);
  3069. #endif /* __ISIPSerialize_INTERFACE_DEFINED__ */
  3070. /* Additional Prototypes for ALL interfaces */
  3071. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  3072. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  3073. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  3074. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  3075. /* end of Additional Prototypes */
  3076. #ifdef __cplusplus
  3077. }
  3078. #endif
  3079. #endif