h323priv.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:9k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for h323priv.idl:
  5.     Oicf, W1, Zp8, env=Win32 (32b run)
  6.     protocol : dce , ms_ext, c_ext, robust
  7.     error checks: allocation ref bounds_check enum stub_data 
  8.     VC __declspec() decoration level: 
  9.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10.          DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING(  )
  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 __h323priv_h__
  27. #define __h323priv_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */ 
  32. #ifndef __IH323LineEx_FWD_DEFINED__
  33. #define __IH323LineEx_FWD_DEFINED__
  34. typedef interface IH323LineEx IH323LineEx;
  35. #endif  /* __IH323LineEx_FWD_DEFINED__ */
  36. #ifndef __IKeyFrameControl_FWD_DEFINED__
  37. #define __IKeyFrameControl_FWD_DEFINED__
  38. typedef interface IKeyFrameControl IKeyFrameControl;
  39. #endif  /* __IKeyFrameControl_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "ipmsp.h"
  42. #ifdef __cplusplus
  43. extern "C"{
  44. #endif 
  45. void * __RPC_USER MIDL_user_allocate(size_t);
  46. void __RPC_USER MIDL_user_free( void * ); 
  47. /* interface __MIDL_itf_h323priv_0000 */
  48. /* [local] */ 
  49. typedef 
  50. enum H245_CAPABILITY
  51.     { HC_G711 = 0,
  52. HC_G723 = HC_G711 + 1,
  53. HC_H263QCIF = HC_G723 + 1,
  54. HC_H261QCIF = HC_H263QCIF + 1
  55.     }  H245_CAPABILITY;
  56. extern RPC_IF_HANDLE __MIDL_itf_h323priv_0000_v0_0_c_ifspec;
  57. extern RPC_IF_HANDLE __MIDL_itf_h323priv_0000_v0_0_s_ifspec;
  58. #ifndef __IH323LineEx_INTERFACE_DEFINED__
  59. #define __IH323LineEx_INTERFACE_DEFINED__
  60. /* interface IH323LineEx */
  61. /* [hidden][unique][uuid][local][object] */ 
  62. EXTERN_C const IID IID_IH323LineEx;
  63. #if defined(__cplusplus) && !defined(CINTERFACE)
  64.     
  65.     MIDL_INTERFACE("44cf6a9d-cb40-4bbc-b2d3-b6aa93322c71")
  66.     IH323LineEx : public IUnknown
  67.     {
  68.     public:
  69.         virtual HRESULT STDMETHODCALLTYPE SetExternalT120Address( 
  70.             /* [in] */ BOOL fEnable,
  71.             /* [in] */ DWORD dwIP,
  72.             /* [in] */ WORD wPort) = 0;
  73.         
  74.         virtual HRESULT STDMETHODCALLTYPE SetDefaultCapabilityPreferrence( 
  75.             /* [in] */ DWORD dwNumCaps,
  76.             /* [in] */ H245_CAPABILITY *pCapabilities,
  77.             /* [in] */ DWORD *pWeights) = 0;
  78.         
  79.         virtual HRESULT STDMETHODCALLTYPE SetAlias( 
  80.             /* [in] */ WCHAR *strAlias,
  81.             /* [in] */ DWORD dwLength) = 0;
  82.         
  83.     };
  84.     
  85. #else  /* C style interface */
  86.     typedef struct IH323LineExVtbl
  87.     {
  88.         BEGIN_INTERFACE
  89.         
  90.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  91.             IH323LineEx * This,
  92.             /* [in] */ REFIID riid,
  93.             /* [iid_is][out] */ void **ppvObject);
  94.         
  95.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  96.             IH323LineEx * This);
  97.         
  98.         ULONG ( STDMETHODCALLTYPE *Release )( 
  99.             IH323LineEx * This);
  100.         
  101.         HRESULT ( STDMETHODCALLTYPE *SetExternalT120Address )( 
  102.             IH323LineEx * This,
  103.             /* [in] */ BOOL fEnable,
  104.             /* [in] */ DWORD dwIP,
  105.             /* [in] */ WORD wPort);
  106.         
  107.         HRESULT ( STDMETHODCALLTYPE *SetDefaultCapabilityPreferrence )( 
  108.             IH323LineEx * This,
  109.             /* [in] */ DWORD dwNumCaps,
  110.             /* [in] */ H245_CAPABILITY *pCapabilities,
  111.             /* [in] */ DWORD *pWeights);
  112.         
  113.         HRESULT ( STDMETHODCALLTYPE *SetAlias )( 
  114.             IH323LineEx * This,
  115.             /* [in] */ WCHAR *strAlias,
  116.             /* [in] */ DWORD dwLength);
  117.         
  118.         END_INTERFACE
  119.     } IH323LineExVtbl;
  120.     interface IH323LineEx
  121.     {
  122.         CONST_VTBL struct IH323LineExVtbl *lpVtbl;
  123.     };
  124.     
  125. #ifdef COBJMACROS
  126. #define IH323LineEx_QueryInterface(This,riid,ppvObject)
  127.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  128. #define IH323LineEx_AddRef(This)
  129.     (This)->lpVtbl -> AddRef(This)
  130. #define IH323LineEx_Release(This)
  131.     (This)->lpVtbl -> Release(This)
  132. #define IH323LineEx_SetExternalT120Address(This,fEnable,dwIP,wPort)
  133.     (This)->lpVtbl -> SetExternalT120Address(This,fEnable,dwIP,wPort)
  134. #define IH323LineEx_SetDefaultCapabilityPreferrence(This,dwNumCaps,pCapabilities,pWeights)
  135.     (This)->lpVtbl -> SetDefaultCapabilityPreferrence(This,dwNumCaps,pCapabilities,pWeights)
  136. #define IH323LineEx_SetAlias(This,strAlias,dwLength)
  137.     (This)->lpVtbl -> SetAlias(This,strAlias,dwLength)
  138. #endif /* COBJMACROS */
  139. #endif  /* C style interface */
  140. HRESULT STDMETHODCALLTYPE IH323LineEx_SetExternalT120Address_Proxy( 
  141.     IH323LineEx * This,
  142.     /* [in] */ BOOL fEnable,
  143.     /* [in] */ DWORD dwIP,
  144.     /* [in] */ WORD wPort);
  145. void __RPC_STUB IH323LineEx_SetExternalT120Address_Stub(
  146.     IRpcStubBuffer *This,
  147.     IRpcChannelBuffer *_pRpcChannelBuffer,
  148.     PRPC_MESSAGE _pRpcMessage,
  149.     DWORD *_pdwStubPhase);
  150. HRESULT STDMETHODCALLTYPE IH323LineEx_SetDefaultCapabilityPreferrence_Proxy( 
  151.     IH323LineEx * This,
  152.     /* [in] */ DWORD dwNumCaps,
  153.     /* [in] */ H245_CAPABILITY *pCapabilities,
  154.     /* [in] */ DWORD *pWeights);
  155. void __RPC_STUB IH323LineEx_SetDefaultCapabilityPreferrence_Stub(
  156.     IRpcStubBuffer *This,
  157.     IRpcChannelBuffer *_pRpcChannelBuffer,
  158.     PRPC_MESSAGE _pRpcMessage,
  159.     DWORD *_pdwStubPhase);
  160. HRESULT STDMETHODCALLTYPE IH323LineEx_SetAlias_Proxy( 
  161.     IH323LineEx * This,
  162.     /* [in] */ WCHAR *strAlias,
  163.     /* [in] */ DWORD dwLength);
  164. void __RPC_STUB IH323LineEx_SetAlias_Stub(
  165.     IRpcStubBuffer *This,
  166.     IRpcChannelBuffer *_pRpcChannelBuffer,
  167.     PRPC_MESSAGE _pRpcMessage,
  168.     DWORD *_pdwStubPhase);
  169. #endif  /* __IH323LineEx_INTERFACE_DEFINED__ */
  170. #ifndef __IKeyFrameControl_INTERFACE_DEFINED__
  171. #define __IKeyFrameControl_INTERFACE_DEFINED__
  172. /* interface IKeyFrameControl */
  173. /* [hidden][unique][uuid][local][object] */ 
  174. EXTERN_C const IID IID_IKeyFrameControl;
  175. #if defined(__cplusplus) && !defined(CINTERFACE)
  176.     
  177.     MIDL_INTERFACE("c3341386-af91-4ef9-83b6-be3762e42ecb")
  178.     IKeyFrameControl : public IUnknown
  179.     {
  180.     public:
  181.         virtual HRESULT STDMETHODCALLTYPE UpdatePicture( void) = 0;
  182.         
  183.         virtual HRESULT STDMETHODCALLTYPE PeriodicUpdatePicture( 
  184.             /* [in] */ BOOL fEnable,
  185.             /* [in] */ DWORD dwInterval) = 0;
  186.         
  187.     };
  188.     
  189. #else  /* C style interface */
  190.     typedef struct IKeyFrameControlVtbl
  191.     {
  192.         BEGIN_INTERFACE
  193.         
  194.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  195.             IKeyFrameControl * This,
  196.             /* [in] */ REFIID riid,
  197.             /* [iid_is][out] */ void **ppvObject);
  198.         
  199.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  200.             IKeyFrameControl * This);
  201.         
  202.         ULONG ( STDMETHODCALLTYPE *Release )( 
  203.             IKeyFrameControl * This);
  204.         
  205.         HRESULT ( STDMETHODCALLTYPE *UpdatePicture )( 
  206.             IKeyFrameControl * This);
  207.         
  208.         HRESULT ( STDMETHODCALLTYPE *PeriodicUpdatePicture )( 
  209.             IKeyFrameControl * This,
  210.             /* [in] */ BOOL fEnable,
  211.             /* [in] */ DWORD dwInterval);
  212.         
  213.         END_INTERFACE
  214.     } IKeyFrameControlVtbl;
  215.     interface IKeyFrameControl
  216.     {
  217.         CONST_VTBL struct IKeyFrameControlVtbl *lpVtbl;
  218.     };
  219.     
  220. #ifdef COBJMACROS
  221. #define IKeyFrameControl_QueryInterface(This,riid,ppvObject)
  222.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  223. #define IKeyFrameControl_AddRef(This)
  224.     (This)->lpVtbl -> AddRef(This)
  225. #define IKeyFrameControl_Release(This)
  226.     (This)->lpVtbl -> Release(This)
  227. #define IKeyFrameControl_UpdatePicture(This)
  228.     (This)->lpVtbl -> UpdatePicture(This)
  229. #define IKeyFrameControl_PeriodicUpdatePicture(This,fEnable,dwInterval)
  230.     (This)->lpVtbl -> PeriodicUpdatePicture(This,fEnable,dwInterval)
  231. #endif /* COBJMACROS */
  232. #endif  /* C style interface */
  233. HRESULT STDMETHODCALLTYPE IKeyFrameControl_UpdatePicture_Proxy( 
  234.     IKeyFrameControl * This);
  235. void __RPC_STUB IKeyFrameControl_UpdatePicture_Stub(
  236.     IRpcStubBuffer *This,
  237.     IRpcChannelBuffer *_pRpcChannelBuffer,
  238.     PRPC_MESSAGE _pRpcMessage,
  239.     DWORD *_pdwStubPhase);
  240. HRESULT STDMETHODCALLTYPE IKeyFrameControl_PeriodicUpdatePicture_Proxy( 
  241.     IKeyFrameControl * This,
  242.     /* [in] */ BOOL fEnable,
  243.     /* [in] */ DWORD dwInterval);
  244. void __RPC_STUB IKeyFrameControl_PeriodicUpdatePicture_Stub(
  245.     IRpcStubBuffer *This,
  246.     IRpcChannelBuffer *_pRpcChannelBuffer,
  247.     PRPC_MESSAGE _pRpcMessage,
  248.     DWORD *_pdwStubPhase);
  249. #endif  /* __IKeyFrameControl_INTERFACE_DEFINED__ */
  250. /* Additional Prototypes for ALL interfaces */
  251. /* end of Additional Prototypes */
  252. #ifdef __cplusplus
  253. }
  254. #endif
  255. #endif