h323priv.h 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  7. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  8. #endif
  9. #include "rpc.h"
  10. #include "rpcndr.h"
  11. #ifndef __RPCNDR_H_VERSION__
  12. #error This stub requires an updated version of <rpcndr.h>
  13. #endif
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif
  18. #ifndef __h323priv_h__
  19. #define __h323priv_h__
  20. #ifndef __IH323LineEx_FWD_DEFINED__
  21. #define __IH323LineEx_FWD_DEFINED__
  22. typedef struct IH323LineEx IH323LineEx;
  23. #endif
  24. #ifndef __IKeyFrameControl_FWD_DEFINED__
  25. #define __IKeyFrameControl_FWD_DEFINED__
  26. typedef struct IKeyFrameControl IKeyFrameControl;
  27. #endif
  28. #include "ipmsp.h"
  29. #ifdef __cplusplus
  30. extern "C"{
  31. #endif
  32. #ifndef __MIDL_user_allocate_free_DEFINED__
  33. #define __MIDL_user_allocate_free_DEFINED__
  34. void *__RPC_API MIDL_user_allocate(size_t);
  35. void __RPC_API MIDL_user_free(void *);
  36. #endif
  37. typedef enum H245_CAPABILITY {
  38. HC_G711 = 0,HC_G723,HC_H263QCIF,HC_H261QCIF
  39. } H245_CAPABILITY;
  40. extern RPC_IF_HANDLE __MIDL_itf_h323priv_0000_v0_0_c_ifspec;
  41. extern RPC_IF_HANDLE __MIDL_itf_h323priv_0000_v0_0_s_ifspec;
  42. #ifndef __IH323LineEx_INTERFACE_DEFINED__
  43. #define __IH323LineEx_INTERFACE_DEFINED__
  44. EXTERN_C const IID IID_IH323LineEx;
  45. #if defined(__cplusplus) && !defined(CINTERFACE)
  46. struct IH323LineEx : public IUnknown {
  47. public:
  48. virtual HRESULT WINAPI SetExternalT120Address(WINBOOL fEnable,DWORD dwIP,WORD wPort) = 0;
  49. virtual HRESULT WINAPI SetDefaultCapabilityPreferrence(DWORD dwNumCaps,H245_CAPABILITY *pCapabilities,DWORD *pWeights) = 0;
  50. virtual HRESULT WINAPI SetAlias(WCHAR *strAlias,DWORD dwLength) = 0;
  51. };
  52. #else
  53. typedef struct IH323LineExVtbl {
  54. BEGIN_INTERFACE
  55. HRESULT (WINAPI *QueryInterface)(IH323LineEx *This,REFIID riid,void **ppvObject);
  56. ULONG (WINAPI *AddRef)(IH323LineEx *This);
  57. ULONG (WINAPI *Release)(IH323LineEx *This);
  58. HRESULT (WINAPI *SetExternalT120Address)(IH323LineEx *This,WINBOOL fEnable,DWORD dwIP,WORD wPort);
  59. HRESULT (WINAPI *SetDefaultCapabilityPreferrence)(IH323LineEx *This,DWORD dwNumCaps,H245_CAPABILITY *pCapabilities,DWORD *pWeights);
  60. HRESULT (WINAPI *SetAlias)(IH323LineEx *This,WCHAR *strAlias,DWORD dwLength);
  61. END_INTERFACE
  62. } IH323LineExVtbl;
  63. struct IH323LineEx {
  64. CONST_VTBL struct IH323LineExVtbl *lpVtbl;
  65. };
  66. #ifdef COBJMACROS
  67. #define IH323LineEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  68. #define IH323LineEx_AddRef(This) (This)->lpVtbl->AddRef(This)
  69. #define IH323LineEx_Release(This) (This)->lpVtbl->Release(This)
  70. #define IH323LineEx_SetExternalT120Address(This,fEnable,dwIP,wPort) (This)->lpVtbl->SetExternalT120Address(This,fEnable,dwIP,wPort)
  71. #define IH323LineEx_SetDefaultCapabilityPreferrence(This,dwNumCaps,pCapabilities,pWeights) (This)->lpVtbl->SetDefaultCapabilityPreferrence(This,dwNumCaps,pCapabilities,pWeights)
  72. #define IH323LineEx_SetAlias(This,strAlias,dwLength) (This)->lpVtbl->SetAlias(This,strAlias,dwLength)
  73. #endif
  74. #endif
  75. HRESULT WINAPI IH323LineEx_SetExternalT120Address_Proxy(IH323LineEx *This,WINBOOL fEnable,DWORD dwIP,WORD wPort);
  76. void __RPC_STUB IH323LineEx_SetExternalT120Address_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  77. HRESULT WINAPI IH323LineEx_SetDefaultCapabilityPreferrence_Proxy(IH323LineEx *This,DWORD dwNumCaps,H245_CAPABILITY *pCapabilities,DWORD *pWeights);
  78. void __RPC_STUB IH323LineEx_SetDefaultCapabilityPreferrence_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  79. HRESULT WINAPI IH323LineEx_SetAlias_Proxy(IH323LineEx *This,WCHAR *strAlias,DWORD dwLength);
  80. void __RPC_STUB IH323LineEx_SetAlias_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  81. #endif
  82. #ifndef __IKeyFrameControl_INTERFACE_DEFINED__
  83. #define __IKeyFrameControl_INTERFACE_DEFINED__
  84. EXTERN_C const IID IID_IKeyFrameControl;
  85. #if defined(__cplusplus) && !defined(CINTERFACE)
  86. struct IKeyFrameControl : public IUnknown {
  87. public:
  88. virtual HRESULT WINAPI UpdatePicture(void) = 0;
  89. virtual HRESULT WINAPI PeriodicUpdatePicture(WINBOOL fEnable,DWORD dwInterval) = 0;
  90. };
  91. #else
  92. typedef struct IKeyFrameControlVtbl {
  93. BEGIN_INTERFACE
  94. HRESULT (WINAPI *QueryInterface)(IKeyFrameControl *This,REFIID riid,void **ppvObject);
  95. ULONG (WINAPI *AddRef)(IKeyFrameControl *This);
  96. ULONG (WINAPI *Release)(IKeyFrameControl *This);
  97. HRESULT (WINAPI *UpdatePicture)(IKeyFrameControl *This);
  98. HRESULT (WINAPI *PeriodicUpdatePicture)(IKeyFrameControl *This,WINBOOL fEnable,DWORD dwInterval);
  99. END_INTERFACE
  100. } IKeyFrameControlVtbl;
  101. struct IKeyFrameControl {
  102. CONST_VTBL struct IKeyFrameControlVtbl *lpVtbl;
  103. };
  104. #ifdef COBJMACROS
  105. #define IKeyFrameControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  106. #define IKeyFrameControl_AddRef(This) (This)->lpVtbl->AddRef(This)
  107. #define IKeyFrameControl_Release(This) (This)->lpVtbl->Release(This)
  108. #define IKeyFrameControl_UpdatePicture(This) (This)->lpVtbl->UpdatePicture(This)
  109. #define IKeyFrameControl_PeriodicUpdatePicture(This,fEnable,dwInterval) (This)->lpVtbl->PeriodicUpdatePicture(This,fEnable,dwInterval)
  110. #endif
  111. #endif
  112. HRESULT WINAPI IKeyFrameControl_UpdatePicture_Proxy(IKeyFrameControl *This);
  113. void __RPC_STUB IKeyFrameControl_UpdatePicture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  114. HRESULT WINAPI IKeyFrameControl_PeriodicUpdatePicture_Proxy(IKeyFrameControl *This,WINBOOL fEnable,DWORD dwInterval);
  115. void __RPC_STUB IKeyFrameControl_PeriodicUpdatePicture_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
  116. #endif
  117. #ifdef __cplusplus
  118. }
  119. #endif
  120. #endif