windows-nt/Source/XPSP1/NT/public/sdk/inc/h323priv.h
2020-09-26 16:20:57 +08:00

355 lines
8.9 KiB
C++

#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0347 */
/* Compiler settings for h323priv.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
//@@MIDL_FILE_HEADING( )
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __h323priv_h__
#define __h323priv_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IH323LineEx_FWD_DEFINED__
#define __IH323LineEx_FWD_DEFINED__
typedef interface IH323LineEx IH323LineEx;
#endif /* __IH323LineEx_FWD_DEFINED__ */
#ifndef __IKeyFrameControl_FWD_DEFINED__
#define __IKeyFrameControl_FWD_DEFINED__
typedef interface IKeyFrameControl IKeyFrameControl;
#endif /* __IKeyFrameControl_FWD_DEFINED__ */
/* header files for imported files */
#include "ipmsp.h"
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_h323priv_0000 */
/* [local] */
typedef
enum H245_CAPABILITY
{ HC_G711 = 0,
HC_G723 = HC_G711 + 1,
HC_H263QCIF = HC_G723 + 1,
HC_H261QCIF = HC_H263QCIF + 1
} H245_CAPABILITY;
extern RPC_IF_HANDLE __MIDL_itf_h323priv_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_h323priv_0000_v0_0_s_ifspec;
#ifndef __IH323LineEx_INTERFACE_DEFINED__
#define __IH323LineEx_INTERFACE_DEFINED__
/* interface IH323LineEx */
/* [hidden][unique][uuid][local][object] */
EXTERN_C const IID IID_IH323LineEx;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("44cf6a9d-cb40-4bbc-b2d3-b6aa93322c71")
IH323LineEx : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SetExternalT120Address(
/* [in] */ BOOL fEnable,
/* [in] */ DWORD dwIP,
/* [in] */ WORD wPort) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDefaultCapabilityPreferrence(
/* [in] */ DWORD dwNumCaps,
/* [in] */ H245_CAPABILITY *pCapabilities,
/* [in] */ DWORD *pWeights) = 0;
virtual HRESULT STDMETHODCALLTYPE SetAlias(
/* [in] */ WCHAR *strAlias,
/* [in] */ DWORD dwLength) = 0;
};
#else /* C style interface */
typedef struct IH323LineExVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IH323LineEx * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IH323LineEx * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IH323LineEx * This);
HRESULT ( STDMETHODCALLTYPE *SetExternalT120Address )(
IH323LineEx * This,
/* [in] */ BOOL fEnable,
/* [in] */ DWORD dwIP,
/* [in] */ WORD wPort);
HRESULT ( STDMETHODCALLTYPE *SetDefaultCapabilityPreferrence )(
IH323LineEx * This,
/* [in] */ DWORD dwNumCaps,
/* [in] */ H245_CAPABILITY *pCapabilities,
/* [in] */ DWORD *pWeights);
HRESULT ( STDMETHODCALLTYPE *SetAlias )(
IH323LineEx * This,
/* [in] */ WCHAR *strAlias,
/* [in] */ DWORD dwLength);
END_INTERFACE
} IH323LineExVtbl;
interface IH323LineEx
{
CONST_VTBL struct IH323LineExVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IH323LineEx_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IH323LineEx_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IH323LineEx_Release(This) \
(This)->lpVtbl -> Release(This)
#define IH323LineEx_SetExternalT120Address(This,fEnable,dwIP,wPort) \
(This)->lpVtbl -> SetExternalT120Address(This,fEnable,dwIP,wPort)
#define IH323LineEx_SetDefaultCapabilityPreferrence(This,dwNumCaps,pCapabilities,pWeights) \
(This)->lpVtbl -> SetDefaultCapabilityPreferrence(This,dwNumCaps,pCapabilities,pWeights)
#define IH323LineEx_SetAlias(This,strAlias,dwLength) \
(This)->lpVtbl -> SetAlias(This,strAlias,dwLength)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IH323LineEx_SetExternalT120Address_Proxy(
IH323LineEx * This,
/* [in] */ BOOL fEnable,
/* [in] */ DWORD dwIP,
/* [in] */ WORD wPort);
void __RPC_STUB IH323LineEx_SetExternalT120Address_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IH323LineEx_SetDefaultCapabilityPreferrence_Proxy(
IH323LineEx * This,
/* [in] */ DWORD dwNumCaps,
/* [in] */ H245_CAPABILITY *pCapabilities,
/* [in] */ DWORD *pWeights);
void __RPC_STUB IH323LineEx_SetDefaultCapabilityPreferrence_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IH323LineEx_SetAlias_Proxy(
IH323LineEx * This,
/* [in] */ WCHAR *strAlias,
/* [in] */ DWORD dwLength);
void __RPC_STUB IH323LineEx_SetAlias_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IH323LineEx_INTERFACE_DEFINED__ */
#ifndef __IKeyFrameControl_INTERFACE_DEFINED__
#define __IKeyFrameControl_INTERFACE_DEFINED__
/* interface IKeyFrameControl */
/* [hidden][unique][uuid][local][object] */
EXTERN_C const IID IID_IKeyFrameControl;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("c3341386-af91-4ef9-83b6-be3762e42ecb")
IKeyFrameControl : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE UpdatePicture( void) = 0;
virtual HRESULT STDMETHODCALLTYPE PeriodicUpdatePicture(
/* [in] */ BOOL fEnable,
/* [in] */ DWORD dwInterval) = 0;
};
#else /* C style interface */
typedef struct IKeyFrameControlVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IKeyFrameControl * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IKeyFrameControl * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IKeyFrameControl * This);
HRESULT ( STDMETHODCALLTYPE *UpdatePicture )(
IKeyFrameControl * This);
HRESULT ( STDMETHODCALLTYPE *PeriodicUpdatePicture )(
IKeyFrameControl * This,
/* [in] */ BOOL fEnable,
/* [in] */ DWORD dwInterval);
END_INTERFACE
} IKeyFrameControlVtbl;
interface IKeyFrameControl
{
CONST_VTBL struct IKeyFrameControlVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IKeyFrameControl_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IKeyFrameControl_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IKeyFrameControl_Release(This) \
(This)->lpVtbl -> Release(This)
#define IKeyFrameControl_UpdatePicture(This) \
(This)->lpVtbl -> UpdatePicture(This)
#define IKeyFrameControl_PeriodicUpdatePicture(This,fEnable,dwInterval) \
(This)->lpVtbl -> PeriodicUpdatePicture(This,fEnable,dwInterval)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IKeyFrameControl_UpdatePicture_Proxy(
IKeyFrameControl * This);
void __RPC_STUB IKeyFrameControl_UpdatePicture_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IKeyFrameControl_PeriodicUpdatePicture_Proxy(
IKeyFrameControl * This,
/* [in] */ BOOL fEnable,
/* [in] */ DWORD dwInterval);
void __RPC_STUB IKeyFrameControl_PeriodicUpdatePicture_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IKeyFrameControl_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif