Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

437 lines
12 KiB

/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0361 */
/* Compiler settings for msdatsrc.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( )
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* 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 __msdatsrc_h__
#define __msdatsrc_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __DataSourceListener_FWD_DEFINED__
#define __DataSourceListener_FWD_DEFINED__
typedef interface DataSourceListener DataSourceListener;
#endif /* __DataSourceListener_FWD_DEFINED__ */
#ifndef __DataSource_FWD_DEFINED__
#define __DataSource_FWD_DEFINED__
typedef interface DataSource DataSource;
#endif /* __DataSource_FWD_DEFINED__ */
#ifdef __cplusplus
extern "C"{
#endif
void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * );
/* interface __MIDL_itf_msdatsrc_0000 */
/* [local] */
//-----------------------------------------------------------------------------
// File: .C or .H file generated by msdatsrc.idl
//
// Copyright: Copyright (c) 1998-1999 Microsoft Corporation
//
// Contents: .C or .H file generated by msdatsrc.idl
//
// Comments:
//
//-----------------------------------------------------------------------------
// For non-VC5 compilers
#if (_MSC_VER >= 1100) && defined (__cplusplus)
#define DECLSPEC_UUID(x) __declspec(uuid(x))
#else
#define DECLSPEC_UUID(x)
#endif
// C/C++ interface names
#define IDataSource DataSource
#define IDataSourceListener DataSourceListener
// Component category guids
EXTERN_C const IID CATID_DataSource;
EXTERN_C const IID CATID_DataConsumer;
extern RPC_IF_HANDLE __MIDL_itf_msdatsrc_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_msdatsrc_0000_v0_0_s_ifspec;
#ifndef __MSDATASRC_LIBRARY_DEFINED__
#define __MSDATASRC_LIBRARY_DEFINED__
/* library MSDATASRC */
/* [helpstring][version][uuid] */
typedef /* [uuid] */ DECLSPEC_UUID("7c0ffab1-cd84-11d0-949a-00a0c91110ed") BSTR DataMember;
EXTERN_C const IID LIBID_MSDATASRC;
#ifndef __DataSourceListener_INTERFACE_DEFINED__
#define __DataSourceListener_INTERFACE_DEFINED__
/* interface DataSourceListener */
/* [object][hidden][oleautomation][uuid] */
EXTERN_C const IID IID_DataSourceListener;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7c0ffab2-cd84-11d0-949a-00a0c91110ed")
DataSourceListener : public IUnknown
{
public:
virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE dataMemberChanged(
/* [in] */ DataMember bstrDM) = 0;
virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE dataMemberAdded(
/* [in] */ DataMember bstrDM) = 0;
virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE dataMemberRemoved(
/* [in] */ DataMember bstrDM) = 0;
};
#else /* C style interface */
typedef struct DataSourceListenerVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
DataSourceListener * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
DataSourceListener * This);
ULONG ( STDMETHODCALLTYPE *Release )(
DataSourceListener * This);
/* [hidden] */ HRESULT ( STDMETHODCALLTYPE *dataMemberChanged )(
DataSourceListener * This,
/* [in] */ DataMember bstrDM);
/* [hidden] */ HRESULT ( STDMETHODCALLTYPE *dataMemberAdded )(
DataSourceListener * This,
/* [in] */ DataMember bstrDM);
/* [hidden] */ HRESULT ( STDMETHODCALLTYPE *dataMemberRemoved )(
DataSourceListener * This,
/* [in] */ DataMember bstrDM);
END_INTERFACE
} DataSourceListenerVtbl;
interface DataSourceListener
{
CONST_VTBL struct DataSourceListenerVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define DataSourceListener_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define DataSourceListener_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define DataSourceListener_Release(This) \
(This)->lpVtbl -> Release(This)
#define DataSourceListener_dataMemberChanged(This,bstrDM) \
(This)->lpVtbl -> dataMemberChanged(This,bstrDM)
#define DataSourceListener_dataMemberAdded(This,bstrDM) \
(This)->lpVtbl -> dataMemberAdded(This,bstrDM)
#define DataSourceListener_dataMemberRemoved(This,bstrDM) \
(This)->lpVtbl -> dataMemberRemoved(This,bstrDM)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [hidden] */ HRESULT STDMETHODCALLTYPE DataSourceListener_dataMemberChanged_Proxy(
DataSourceListener * This,
/* [in] */ DataMember bstrDM);
void __RPC_STUB DataSourceListener_dataMemberChanged_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [hidden] */ HRESULT STDMETHODCALLTYPE DataSourceListener_dataMemberAdded_Proxy(
DataSourceListener * This,
/* [in] */ DataMember bstrDM);
void __RPC_STUB DataSourceListener_dataMemberAdded_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [hidden] */ HRESULT STDMETHODCALLTYPE DataSourceListener_dataMemberRemoved_Proxy(
DataSourceListener * This,
/* [in] */ DataMember bstrDM);
void __RPC_STUB DataSourceListener_dataMemberRemoved_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __DataSourceListener_INTERFACE_DEFINED__ */
#ifndef __DataSource_INTERFACE_DEFINED__
#define __DataSource_INTERFACE_DEFINED__
/* interface DataSource */
/* [object][oleautomation][uuid] */
EXTERN_C const IID IID_DataSource;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7c0ffab3-cd84-11d0-949a-00a0c91110ed")
DataSource : public IUnknown
{
public:
virtual /* [restricted][hidden] */ HRESULT STDMETHODCALLTYPE getDataMember(
/* [in] */ DataMember bstrDM,
/* [in] */ REFIID riid,
/* [retval][out] */ IUnknown **ppunk) = 0;
virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE getDataMemberName(
/* [in] */ long lIndex,
/* [retval][out] */ DataMember *pbstrDM) = 0;
virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE getDataMemberCount(
/* [retval][out] */ long *plCount) = 0;
virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE addDataSourceListener(
/* [in] */ DataSourceListener *pDSL) = 0;
virtual /* [hidden] */ HRESULT STDMETHODCALLTYPE removeDataSourceListener(
/* [in] */ DataSourceListener *pDSL) = 0;
};
#else /* C style interface */
typedef struct DataSourceVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
DataSource * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
DataSource * This);
ULONG ( STDMETHODCALLTYPE *Release )(
DataSource * This);
/* [restricted][hidden] */ HRESULT ( STDMETHODCALLTYPE *getDataMember )(
DataSource * This,
/* [in] */ DataMember bstrDM,
/* [in] */ REFIID riid,
/* [retval][out] */ IUnknown **ppunk);
/* [hidden] */ HRESULT ( STDMETHODCALLTYPE *getDataMemberName )(
DataSource * This,
/* [in] */ long lIndex,
/* [retval][out] */ DataMember *pbstrDM);
/* [hidden] */ HRESULT ( STDMETHODCALLTYPE *getDataMemberCount )(
DataSource * This,
/* [retval][out] */ long *plCount);
/* [hidden] */ HRESULT ( STDMETHODCALLTYPE *addDataSourceListener )(
DataSource * This,
/* [in] */ DataSourceListener *pDSL);
/* [hidden] */ HRESULT ( STDMETHODCALLTYPE *removeDataSourceListener )(
DataSource * This,
/* [in] */ DataSourceListener *pDSL);
END_INTERFACE
} DataSourceVtbl;
interface DataSource
{
CONST_VTBL struct DataSourceVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define DataSource_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define DataSource_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define DataSource_Release(This) \
(This)->lpVtbl -> Release(This)
#define DataSource_getDataMember(This,bstrDM,riid,ppunk) \
(This)->lpVtbl -> getDataMember(This,bstrDM,riid,ppunk)
#define DataSource_getDataMemberName(This,lIndex,pbstrDM) \
(This)->lpVtbl -> getDataMemberName(This,lIndex,pbstrDM)
#define DataSource_getDataMemberCount(This,plCount) \
(This)->lpVtbl -> getDataMemberCount(This,plCount)
#define DataSource_addDataSourceListener(This,pDSL) \
(This)->lpVtbl -> addDataSourceListener(This,pDSL)
#define DataSource_removeDataSourceListener(This,pDSL) \
(This)->lpVtbl -> removeDataSourceListener(This,pDSL)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [restricted][hidden] */ HRESULT STDMETHODCALLTYPE DataSource_getDataMember_Proxy(
DataSource * This,
/* [in] */ DataMember bstrDM,
/* [in] */ REFIID riid,
/* [retval][out] */ IUnknown **ppunk);
void __RPC_STUB DataSource_getDataMember_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [hidden] */ HRESULT STDMETHODCALLTYPE DataSource_getDataMemberName_Proxy(
DataSource * This,
/* [in] */ long lIndex,
/* [retval][out] */ DataMember *pbstrDM);
void __RPC_STUB DataSource_getDataMemberName_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [hidden] */ HRESULT STDMETHODCALLTYPE DataSource_getDataMemberCount_Proxy(
DataSource * This,
/* [retval][out] */ long *plCount);
void __RPC_STUB DataSource_getDataMemberCount_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [hidden] */ HRESULT STDMETHODCALLTYPE DataSource_addDataSourceListener_Proxy(
DataSource * This,
/* [in] */ DataSourceListener *pDSL);
void __RPC_STUB DataSource_addDataSourceListener_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [hidden] */ HRESULT STDMETHODCALLTYPE DataSource_removeDataSourceListener_Proxy(
DataSource * This,
/* [in] */ DataSourceListener *pDSL);
void __RPC_STUB DataSource_removeDataSourceListener_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
#endif /* __DataSource_INTERFACE_DEFINED__ */
#endif /* __MSDATASRC_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif