📄 dsnetifc.h
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Fri Apr 09 09:49:24 2004
*/
/* Compiler settings for .\dsnetifc.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
*/
//@@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__ 440
#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 __dsnetifc_h__
#define __dsnetifc_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IMulticastConfig_FWD_DEFINED__
#define __IMulticastConfig_FWD_DEFINED__
typedef interface IMulticastConfig IMulticastConfig;
#endif /* __IMulticastConfig_FWD_DEFINED__ */
/* header files for imported files */
#include "unknwn.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/* interface __MIDL_itf_dsnetifc_0000 */
/* [local] */
// {CE3B76CB-9540-48fa-9974-69A625D478E3}
DEFINE_GUID(CLSID_DSNetSend,
0xce3b76cb, 0x9540, 0x48fa, 0x99, 0x74, 0x69, 0xa6, 0x25, 0xd4, 0x78, 0xe3);
// {319F0815-ACEF-45fe-B497-A2E5D90A69D7}
DEFINE_GUID(CLSID_DSNetReceive,
0x319f0815, 0xacef, 0x45fe, 0xb4, 0x97, 0xa2, 0xe5, 0xd9, 0xa, 0x69, 0xd7);
// {03EC9C19-13C4-43d7-B183-895CB89E761C}
DEFINE_GUID(CLSID_IPMulticastSendProppage,
0x3ec9c19, 0x13c4, 0x43d7, 0xb1, 0x83, 0x89, 0x5c, 0xb8, 0x9e, 0x76, 0x1c);
// {DC01D8AD-2BF8-4914-A15E-231A96C04B0A}
DEFINE_GUID(CLSID_IPMulticastRecvProppage,
0xdc01d8ad, 0x2bf8, 0x4914, 0xa1, 0x5e, 0x23, 0x1a, 0x96, 0xc0, 0x4b, 0xa);
extern RPC_IF_HANDLE __MIDL_itf_dsnetifc_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_dsnetifc_0000_v0_0_s_ifspec;
#ifndef __IMulticastConfig_INTERFACE_DEFINED__
#define __IMulticastConfig_INTERFACE_DEFINED__
/* interface IMulticastConfig */
/* [uuid][object] */
EXTERN_C const IID IID_IMulticastConfig;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1CB42CC8-D32C-4f73-9267-C114DA470378")
IMulticastConfig : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SetNetworkInterface(
/* [in] */ ULONG ulNIC) = 0;
virtual HRESULT STDMETHODCALLTYPE GetNetworkInterface(
/* [out] */ ULONG __RPC_FAR *pNIC) = 0;
virtual HRESULT STDMETHODCALLTYPE SetMulticastGroup(
/* [in] */ ULONG ulIP,
/* [in] */ USHORT usPort) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMulticastGroup(
/* [out] */ ULONG __RPC_FAR *pIP,
/* [out] */ USHORT __RPC_FAR *pPort) = 0;
};
#else /* C style interface */
typedef struct IMulticastConfigVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IMulticastConfig __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IMulticastConfig __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IMulticastConfig __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNetworkInterface )(
IMulticastConfig __RPC_FAR * This,
/* [in] */ ULONG ulNIC);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNetworkInterface )(
IMulticastConfig __RPC_FAR * This,
/* [out] */ ULONG __RPC_FAR *pNIC);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetMulticastGroup )(
IMulticastConfig __RPC_FAR * This,
/* [in] */ ULONG ulIP,
/* [in] */ USHORT usPort);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMulticastGroup )(
IMulticastConfig __RPC_FAR * This,
/* [out] */ ULONG __RPC_FAR *pIP,
/* [out] */ USHORT __RPC_FAR *pPort);
END_INTERFACE
} IMulticastConfigVtbl;
interface IMulticastConfig
{
CONST_VTBL struct IMulticastConfigVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define IMulticastConfig_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IMulticastConfig_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define IMulticastConfig_Release(This) \
(This)->lpVtbl -> Release(This)
#define IMulticastConfig_SetNetworkInterface(This,ulNIC) \
(This)->lpVtbl -> SetNetworkInterface(This,ulNIC)
#define IMulticastConfig_GetNetworkInterface(This,pNIC) \
(This)->lpVtbl -> GetNetworkInterface(This,pNIC)
#define IMulticastConfig_SetMulticastGroup(This,ulIP,usPort) \
(This)->lpVtbl -> SetMulticastGroup(This,ulIP,usPort)
#define IMulticastConfig_GetMulticastGroup(This,pIP,pPort) \
(This)->lpVtbl -> GetMulticastGroup(This,pIP,pPort)
#endif /* COBJMACROS */
#endif /* C style interface */
HRESULT STDMETHODCALLTYPE IMulticastConfig_SetNetworkInterface_Proxy(
IMulticastConfig __RPC_FAR * This,
/* [in] */ ULONG ulNIC);
void __RPC_STUB IMulticastConfig_SetNetworkInterface_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IMulticastConfig_GetNetworkInterface_Proxy(
IMulticastConfig __RPC_FAR * This,
/* [out] */ ULONG __RPC_FAR *pNIC);
void __RPC_STUB IMulticastConfig_GetNetworkInterface_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IMulticastConfig_SetMulticastGroup_Proxy(
IMulticastConfig __RPC_FAR * This,
/* [in] */ ULONG ulIP,
/* [in] */ USHORT usPort);
void __RPC_STUB IMulticastConfig_SetMulticastGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
HRESULT STDMETHODCALLTYPE IMulticastConfig_GetMulticastGroup_Proxy(
IMulticastConfig __RPC_FAR * This,
/* [out] */ ULONG __RPC_FAR *pIP,
/* [out] */ USHORT __RPC_FAR *pPort);
void __RPC_STUB IMulticastConfig_GetMulticastGroup_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __IMulticastConfig_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_dsnetifc_0010 */
/* [local] */
#define DECLARE_IMULTICASTCONFIG();\
virtual STDMETHODIMP SetNetworkInterface (ULONG) ;\
virtual STDMETHODIMP GetNetworkInterface (ULONG *) ;\
virtual STDMETHODIMP SetMulticastGroup (ULONG, USHORT) ;\
virtual STDMETHODIMP GetMulticastGroup (ULONG *, USHORT*) ;
extern RPC_IF_HANDLE __MIDL_itf_dsnetifc_0010_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_dsnetifc_0010_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -