📄 oledb32.tlh
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (7d4d4699).
//
// oledb32.tlh
//
// C++ source equivalent of Win32 type library c:\program files\common files\system\ole db\oledb32.dll
// compiler-generated file created 10/13/00 at 00:13:37 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
namespace oledb {
//
// Forward references and typedefs
//
struct __declspec(uuid("2206ccb2-19c1-11d1-89e0-00c04fd7a829"))
/* dual interface */ IDataSourceLocator;
struct /* coclass */ DataLinks;
struct __declspec(uuid("2206ccb0-19c1-11d1-89e0-00c04fd7a829"))
/* interface */ IDBPromptInitialize;
struct __declspec(uuid("2206ccb1-19c1-11d1-89e0-00c04fd7a829"))
/* interface */ IDataInitialize;
struct /* coclass */ MSDAINITIALIZE;
struct /* coclass */ PDPO;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(IDataSourceLocator, __uuidof(IDataSourceLocator));
_COM_SMARTPTR_TYPEDEF(IDBPromptInitialize, __uuidof(IDBPromptInitialize));
_COM_SMARTPTR_TYPEDEF(IDataInitialize, __uuidof(IDataInitialize));
//
// Type library items
//
struct __declspec(uuid("2206ccb2-19c1-11d1-89e0-00c04fd7a829"))
IDataSourceLocator : IDispatch
{
//
// Property data
//
__declspec(property(get=GethWnd,put=PuthWnd))
long hWnd;
//
// Wrapper methods for error-handling
//
long GethWnd ( );
void PuthWnd (
long phwndParent );
IDispatchPtr PromptNew ( );
VARIANT_BOOL PromptEdit (
IDispatch * * ppADOConnection );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_hWnd (
long * phwndParent ) = 0;
virtual HRESULT __stdcall put_hWnd (
long phwndParent ) = 0;
virtual HRESULT __stdcall raw_PromptNew (
IDispatch * * ppADOConnection ) = 0;
virtual HRESULT __stdcall raw_PromptEdit (
IDispatch * * ppADOConnection,
VARIANT_BOOL * pbSuccess ) = 0;
};
struct __declspec(uuid("2206cdb2-19c1-11d1-89e0-00c04fd7a829"))
DataLinks;
// [ default ] interface IDataSourceLocator
// interface IDBPromptInitialize
// interface IDataInitialize
struct __declspec(uuid("2206ccb0-19c1-11d1-89e0-00c04fd7a829"))
IDBPromptInitialize : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT RemotePromptDataSource (
IUnknown * pUnkOuter,
wireHWND hWndParent,
unsigned long dwPromptOptions,
unsigned long cSourceTypeFilter,
unsigned long * rgSourceTypeFilter,
unsigned long cchProviderFilter,
short * pwszszzProviderFilter,
GUID * riid,
IUnknown * * ppDataSource );
HRESULT PromptFileName (
wireHWND hWndParent,
unsigned long dwPromptOptions,
LPWSTR pwszInitialDirectory,
LPWSTR pwszInitialFile,
LPWSTR * ppwszSelectedFile );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_RemotePromptDataSource (
IUnknown * pUnkOuter,
wireHWND hWndParent,
unsigned long dwPromptOptions,
unsigned long cSourceTypeFilter,
unsigned long * rgSourceTypeFilter,
unsigned long cchProviderFilter,
short * pwszszzProviderFilter,
GUID * riid,
IUnknown * * ppDataSource ) = 0;
virtual HRESULT __stdcall raw_PromptFileName (
wireHWND hWndParent,
unsigned long dwPromptOptions,
LPWSTR pwszInitialDirectory,
LPWSTR pwszInitialFile,
LPWSTR * ppwszSelectedFile ) = 0;
};
struct __declspec(uuid("2206ccb1-19c1-11d1-89e0-00c04fd7a829"))
IDataInitialize : IUnknown
{
//
// Wrapper methods for error-handling
//
HRESULT GetDataSource (
IUnknown * pUnkOuter,
unsigned long dwClsCtx,
LPWSTR pwszInitializationString,
GUID * riid,
IUnknown * * ppDataSource );
HRESULT GetInitializationString (
IUnknown * pDataSource,
char fIncludePassword,
LPWSTR * ppwszInitString );
HRESULT CreateDBInstance (
GUID * clsidProvider,
IUnknown * pUnkOuter,
unsigned long dwClsCtx,
LPWSTR pwszReserved,
GUID * riid,
IUnknown * * ppDataSource );
HRESULT RemoteCreateDBInstanceEx (
GUID * clsidProvider,
IUnknown * pUnkOuter,
unsigned long dwClsCtx,
LPWSTR pwszReserved,
struct _COSERVERINFO * pServerInfo,
unsigned long cmq,
GUID * * rgpIID,
IUnknown * * rgpItf,
HRESULT * rghr );
HRESULT LoadStringFromStorage (
LPWSTR pwszFileName,
LPWSTR * ppwszInitializationString );
HRESULT WriteStringToStorage (
LPWSTR pwszFileName,
LPWSTR pwszInitializationString,
unsigned long dwCreationDisposition );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_GetDataSource (
IUnknown * pUnkOuter,
unsigned long dwClsCtx,
LPWSTR pwszInitializationString,
GUID * riid,
IUnknown * * ppDataSource ) = 0;
virtual HRESULT __stdcall raw_GetInitializationString (
IUnknown * pDataSource,
char fIncludePassword,
LPWSTR * ppwszInitString ) = 0;
virtual HRESULT __stdcall raw_CreateDBInstance (
GUID * clsidProvider,
IUnknown * pUnkOuter,
unsigned long dwClsCtx,
LPWSTR pwszReserved,
GUID * riid,
IUnknown * * ppDataSource ) = 0;
virtual HRESULT __stdcall raw_RemoteCreateDBInstanceEx (
GUID * clsidProvider,
IUnknown * pUnkOuter,
unsigned long dwClsCtx,
LPWSTR pwszReserved,
struct _COSERVERINFO * pServerInfo,
unsigned long cmq,
GUID * * rgpIID,
IUnknown * * rgpItf,
HRESULT * rghr ) = 0;
virtual HRESULT __stdcall raw_LoadStringFromStorage (
LPWSTR pwszFileName,
LPWSTR * ppwszInitializationString ) = 0;
virtual HRESULT __stdcall raw_WriteStringToStorage (
LPWSTR pwszFileName,
LPWSTR pwszInitializationString,
unsigned long dwCreationDisposition ) = 0;
};
struct __declspec(uuid("2206cdb0-19c1-11d1-89e0-00c04fd7a829"))
MSDAINITIALIZE;
// [ default ] interface IDataInitialize
struct __declspec(uuid("ccb4ec60-b9dc-11d1-ac80-00a0c9034873"))
PDPO;
// [ default ] interface IPersistFile
//
// Wrapper method implementations
//
#include "oledb32.tli"
} // namespace oledb
#pragma pack(pop)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -