📄 oledb32.tlh
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (e608904c).
//
// e:\dg\adoqry\debug\Oledb32.tlh
//
// C++ source equivalent of Win32 type library Oledb32.dll
// compiler-generated file created 11/19/00 at 07:59:08 - DO NOT EDIT!
#pragma once
#pragma pack(push, 8)
#include <comdef.h>
namespace MSDASC {
//
// Forward references and typedefs
//
struct __declspec(uuid("2206ccb2-19c1-11d1-89e0-00c04fd7a829"))
/* dual interface */ IDataSourceLocator;
struct /* coclass */ DataLinks;
typedef struct _RemotableHandle * wireHWND;
struct _RemotableHandle;
union __MIDL_IWinTypes_0009;
struct _COSERVERINFO;
struct _COAUTHINFO;
struct _COAUTHIDENTITY;
struct /* coclass */ MSDAINITIALIZE;
struct /* coclass */ PDPO;
struct __declspec(uuid("0000010b-0000-0000-c000-000000000046"))
/* interface */ IPersistFile;
struct __declspec(uuid("0000010c-0000-0000-c000-000000000046"))
/* interface */ IPersist;
//
// Smart pointer typedef declarations
//
_COM_SMARTPTR_TYPEDEF(IDataSourceLocator, __uuidof(IDataSourceLocator));
_COM_SMARTPTR_TYPEDEF(IPersist, __uuidof(IPersist));
_COM_SMARTPTR_TYPEDEF(IPersistFile, __uuidof(IPersistFile));
//
// Type library items
//
struct __declspec(uuid("2206ccb2-19c1-11d1-89e0-00c04fd7a829"))
IDataSourceLocator : IDispatch
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_hWnd (
long * phwndParent ) = 0;
virtual HRESULT __stdcall put_hWnd (
long phwndParent ) = 0;
virtual HRESULT __stdcall PromptNew (
IDispatch * * ppADOConnection ) = 0;
virtual HRESULT __stdcall PromptEdit (
IDispatch * * ppADOConnection,
VARIANT_BOOL * pbSuccess ) = 0;
};
struct __declspec(uuid("2206cdb2-19c1-11d1-89e0-00c04fd7a829"))
DataLinks;
// [ default ] interface IDataSourceLocator
// interface IDBPromptInitialize
// interface IDataInitialize
union __MIDL_IWinTypes_0009
{
long hInproc;
long hRemote;
};
struct _RemotableHandle
{
long fContext;
union __MIDL_IWinTypes_0009 u;
};
struct _COSERVERINFO
{
unsigned long dwReserved1;
LPWSTR pwszName;
struct _COAUTHINFO * pAuthInfo;
unsigned long dwReserved2;
};
struct _COAUTHINFO
{
unsigned long dwAuthnSvc;
unsigned long dwAuthzSvc;
LPWSTR pwszServerPrincName;
unsigned long dwAuthnLevel;
unsigned long dwImpersonationLevel;
struct _COAUTHIDENTITY * pAuthIdentityData;
unsigned long dwCapabilities;
};
struct _COAUTHIDENTITY
{
unsigned short * User;
unsigned long UserLength;
unsigned short * Domain;
unsigned long DomainLength;
unsigned short * Password;
unsigned long PasswordLength;
unsigned long Flags;
};
struct __declspec(uuid("2206cdb0-19c1-11d1-89e0-00c04fd7a829"))
MSDAINITIALIZE;
// [ default ] interface IDataInitialize
struct __declspec(uuid("ccb4ec60-b9dc-11d1-ac80-00a0c9034873"))
PDPO;
// [ default ] interface IPersistFile
struct __declspec(uuid("0000010c-0000-0000-c000-000000000046"))
IPersist : IUnknown
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall GetClassID (
GUID * pClassID ) = 0;
};
struct __declspec(uuid("0000010b-0000-0000-c000-000000000046"))
IPersistFile : IPersist
{
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall IsDirty ( ) = 0;
virtual HRESULT __stdcall Load (
LPWSTR pszFileName,
unsigned long dwMode ) = 0;
virtual HRESULT __stdcall Save (
LPWSTR pszFileName,
long fRemember ) = 0;
virtual HRESULT __stdcall SaveCompleted (
LPWSTR pszFileName ) = 0;
virtual HRESULT __stdcall GetCurFile (
LPWSTR * ppszFileName ) = 0;
};
} // namespace MSDASC
#pragma pack(pop)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -