wmnetsourcecreator.h 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for wmnetsourcecreator.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __wmnetsourcecreator_h__
  27. #define __wmnetsourcecreator_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __INSNetSourceCreator_FWD_DEFINED__
  33. #define __INSNetSourceCreator_FWD_DEFINED__
  34. typedef interface INSNetSourceCreator INSNetSourceCreator;
  35. #endif /* __INSNetSourceCreator_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "oaidl.h"
  38. #ifdef __cplusplus
  39. extern "C"{
  40. #endif
  41. void * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void * );
  43. /* interface __MIDL_itf_wmnetsourcecreator_0000 */
  44. /* [local] */
  45. //+-------------------------------------------------------------------------
  46. //
  47. // Microsoft Windows Media
  48. // Copyright (C) Microsoft Corporation. All rights reserved
  49. //
  50. // Automatically generated by Midl from WMNetSourceCreator.idl
  51. //
  52. // DO NOT EDIT THIS FILE.
  53. //
  54. //--------------------------------------------------------------------------
  55. EXTERN_GUID( CLSID_ClientNetManager, 0xCD12A3CE,0x9C42,0x11D2,0xBE,0xED,0x00,0x60,0x08,0x2F,0x20,0x54 );
  56. EXTERN_GUID( IID_INSNetSourceCreator, 0x0C0E4080,0x9081,0x11d2,0xBE,0xEC,0x00,0x60,0x08,0x2F,0x20,0x54 );
  57. typedef unsigned __int64 QWORD;
  58. extern RPC_IF_HANDLE __MIDL_itf_wmnetsourcecreator_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_wmnetsourcecreator_0000_v0_0_s_ifspec;
  60. #ifndef __INSNetSourceCreator_INTERFACE_DEFINED__
  61. #define __INSNetSourceCreator_INTERFACE_DEFINED__
  62. /* interface INSNetSourceCreator */
  63. /* [unique][version][uuid][object] */
  64. EXTERN_C const IID IID_INSNetSourceCreator;
  65. #if defined(__cplusplus) && !defined(CINTERFACE)
  66. MIDL_INTERFACE("0C0E4080-9081-11d2-BEEC-0060082F2054")
  67. INSNetSourceCreator : public IUnknown
  68. {
  69. public:
  70. virtual HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
  71. virtual HRESULT STDMETHODCALLTYPE CreateNetSource(
  72. /* [in] */ LPCWSTR pszStreamName,
  73. /* [in] */ IUnknown *pMonitor,
  74. /* [in] */ BYTE *pData,
  75. /* [in] */ IUnknown *pUserContext,
  76. /* [in] */ IUnknown *pCallback,
  77. /* [in] */ QWORD qwContext) = 0;
  78. virtual HRESULT STDMETHODCALLTYPE GetNetSourceProperties(
  79. /* [in] */ LPCWSTR pszStreamName,
  80. /* [out] */ IUnknown **ppPropertiesNode) = 0;
  81. virtual HRESULT STDMETHODCALLTYPE GetNetSourceSharedNamespace(
  82. /* [out] */ IUnknown **ppSharedNamespace) = 0;
  83. virtual HRESULT STDMETHODCALLTYPE GetNetSourceAdminInterface(
  84. /* [in] */ LPCWSTR pszStreamName,
  85. /* [out] */ VARIANT *pVal) = 0;
  86. virtual HRESULT STDMETHODCALLTYPE GetNumProtocolsSupported(
  87. /* [out] */ DWORD *pcProtocols) = 0;
  88. virtual HRESULT STDMETHODCALLTYPE GetProtocolName(
  89. /* [in] */ DWORD dwProtocolNum,
  90. /* [out] */ WCHAR *pwszProtocolName,
  91. /* [out][in] */ WORD *pcchProtocolName) = 0;
  92. virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  93. };
  94. #else /* C style interface */
  95. typedef struct INSNetSourceCreatorVtbl
  96. {
  97. BEGIN_INTERFACE
  98. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  99. INSNetSourceCreator * This,
  100. /* [in] */ REFIID riid,
  101. /* [iid_is][out] */ void **ppvObject);
  102. ULONG ( STDMETHODCALLTYPE *AddRef )(
  103. INSNetSourceCreator * This);
  104. ULONG ( STDMETHODCALLTYPE *Release )(
  105. INSNetSourceCreator * This);
  106. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  107. INSNetSourceCreator * This);
  108. HRESULT ( STDMETHODCALLTYPE *CreateNetSource )(
  109. INSNetSourceCreator * This,
  110. /* [in] */ LPCWSTR pszStreamName,
  111. /* [in] */ IUnknown *pMonitor,
  112. /* [in] */ BYTE *pData,
  113. /* [in] */ IUnknown *pUserContext,
  114. /* [in] */ IUnknown *pCallback,
  115. /* [in] */ QWORD qwContext);
  116. HRESULT ( STDMETHODCALLTYPE *GetNetSourceProperties )(
  117. INSNetSourceCreator * This,
  118. /* [in] */ LPCWSTR pszStreamName,
  119. /* [out] */ IUnknown **ppPropertiesNode);
  120. HRESULT ( STDMETHODCALLTYPE *GetNetSourceSharedNamespace )(
  121. INSNetSourceCreator * This,
  122. /* [out] */ IUnknown **ppSharedNamespace);
  123. HRESULT ( STDMETHODCALLTYPE *GetNetSourceAdminInterface )(
  124. INSNetSourceCreator * This,
  125. /* [in] */ LPCWSTR pszStreamName,
  126. /* [out] */ VARIANT *pVal);
  127. HRESULT ( STDMETHODCALLTYPE *GetNumProtocolsSupported )(
  128. INSNetSourceCreator * This,
  129. /* [out] */ DWORD *pcProtocols);
  130. HRESULT ( STDMETHODCALLTYPE *GetProtocolName )(
  131. INSNetSourceCreator * This,
  132. /* [in] */ DWORD dwProtocolNum,
  133. /* [out] */ WCHAR *pwszProtocolName,
  134. /* [out][in] */ WORD *pcchProtocolName);
  135. HRESULT ( STDMETHODCALLTYPE *Shutdown )(
  136. INSNetSourceCreator * This);
  137. END_INTERFACE
  138. } INSNetSourceCreatorVtbl;
  139. interface INSNetSourceCreator
  140. {
  141. CONST_VTBL struct INSNetSourceCreatorVtbl *lpVtbl;
  142. };
  143. #ifdef COBJMACROS
  144. #define INSNetSourceCreator_QueryInterface(This,riid,ppvObject) \
  145. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  146. #define INSNetSourceCreator_AddRef(This) \
  147. (This)->lpVtbl -> AddRef(This)
  148. #define INSNetSourceCreator_Release(This) \
  149. (This)->lpVtbl -> Release(This)
  150. #define INSNetSourceCreator_Initialize(This) \
  151. (This)->lpVtbl -> Initialize(This)
  152. #define INSNetSourceCreator_CreateNetSource(This,pszStreamName,pMonitor,pData,pUserContext,pCallback,qwContext) \
  153. (This)->lpVtbl -> CreateNetSource(This,pszStreamName,pMonitor,pData,pUserContext,pCallback,qwContext)
  154. #define INSNetSourceCreator_GetNetSourceProperties(This,pszStreamName,ppPropertiesNode) \
  155. (This)->lpVtbl -> GetNetSourceProperties(This,pszStreamName,ppPropertiesNode)
  156. #define INSNetSourceCreator_GetNetSourceSharedNamespace(This,ppSharedNamespace) \
  157. (This)->lpVtbl -> GetNetSourceSharedNamespace(This,ppSharedNamespace)
  158. #define INSNetSourceCreator_GetNetSourceAdminInterface(This,pszStreamName,pVal) \
  159. (This)->lpVtbl -> GetNetSourceAdminInterface(This,pszStreamName,pVal)
  160. #define INSNetSourceCreator_GetNumProtocolsSupported(This,pcProtocols) \
  161. (This)->lpVtbl -> GetNumProtocolsSupported(This,pcProtocols)
  162. #define INSNetSourceCreator_GetProtocolName(This,dwProtocolNum,pwszProtocolName,pcchProtocolName) \
  163. (This)->lpVtbl -> GetProtocolName(This,dwProtocolNum,pwszProtocolName,pcchProtocolName)
  164. #define INSNetSourceCreator_Shutdown(This) \
  165. (This)->lpVtbl -> Shutdown(This)
  166. #endif /* COBJMACROS */
  167. #endif /* C style interface */
  168. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_Initialize_Proxy(
  169. INSNetSourceCreator * This);
  170. void __RPC_STUB INSNetSourceCreator_Initialize_Stub(
  171. IRpcStubBuffer *This,
  172. IRpcChannelBuffer *_pRpcChannelBuffer,
  173. PRPC_MESSAGE _pRpcMessage,
  174. DWORD *_pdwStubPhase);
  175. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_CreateNetSource_Proxy(
  176. INSNetSourceCreator * This,
  177. /* [in] */ LPCWSTR pszStreamName,
  178. /* [in] */ IUnknown *pMonitor,
  179. /* [in] */ BYTE *pData,
  180. /* [in] */ IUnknown *pUserContext,
  181. /* [in] */ IUnknown *pCallback,
  182. /* [in] */ QWORD qwContext);
  183. void __RPC_STUB INSNetSourceCreator_CreateNetSource_Stub(
  184. IRpcStubBuffer *This,
  185. IRpcChannelBuffer *_pRpcChannelBuffer,
  186. PRPC_MESSAGE _pRpcMessage,
  187. DWORD *_pdwStubPhase);
  188. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceProperties_Proxy(
  189. INSNetSourceCreator * This,
  190. /* [in] */ LPCWSTR pszStreamName,
  191. /* [out] */ IUnknown **ppPropertiesNode);
  192. void __RPC_STUB INSNetSourceCreator_GetNetSourceProperties_Stub(
  193. IRpcStubBuffer *This,
  194. IRpcChannelBuffer *_pRpcChannelBuffer,
  195. PRPC_MESSAGE _pRpcMessage,
  196. DWORD *_pdwStubPhase);
  197. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceSharedNamespace_Proxy(
  198. INSNetSourceCreator * This,
  199. /* [out] */ IUnknown **ppSharedNamespace);
  200. void __RPC_STUB INSNetSourceCreator_GetNetSourceSharedNamespace_Stub(
  201. IRpcStubBuffer *This,
  202. IRpcChannelBuffer *_pRpcChannelBuffer,
  203. PRPC_MESSAGE _pRpcMessage,
  204. DWORD *_pdwStubPhase);
  205. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceAdminInterface_Proxy(
  206. INSNetSourceCreator * This,
  207. /* [in] */ LPCWSTR pszStreamName,
  208. /* [out] */ VARIANT *pVal);
  209. void __RPC_STUB INSNetSourceCreator_GetNetSourceAdminInterface_Stub(
  210. IRpcStubBuffer *This,
  211. IRpcChannelBuffer *_pRpcChannelBuffer,
  212. PRPC_MESSAGE _pRpcMessage,
  213. DWORD *_pdwStubPhase);
  214. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNumProtocolsSupported_Proxy(
  215. INSNetSourceCreator * This,
  216. /* [out] */ DWORD *pcProtocols);
  217. void __RPC_STUB INSNetSourceCreator_GetNumProtocolsSupported_Stub(
  218. IRpcStubBuffer *This,
  219. IRpcChannelBuffer *_pRpcChannelBuffer,
  220. PRPC_MESSAGE _pRpcMessage,
  221. DWORD *_pdwStubPhase);
  222. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetProtocolName_Proxy(
  223. INSNetSourceCreator * This,
  224. /* [in] */ DWORD dwProtocolNum,
  225. /* [out] */ WCHAR *pwszProtocolName,
  226. /* [out][in] */ WORD *pcchProtocolName);
  227. void __RPC_STUB INSNetSourceCreator_GetProtocolName_Stub(
  228. IRpcStubBuffer *This,
  229. IRpcChannelBuffer *_pRpcChannelBuffer,
  230. PRPC_MESSAGE _pRpcMessage,
  231. DWORD *_pdwStubPhase);
  232. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_Shutdown_Proxy(
  233. INSNetSourceCreator * This);
  234. void __RPC_STUB INSNetSourceCreator_Shutdown_Stub(
  235. IRpcStubBuffer *This,
  236. IRpcChannelBuffer *_pRpcChannelBuffer,
  237. PRPC_MESSAGE _pRpcMessage,
  238. DWORD *_pdwStubPhase);
  239. #endif /* __INSNetSourceCreator_INTERFACE_DEFINED__ */
  240. /* Additional Prototypes for ALL interfaces */
  241. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  242. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  243. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  244. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  245. /* end of Additional Prototypes */
  246. #ifdef __cplusplus
  247. }
  248. #endif
  249. #endif