mirror of https://github.com/UMSKT/xpmgr.git
829 lines
26 KiB
C++
829 lines
26 KiB
C++
|
|
|
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
|
|
|
|
|
/* File created by MIDL compiler version 7.00.0555 */
|
|
/* Compiler settings for msdasc.idl:
|
|
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
|
|
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__ 500
|
|
#endif
|
|
|
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/
|
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__
|
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100
|
|
#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 __msdasc_h__
|
|
#define __msdasc_h__
|
|
|
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
|
#pragma once
|
|
#endif
|
|
|
|
/* Forward Declarations */
|
|
|
|
#ifndef __IService_FWD_DEFINED__
|
|
#define __IService_FWD_DEFINED__
|
|
typedef interface IService IService;
|
|
#endif /* __IService_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDBPromptInitialize_FWD_DEFINED__
|
|
#define __IDBPromptInitialize_FWD_DEFINED__
|
|
typedef interface IDBPromptInitialize IDBPromptInitialize;
|
|
#endif /* __IDBPromptInitialize_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDataInitialize_FWD_DEFINED__
|
|
#define __IDataInitialize_FWD_DEFINED__
|
|
typedef interface IDataInitialize IDataInitialize;
|
|
#endif /* __IDataInitialize_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDataSourceLocator_FWD_DEFINED__
|
|
#define __IDataSourceLocator_FWD_DEFINED__
|
|
typedef interface IDataSourceLocator IDataSourceLocator;
|
|
#endif /* __IDataSourceLocator_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __DataLinks_FWD_DEFINED__
|
|
#define __DataLinks_FWD_DEFINED__
|
|
|
|
#ifdef __cplusplus
|
|
typedef class DataLinks DataLinks;
|
|
#else
|
|
typedef struct DataLinks DataLinks;
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __DataLinks_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __MSDAINITIALIZE_FWD_DEFINED__
|
|
#define __MSDAINITIALIZE_FWD_DEFINED__
|
|
|
|
#ifdef __cplusplus
|
|
typedef class MSDAINITIALIZE MSDAINITIALIZE;
|
|
#else
|
|
typedef struct MSDAINITIALIZE MSDAINITIALIZE;
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __MSDAINITIALIZE_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __PDPO_FWD_DEFINED__
|
|
#define __PDPO_FWD_DEFINED__
|
|
|
|
#ifdef __cplusplus
|
|
typedef class PDPO PDPO;
|
|
#else
|
|
typedef struct PDPO PDPO;
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __PDPO_FWD_DEFINED__ */
|
|
|
|
|
|
#ifndef __RootBinder_FWD_DEFINED__
|
|
#define __RootBinder_FWD_DEFINED__
|
|
|
|
#ifdef __cplusplus
|
|
typedef class RootBinder RootBinder;
|
|
#else
|
|
typedef struct RootBinder RootBinder;
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* __RootBinder_FWD_DEFINED__ */
|
|
|
|
|
|
/* header files for imported files */
|
|
#include "oaidl.h"
|
|
#include "ocidl.h"
|
|
#include "oledb.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"{
|
|
#endif
|
|
|
|
|
|
/* interface __MIDL_itf_msdasc_0000_0000 */
|
|
/* [local] */
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// File: .C or .H file generated by msdasc.idl
|
|
//
|
|
// Copyright: Copyright (c) 1998-1999 Microsoft Corporation
|
|
//
|
|
// Contents: .C or .H file generated by msdasc.idl
|
|
//
|
|
// Comments:
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifdef _WIN64
|
|
|
|
typedef LONGLONG COMPATIBLE_LONG;
|
|
|
|
#else
|
|
|
|
typedef LONG COMPATIBLE_LONG;
|
|
|
|
#endif // _WIN64
|
|
typedef
|
|
enum tagEBindInfoOptions
|
|
{ BIO_BINDER = 0x1
|
|
} EBindInfoOptions;
|
|
|
|
#define STGM_COLLECTION 0x00002000L
|
|
#define STGM_OUTPUT 0x00008000L
|
|
#define STGM_OPEN 0x80000000L
|
|
#define STGM_RECURSIVE 0x01000000L
|
|
#define STGM_STRICTOPEN 0x40000000L
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_msdasc_0000_0000_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_msdasc_0000_0000_v0_0_s_ifspec;
|
|
|
|
#ifndef __IService_INTERFACE_DEFINED__
|
|
#define __IService_INTERFACE_DEFINED__
|
|
|
|
/* interface IService */
|
|
/* [object][unique][helpstring][uuid] */
|
|
|
|
|
|
EXTERN_C const IID IID_IService;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("06210E88-01F5-11D1-B512-0080C781C384")
|
|
IService : public IUnknown
|
|
{
|
|
public:
|
|
virtual /* [local] */ HRESULT STDMETHODCALLTYPE InvokeService(
|
|
/* [annotation][in] */
|
|
__in IUnknown *pUnkInner) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IServiceVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IService * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IService * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IService * This);
|
|
|
|
/* [local] */ HRESULT ( STDMETHODCALLTYPE *InvokeService )(
|
|
IService * This,
|
|
/* [annotation][in] */
|
|
__in IUnknown *pUnkInner);
|
|
|
|
END_INTERFACE
|
|
} IServiceVtbl;
|
|
|
|
interface IService
|
|
{
|
|
CONST_VTBL struct IServiceVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IService_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IService_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IService_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IService_InvokeService(This,pUnkInner) \
|
|
( (This)->lpVtbl -> InvokeService(This,pUnkInner) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IService_INTERFACE_DEFINED__ */
|
|
|
|
|
|
/* interface __MIDL_itf_msdasc_0000_0001 */
|
|
/* [local] */
|
|
|
|
typedef DWORD DBPROMPTOPTIONS;
|
|
|
|
typedef
|
|
enum tagDBPROMPTOPTIONSENUM
|
|
{ DBPROMPTOPTIONS_NONE = 0,
|
|
DBPROMPTOPTIONS_WIZARDSHEET = 0x1,
|
|
DBPROMPTOPTIONS_PROPERTYSHEET = 0x2,
|
|
DBPROMPTOPTIONS_BROWSEONLY = 0x8,
|
|
DBPROMPTOPTIONS_DISABLE_PROVIDER_SELECTION = 0x10,
|
|
DBPROMPTOPTIONS_DISABLESAVEPASSWORD = 0x20
|
|
} DBPROMPTOPTIONSENUM;
|
|
|
|
|
|
|
|
extern RPC_IF_HANDLE __MIDL_itf_msdasc_0000_0001_v0_0_c_ifspec;
|
|
extern RPC_IF_HANDLE __MIDL_itf_msdasc_0000_0001_v0_0_s_ifspec;
|
|
|
|
#ifndef __IDBPromptInitialize_INTERFACE_DEFINED__
|
|
#define __IDBPromptInitialize_INTERFACE_DEFINED__
|
|
|
|
/* interface IDBPromptInitialize */
|
|
/* [restricted][local][unique][helpstring][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IDBPromptInitialize;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("2206CCB0-19C1-11D1-89E0-00C04FD7A829")
|
|
IDBPromptInitialize : public IUnknown
|
|
{
|
|
public:
|
|
virtual /* [local][helpstring] */ HRESULT STDMETHODCALLTYPE PromptDataSource(
|
|
/* [annotation][in] */
|
|
__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ HWND hWndParent,
|
|
/* [in] */ DBPROMPTOPTIONS dwPromptOptions,
|
|
/* [in] */ ULONG cSourceTypeFilter,
|
|
/* [annotation][size_is][in] */
|
|
__in_ecount_opt(cSourceTypeFilter) DBSOURCETYPE *rgSourceTypeFilter,
|
|
/* [annotation][in] */
|
|
__in_z_opt LPCOLESTR pwszszzProviderFilter,
|
|
/* [in] */ REFIID riid,
|
|
/* [annotation][iid_is][out][in] */
|
|
__deref_inout IUnknown **ppDataSource) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PromptFileName(
|
|
/* [in] */ HWND hWndParent,
|
|
/* [in] */ DBPROMPTOPTIONS dwPromptOptions,
|
|
/* [in] */ LPCOLESTR pwszInitialDirectory,
|
|
/* [in] */ LPCOLESTR pwszInitialFile,
|
|
/* [annotation][out] */
|
|
__deref_out LPOLESTR *ppwszSelectedFile) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IDBPromptInitializeVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
IDBPromptInitialize * This,
|
|
/* [in] */ REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
IDBPromptInitialize * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
IDBPromptInitialize * This);
|
|
|
|
/* [local][helpstring] */ HRESULT ( STDMETHODCALLTYPE *PromptDataSource )(
|
|
IDBPromptInitialize * This,
|
|
/* [annotation][in] */
|
|
__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ HWND hWndParent,
|
|
/* [in] */ DBPROMPTOPTIONS dwPromptOptions,
|
|
/* [in] */ ULONG cSourceTypeFilter,
|
|
/* [annotation][size_is][in] */
|
|
__in_ecount_opt(cSourceTypeFilter) DBSOURCETYPE *rgSourceTypeFilter,
|
|
/* [annotation][in] */
|
|
__in_z_opt LPCOLESTR pwszszzProviderFilter,
|
|
/* [in] */ REFIID riid,
|
|
/* [annotation][iid_is][out][in] */
|
|
__deref_inout IUnknown **ppDataSource);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PromptFileName )(
|
|
IDBPromptInitialize * This,
|
|
/* [in] */ HWND hWndParent,
|
|
/* [in] */ DBPROMPTOPTIONS dwPromptOptions,
|
|
/* [in] */ LPCOLESTR pwszInitialDirectory,
|
|
/* [in] */ LPCOLESTR pwszInitialFile,
|
|
/* [annotation][out] */
|
|
__deref_out LPOLESTR *ppwszSelectedFile);
|
|
|
|
END_INTERFACE
|
|
} IDBPromptInitializeVtbl;
|
|
|
|
interface IDBPromptInitialize
|
|
{
|
|
CONST_VTBL struct IDBPromptInitializeVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IDBPromptInitialize_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IDBPromptInitialize_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IDBPromptInitialize_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IDBPromptInitialize_PromptDataSource(This,pUnkOuter,hWndParent,dwPromptOptions,cSourceTypeFilter,rgSourceTypeFilter,pwszszzProviderFilter,riid,ppDataSource) \
|
|
( (This)->lpVtbl -> PromptDataSource(This,pUnkOuter,hWndParent,dwPromptOptions,cSourceTypeFilter,rgSourceTypeFilter,pwszszzProviderFilter,riid,ppDataSource) )
|
|
|
|
#define IDBPromptInitialize_PromptFileName(This,hWndParent,dwPromptOptions,pwszInitialDirectory,pwszInitialFile,ppwszSelectedFile) \
|
|
( (This)->lpVtbl -> PromptFileName(This,hWndParent,dwPromptOptions,pwszInitialDirectory,pwszInitialFile,ppwszSelectedFile) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IDBPromptInitialize_INTERFACE_DEFINED__ */
|
|
|
|
|
|
#ifndef __IDataInitialize_INTERFACE_DEFINED__
|
|
#define __IDataInitialize_INTERFACE_DEFINED__
|
|
|
|
/* interface IDataInitialize */
|
|
/* [unique][helpstring][uuid][object] */
|
|
|
|
|
|
|
|
|
|
EXTERN_C const IID IID_IDataInitialize;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("2206CCB1-19C1-11D1-89E0-00C04FD7A829")
|
|
IDataInitialize : public IUnknown
|
|
{
|
|
public:
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDataSource(
|
|
/* [in] */ __RPC__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [unique][in] */ __RPC__in_opt LPCOLESTR pwszInitializationString,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [iid_is][out][in] */ __RPC__deref_inout_opt IUnknown **ppDataSource) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetInitializationString(
|
|
/* [in] */ __RPC__in_opt IUnknown *pDataSource,
|
|
/* [in] */ boolean fIncludePassword,
|
|
/* [out] */ __RPC__deref_out_opt LPOLESTR *ppwszInitString) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateDBInstance(
|
|
/* [in] */ __RPC__in REFCLSID clsidProvider,
|
|
/* [in] */ __RPC__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [unique][in] */ __RPC__in_opt LPOLESTR pwszReserved,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [iid_is][out] */ __RPC__deref_out_opt IUnknown **ppDataSource) = 0;
|
|
|
|
virtual /* [local][helpstring] */ HRESULT STDMETHODCALLTYPE CreateDBInstanceEx(
|
|
/* [in] */ REFCLSID clsidProvider,
|
|
/* [annotation][in] */
|
|
__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [annotation][unique][in] */
|
|
__in_z_opt LPOLESTR pwszReserved,
|
|
/* [annotation][unique][in] */
|
|
__in COSERVERINFO *pServerInfo,
|
|
/* [in] */ ULONG cmq,
|
|
/* [annotation][size_is][out][in] */
|
|
__out_ecount(cmq) MULTI_QI *rgmqResults) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE LoadStringFromStorage(
|
|
/* [unique][in] */ __RPC__in_opt LPCOLESTR pwszFileName,
|
|
/* [out] */ __RPC__deref_out_opt LPOLESTR *ppwszInitializationString) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE WriteStringToStorage(
|
|
/* [unique][in] */ __RPC__in_opt LPCOLESTR pwszFileName,
|
|
/* [unique][in] */ __RPC__in_opt LPCOLESTR pwszInitializationString,
|
|
/* [in] */ DWORD dwCreationDisposition) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IDataInitializeVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IDataInitialize * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IDataInitialize * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IDataInitialize * This);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataSource )(
|
|
__RPC__in IDataInitialize * This,
|
|
/* [in] */ __RPC__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [unique][in] */ __RPC__in_opt LPCOLESTR pwszInitializationString,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [iid_is][out][in] */ __RPC__deref_inout_opt IUnknown **ppDataSource);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetInitializationString )(
|
|
__RPC__in IDataInitialize * This,
|
|
/* [in] */ __RPC__in_opt IUnknown *pDataSource,
|
|
/* [in] */ boolean fIncludePassword,
|
|
/* [out] */ __RPC__deref_out_opt LPOLESTR *ppwszInitString);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateDBInstance )(
|
|
__RPC__in IDataInitialize * This,
|
|
/* [in] */ __RPC__in REFCLSID clsidProvider,
|
|
/* [in] */ __RPC__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [unique][in] */ __RPC__in_opt LPOLESTR pwszReserved,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [iid_is][out] */ __RPC__deref_out_opt IUnknown **ppDataSource);
|
|
|
|
/* [local][helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateDBInstanceEx )(
|
|
IDataInitialize * This,
|
|
/* [in] */ REFCLSID clsidProvider,
|
|
/* [annotation][in] */
|
|
__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [annotation][unique][in] */
|
|
__in_z_opt LPOLESTR pwszReserved,
|
|
/* [annotation][unique][in] */
|
|
__in COSERVERINFO *pServerInfo,
|
|
/* [in] */ ULONG cmq,
|
|
/* [annotation][size_is][out][in] */
|
|
__out_ecount(cmq) MULTI_QI *rgmqResults);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *LoadStringFromStorage )(
|
|
__RPC__in IDataInitialize * This,
|
|
/* [unique][in] */ __RPC__in_opt LPCOLESTR pwszFileName,
|
|
/* [out] */ __RPC__deref_out_opt LPOLESTR *ppwszInitializationString);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *WriteStringToStorage )(
|
|
__RPC__in IDataInitialize * This,
|
|
/* [unique][in] */ __RPC__in_opt LPCOLESTR pwszFileName,
|
|
/* [unique][in] */ __RPC__in_opt LPCOLESTR pwszInitializationString,
|
|
/* [in] */ DWORD dwCreationDisposition);
|
|
|
|
END_INTERFACE
|
|
} IDataInitializeVtbl;
|
|
|
|
interface IDataInitialize
|
|
{
|
|
CONST_VTBL struct IDataInitializeVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IDataInitialize_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IDataInitialize_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IDataInitialize_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IDataInitialize_GetDataSource(This,pUnkOuter,dwClsCtx,pwszInitializationString,riid,ppDataSource) \
|
|
( (This)->lpVtbl -> GetDataSource(This,pUnkOuter,dwClsCtx,pwszInitializationString,riid,ppDataSource) )
|
|
|
|
#define IDataInitialize_GetInitializationString(This,pDataSource,fIncludePassword,ppwszInitString) \
|
|
( (This)->lpVtbl -> GetInitializationString(This,pDataSource,fIncludePassword,ppwszInitString) )
|
|
|
|
#define IDataInitialize_CreateDBInstance(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,riid,ppDataSource) \
|
|
( (This)->lpVtbl -> CreateDBInstance(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,riid,ppDataSource) )
|
|
|
|
#define IDataInitialize_CreateDBInstanceEx(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,pServerInfo,cmq,rgmqResults) \
|
|
( (This)->lpVtbl -> CreateDBInstanceEx(This,clsidProvider,pUnkOuter,dwClsCtx,pwszReserved,pServerInfo,cmq,rgmqResults) )
|
|
|
|
#define IDataInitialize_LoadStringFromStorage(This,pwszFileName,ppwszInitializationString) \
|
|
( (This)->lpVtbl -> LoadStringFromStorage(This,pwszFileName,ppwszInitializationString) )
|
|
|
|
#define IDataInitialize_WriteStringToStorage(This,pwszFileName,pwszInitializationString,dwCreationDisposition) \
|
|
( (This)->lpVtbl -> WriteStringToStorage(This,pwszFileName,pwszInitializationString,dwCreationDisposition) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
/* [call_as] */ HRESULT STDMETHODCALLTYPE IDataInitialize_RemoteCreateDBInstanceEx_Proxy(
|
|
__RPC__in IDataInitialize * This,
|
|
/* [in] */ __RPC__in REFCLSID clsidProvider,
|
|
/* [in] */ __RPC__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [unique][in] */ __RPC__in_opt LPOLESTR pwszReserved,
|
|
/* [unique][in] */ __RPC__in_opt COSERVERINFO *pServerInfo,
|
|
/* [in] */ ULONG cmq,
|
|
/* [size_is][in] */ __RPC__in_ecount_full(cmq) const IID **rgpIID,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(cmq) IUnknown **rgpItf,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(cmq) HRESULT *rghr);
|
|
|
|
|
|
void __RPC_STUB IDataInitialize_RemoteCreateDBInstanceEx_Stub(
|
|
IRpcStubBuffer *This,
|
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
|
PRPC_MESSAGE _pRpcMessage,
|
|
DWORD *_pdwStubPhase);
|
|
|
|
|
|
|
|
#endif /* __IDataInitialize_INTERFACE_DEFINED__ */
|
|
|
|
|
|
|
|
#ifndef __MSDASC_LIBRARY_DEFINED__
|
|
#define __MSDASC_LIBRARY_DEFINED__
|
|
|
|
/* library MSDASC */
|
|
/* [helpstring][version][uuid] */
|
|
|
|
|
|
EXTERN_C const IID LIBID_MSDASC;
|
|
|
|
#ifndef __IDataSourceLocator_INTERFACE_DEFINED__
|
|
#define __IDataSourceLocator_INTERFACE_DEFINED__
|
|
|
|
/* interface IDataSourceLocator */
|
|
/* [unique][helpstring][dual][uuid][object] */
|
|
|
|
|
|
EXTERN_C const IID IID_IDataSourceLocator;
|
|
|
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
|
|
|
MIDL_INTERFACE("2206CCB2-19C1-11D1-89E0-00C04FD7A829")
|
|
IDataSourceLocator : public IDispatch
|
|
{
|
|
public:
|
|
virtual /* [helpstring][propget] */ HRESULT STDMETHODCALLTYPE get_hWnd(
|
|
/* [retval][out] */ __RPC__out COMPATIBLE_LONG *phwndParent) = 0;
|
|
|
|
virtual /* [helpstring][propput] */ HRESULT STDMETHODCALLTYPE put_hWnd(
|
|
/* [in] */ COMPATIBLE_LONG hwndParent) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PromptNew(
|
|
/* [retval][out] */ __RPC__deref_out_opt IDispatch **ppADOConnection) = 0;
|
|
|
|
virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PromptEdit(
|
|
/* [out][in] */ __RPC__deref_inout_opt IDispatch **ppADOConnection,
|
|
/* [retval][out] */ __RPC__out VARIANT_BOOL *pbSuccess) = 0;
|
|
|
|
};
|
|
|
|
#else /* C style interface */
|
|
|
|
typedef struct IDataSourceLocatorVtbl
|
|
{
|
|
BEGIN_INTERFACE
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
|
__RPC__in IDataSourceLocator * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [annotation][iid_is][out] */
|
|
__RPC__deref_out void **ppvObject);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
|
__RPC__in IDataSourceLocator * This);
|
|
|
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
|
__RPC__in IDataSourceLocator * This);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
|
__RPC__in IDataSourceLocator * This,
|
|
/* [out] */ __RPC__out UINT *pctinfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
|
__RPC__in IDataSourceLocator * This,
|
|
/* [in] */ UINT iTInfo,
|
|
/* [in] */ LCID lcid,
|
|
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
|
|
|
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
|
__RPC__in IDataSourceLocator * This,
|
|
/* [in] */ __RPC__in REFIID riid,
|
|
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
|
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
|
/* [in] */ LCID lcid,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
|
|
|
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
|
IDataSourceLocator * This,
|
|
/* [in] */ DISPID dispIdMember,
|
|
/* [in] */ REFIID riid,
|
|
/* [in] */ LCID lcid,
|
|
/* [in] */ WORD wFlags,
|
|
/* [out][in] */ DISPPARAMS *pDispParams,
|
|
/* [out] */ VARIANT *pVarResult,
|
|
/* [out] */ EXCEPINFO *pExcepInfo,
|
|
/* [out] */ UINT *puArgErr);
|
|
|
|
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_hWnd )(
|
|
__RPC__in IDataSourceLocator * This,
|
|
/* [retval][out] */ __RPC__out COMPATIBLE_LONG *phwndParent);
|
|
|
|
/* [helpstring][propput] */ HRESULT ( STDMETHODCALLTYPE *put_hWnd )(
|
|
__RPC__in IDataSourceLocator * This,
|
|
/* [in] */ COMPATIBLE_LONG hwndParent);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PromptNew )(
|
|
__RPC__in IDataSourceLocator * This,
|
|
/* [retval][out] */ __RPC__deref_out_opt IDispatch **ppADOConnection);
|
|
|
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *PromptEdit )(
|
|
__RPC__in IDataSourceLocator * This,
|
|
/* [out][in] */ __RPC__deref_inout_opt IDispatch **ppADOConnection,
|
|
/* [retval][out] */ __RPC__out VARIANT_BOOL *pbSuccess);
|
|
|
|
END_INTERFACE
|
|
} IDataSourceLocatorVtbl;
|
|
|
|
interface IDataSourceLocator
|
|
{
|
|
CONST_VTBL struct IDataSourceLocatorVtbl *lpVtbl;
|
|
};
|
|
|
|
|
|
|
|
#ifdef COBJMACROS
|
|
|
|
|
|
#define IDataSourceLocator_QueryInterface(This,riid,ppvObject) \
|
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
|
|
|
#define IDataSourceLocator_AddRef(This) \
|
|
( (This)->lpVtbl -> AddRef(This) )
|
|
|
|
#define IDataSourceLocator_Release(This) \
|
|
( (This)->lpVtbl -> Release(This) )
|
|
|
|
|
|
#define IDataSourceLocator_GetTypeInfoCount(This,pctinfo) \
|
|
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
|
|
|
|
#define IDataSourceLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
|
|
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
|
|
|
|
#define IDataSourceLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
|
|
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
|
|
|
|
#define IDataSourceLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
|
|
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
|
|
|
|
|
|
#define IDataSourceLocator_get_hWnd(This,phwndParent) \
|
|
( (This)->lpVtbl -> get_hWnd(This,phwndParent) )
|
|
|
|
#define IDataSourceLocator_put_hWnd(This,hwndParent) \
|
|
( (This)->lpVtbl -> put_hWnd(This,hwndParent) )
|
|
|
|
#define IDataSourceLocator_PromptNew(This,ppADOConnection) \
|
|
( (This)->lpVtbl -> PromptNew(This,ppADOConnection) )
|
|
|
|
#define IDataSourceLocator_PromptEdit(This,ppADOConnection,pbSuccess) \
|
|
( (This)->lpVtbl -> PromptEdit(This,ppADOConnection,pbSuccess) )
|
|
|
|
#endif /* COBJMACROS */
|
|
|
|
|
|
#endif /* C style interface */
|
|
|
|
|
|
|
|
|
|
#endif /* __IDataSourceLocator_INTERFACE_DEFINED__ */
|
|
|
|
|
|
EXTERN_C const CLSID CLSID_DataLinks;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class DECLSPEC_UUID("2206CDB2-19C1-11D1-89E0-00C04FD7A829")
|
|
DataLinks;
|
|
#endif
|
|
|
|
EXTERN_C const CLSID CLSID_MSDAINITIALIZE;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class DECLSPEC_UUID("2206CDB0-19C1-11D1-89E0-00C04FD7A829")
|
|
MSDAINITIALIZE;
|
|
#endif
|
|
|
|
EXTERN_C const CLSID CLSID_PDPO;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class DECLSPEC_UUID("CCB4EC60-B9DC-11D1-AC80-00A0C9034873")
|
|
PDPO;
|
|
#endif
|
|
|
|
EXTERN_C const CLSID CLSID_RootBinder;
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class DECLSPEC_UUID("FF151822-B0BF-11D1-A80D-000000000000")
|
|
RootBinder;
|
|
#endif
|
|
#endif /* __MSDASC_LIBRARY_DEFINED__ */
|
|
|
|
/* Additional Prototypes for ALL interfaces */
|
|
|
|
/* [local][helpstring] */ HRESULT STDMETHODCALLTYPE IDataInitialize_CreateDBInstanceEx_Proxy(
|
|
IDataInitialize * This,
|
|
/* [in] */ REFCLSID clsidProvider,
|
|
/* [annotation][in] */
|
|
__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [annotation][unique][in] */
|
|
__in_z_opt LPOLESTR pwszReserved,
|
|
/* [annotation][unique][in] */
|
|
__in COSERVERINFO *pServerInfo,
|
|
/* [in] */ ULONG cmq,
|
|
/* [annotation][size_is][out][in] */
|
|
__out_ecount(cmq) MULTI_QI *rgmqResults);
|
|
|
|
|
|
/* [call_as] */ HRESULT STDMETHODCALLTYPE IDataInitialize_CreateDBInstanceEx_Stub(
|
|
__RPC__in IDataInitialize * This,
|
|
/* [in] */ __RPC__in REFCLSID clsidProvider,
|
|
/* [in] */ __RPC__in_opt IUnknown *pUnkOuter,
|
|
/* [in] */ DWORD dwClsCtx,
|
|
/* [unique][in] */ __RPC__in_opt LPOLESTR pwszReserved,
|
|
/* [unique][in] */ __RPC__in_opt COSERVERINFO *pServerInfo,
|
|
/* [in] */ ULONG cmq,
|
|
/* [size_is][in] */ __RPC__in_ecount_full(cmq) const IID **rgpIID,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(cmq) IUnknown **rgpItf,
|
|
/* [size_is][out] */ __RPC__out_ecount_full(cmq) HRESULT *rghr);
|
|
|
|
|
|
|
|
/* end of Additional Prototypes */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|