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