wmnetsourcecreator.h
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:12k
源码类别:

Delphi控件源码

开发平台:

Delphi

  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.     
  67.     MIDL_INTERFACE("0C0E4080-9081-11d2-BEEC-0060082F2054")
  68.     INSNetSourceCreator : public IUnknown
  69.     {
  70.     public:
  71.         virtual HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
  72.         
  73.         virtual HRESULT STDMETHODCALLTYPE CreateNetSource( 
  74.             /* [in] */ LPCWSTR pszStreamName,
  75.             /* [in] */ IUnknown *pMonitor,
  76.             /* [in] */ BYTE *pData,
  77.             /* [in] */ IUnknown *pUserContext,
  78.             /* [in] */ IUnknown *pCallback,
  79.             /* [in] */ QWORD qwContext) = 0;
  80.         
  81.         virtual HRESULT STDMETHODCALLTYPE GetNetSourceProperties( 
  82.             /* [in] */ LPCWSTR pszStreamName,
  83.             /* [out] */ IUnknown **ppPropertiesNode) = 0;
  84.         
  85.         virtual HRESULT STDMETHODCALLTYPE GetNetSourceSharedNamespace( 
  86.             /* [out] */ IUnknown **ppSharedNamespace) = 0;
  87.         
  88.         virtual HRESULT STDMETHODCALLTYPE GetNetSourceAdminInterface( 
  89.             /* [in] */ LPCWSTR pszStreamName,
  90.             /* [out] */ VARIANT *pVal) = 0;
  91.         
  92.         virtual HRESULT STDMETHODCALLTYPE GetNumProtocolsSupported( 
  93.             /* [out] */ DWORD *pcProtocols) = 0;
  94.         
  95.         virtual HRESULT STDMETHODCALLTYPE GetProtocolName( 
  96.             /* [in] */ DWORD dwProtocolNum,
  97.             /* [out] */ WCHAR *pwszProtocolName,
  98.             /* [out][in] */ WORD *pcchProtocolName) = 0;
  99.         
  100.         virtual HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  101.         
  102.     };
  103.     
  104. #else  /* C style interface */
  105.     typedef struct INSNetSourceCreatorVtbl
  106.     {
  107.         BEGIN_INTERFACE
  108.         
  109.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  110.             INSNetSourceCreator * This,
  111.             /* [in] */ REFIID riid,
  112.             /* [iid_is][out] */ void **ppvObject);
  113.         
  114.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  115.             INSNetSourceCreator * This);
  116.         
  117.         ULONG ( STDMETHODCALLTYPE *Release )( 
  118.             INSNetSourceCreator * This);
  119.         
  120.         HRESULT ( STDMETHODCALLTYPE *Initialize )( 
  121.             INSNetSourceCreator * This);
  122.         
  123.         HRESULT ( STDMETHODCALLTYPE *CreateNetSource )( 
  124.             INSNetSourceCreator * This,
  125.             /* [in] */ LPCWSTR pszStreamName,
  126.             /* [in] */ IUnknown *pMonitor,
  127.             /* [in] */ BYTE *pData,
  128.             /* [in] */ IUnknown *pUserContext,
  129.             /* [in] */ IUnknown *pCallback,
  130.             /* [in] */ QWORD qwContext);
  131.         
  132.         HRESULT ( STDMETHODCALLTYPE *GetNetSourceProperties )( 
  133.             INSNetSourceCreator * This,
  134.             /* [in] */ LPCWSTR pszStreamName,
  135.             /* [out] */ IUnknown **ppPropertiesNode);
  136.         
  137.         HRESULT ( STDMETHODCALLTYPE *GetNetSourceSharedNamespace )( 
  138.             INSNetSourceCreator * This,
  139.             /* [out] */ IUnknown **ppSharedNamespace);
  140.         
  141.         HRESULT ( STDMETHODCALLTYPE *GetNetSourceAdminInterface )( 
  142.             INSNetSourceCreator * This,
  143.             /* [in] */ LPCWSTR pszStreamName,
  144.             /* [out] */ VARIANT *pVal);
  145.         
  146.         HRESULT ( STDMETHODCALLTYPE *GetNumProtocolsSupported )( 
  147.             INSNetSourceCreator * This,
  148.             /* [out] */ DWORD *pcProtocols);
  149.         
  150.         HRESULT ( STDMETHODCALLTYPE *GetProtocolName )( 
  151.             INSNetSourceCreator * This,
  152.             /* [in] */ DWORD dwProtocolNum,
  153.             /* [out] */ WCHAR *pwszProtocolName,
  154.             /* [out][in] */ WORD *pcchProtocolName);
  155.         
  156.         HRESULT ( STDMETHODCALLTYPE *Shutdown )( 
  157.             INSNetSourceCreator * This);
  158.         
  159.         END_INTERFACE
  160.     } INSNetSourceCreatorVtbl;
  161.     interface INSNetSourceCreator
  162.     {
  163.         CONST_VTBL struct INSNetSourceCreatorVtbl *lpVtbl;
  164.     };
  165.     
  166. #ifdef COBJMACROS
  167. #define INSNetSourceCreator_QueryInterface(This,riid,ppvObject)
  168.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  169. #define INSNetSourceCreator_AddRef(This)
  170.     (This)->lpVtbl -> AddRef(This)
  171. #define INSNetSourceCreator_Release(This)
  172.     (This)->lpVtbl -> Release(This)
  173. #define INSNetSourceCreator_Initialize(This)
  174.     (This)->lpVtbl -> Initialize(This)
  175. #define INSNetSourceCreator_CreateNetSource(This,pszStreamName,pMonitor,pData,pUserContext,pCallback,qwContext)
  176.     (This)->lpVtbl -> CreateNetSource(This,pszStreamName,pMonitor,pData,pUserContext,pCallback,qwContext)
  177. #define INSNetSourceCreator_GetNetSourceProperties(This,pszStreamName,ppPropertiesNode)
  178.     (This)->lpVtbl -> GetNetSourceProperties(This,pszStreamName,ppPropertiesNode)
  179. #define INSNetSourceCreator_GetNetSourceSharedNamespace(This,ppSharedNamespace)
  180.     (This)->lpVtbl -> GetNetSourceSharedNamespace(This,ppSharedNamespace)
  181. #define INSNetSourceCreator_GetNetSourceAdminInterface(This,pszStreamName,pVal)
  182.     (This)->lpVtbl -> GetNetSourceAdminInterface(This,pszStreamName,pVal)
  183. #define INSNetSourceCreator_GetNumProtocolsSupported(This,pcProtocols)
  184.     (This)->lpVtbl -> GetNumProtocolsSupported(This,pcProtocols)
  185. #define INSNetSourceCreator_GetProtocolName(This,dwProtocolNum,pwszProtocolName,pcchProtocolName)
  186.     (This)->lpVtbl -> GetProtocolName(This,dwProtocolNum,pwszProtocolName,pcchProtocolName)
  187. #define INSNetSourceCreator_Shutdown(This)
  188.     (This)->lpVtbl -> Shutdown(This)
  189. #endif /* COBJMACROS */
  190. #endif  /* C style interface */
  191. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_Initialize_Proxy( 
  192.     INSNetSourceCreator * This);
  193. void __RPC_STUB INSNetSourceCreator_Initialize_Stub(
  194.     IRpcStubBuffer *This,
  195.     IRpcChannelBuffer *_pRpcChannelBuffer,
  196.     PRPC_MESSAGE _pRpcMessage,
  197.     DWORD *_pdwStubPhase);
  198. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_CreateNetSource_Proxy( 
  199.     INSNetSourceCreator * This,
  200.     /* [in] */ LPCWSTR pszStreamName,
  201.     /* [in] */ IUnknown *pMonitor,
  202.     /* [in] */ BYTE *pData,
  203.     /* [in] */ IUnknown *pUserContext,
  204.     /* [in] */ IUnknown *pCallback,
  205.     /* [in] */ QWORD qwContext);
  206. void __RPC_STUB INSNetSourceCreator_CreateNetSource_Stub(
  207.     IRpcStubBuffer *This,
  208.     IRpcChannelBuffer *_pRpcChannelBuffer,
  209.     PRPC_MESSAGE _pRpcMessage,
  210.     DWORD *_pdwStubPhase);
  211. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceProperties_Proxy( 
  212.     INSNetSourceCreator * This,
  213.     /* [in] */ LPCWSTR pszStreamName,
  214.     /* [out] */ IUnknown **ppPropertiesNode);
  215. void __RPC_STUB INSNetSourceCreator_GetNetSourceProperties_Stub(
  216.     IRpcStubBuffer *This,
  217.     IRpcChannelBuffer *_pRpcChannelBuffer,
  218.     PRPC_MESSAGE _pRpcMessage,
  219.     DWORD *_pdwStubPhase);
  220. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceSharedNamespace_Proxy( 
  221.     INSNetSourceCreator * This,
  222.     /* [out] */ IUnknown **ppSharedNamespace);
  223. void __RPC_STUB INSNetSourceCreator_GetNetSourceSharedNamespace_Stub(
  224.     IRpcStubBuffer *This,
  225.     IRpcChannelBuffer *_pRpcChannelBuffer,
  226.     PRPC_MESSAGE _pRpcMessage,
  227.     DWORD *_pdwStubPhase);
  228. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNetSourceAdminInterface_Proxy( 
  229.     INSNetSourceCreator * This,
  230.     /* [in] */ LPCWSTR pszStreamName,
  231.     /* [out] */ VARIANT *pVal);
  232. void __RPC_STUB INSNetSourceCreator_GetNetSourceAdminInterface_Stub(
  233.     IRpcStubBuffer *This,
  234.     IRpcChannelBuffer *_pRpcChannelBuffer,
  235.     PRPC_MESSAGE _pRpcMessage,
  236.     DWORD *_pdwStubPhase);
  237. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetNumProtocolsSupported_Proxy( 
  238.     INSNetSourceCreator * This,
  239.     /* [out] */ DWORD *pcProtocols);
  240. void __RPC_STUB INSNetSourceCreator_GetNumProtocolsSupported_Stub(
  241.     IRpcStubBuffer *This,
  242.     IRpcChannelBuffer *_pRpcChannelBuffer,
  243.     PRPC_MESSAGE _pRpcMessage,
  244.     DWORD *_pdwStubPhase);
  245. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_GetProtocolName_Proxy( 
  246.     INSNetSourceCreator * This,
  247.     /* [in] */ DWORD dwProtocolNum,
  248.     /* [out] */ WCHAR *pwszProtocolName,
  249.     /* [out][in] */ WORD *pcchProtocolName);
  250. void __RPC_STUB INSNetSourceCreator_GetProtocolName_Stub(
  251.     IRpcStubBuffer *This,
  252.     IRpcChannelBuffer *_pRpcChannelBuffer,
  253.     PRPC_MESSAGE _pRpcMessage,
  254.     DWORD *_pdwStubPhase);
  255. HRESULT STDMETHODCALLTYPE INSNetSourceCreator_Shutdown_Proxy( 
  256.     INSNetSourceCreator * This);
  257. void __RPC_STUB INSNetSourceCreator_Shutdown_Stub(
  258.     IRpcStubBuffer *This,
  259.     IRpcChannelBuffer *_pRpcChannelBuffer,
  260.     PRPC_MESSAGE _pRpcMessage,
  261.     DWORD *_pdwStubPhase);
  262. #endif  /* __INSNetSourceCreator_INTERFACE_DEFINED__ */
  263. /* Additional Prototypes for ALL interfaces */
  264. unsigned long             __RPC_USER  VARIANT_UserSize(     unsigned long *, unsigned long            , VARIANT * ); 
  265. unsigned char * __RPC_USER  VARIANT_UserMarshal(  unsigned long *, unsigned char *, VARIANT * ); 
  266. unsigned char * __RPC_USER  VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * ); 
  267. void                      __RPC_USER  VARIANT_UserFree(     unsigned long *, VARIANT * ); 
  268. /* end of Additional Prototypes */
  269. #ifdef __cplusplus
  270. }
  271. #endif
  272. #endif