📄 oledb.h
字号:
typedef interface IErrorRecords IErrorRecords;
#endif /* __IErrorRecords_FWD_DEFINED__ */
#ifndef __IErrorLookup_FWD_DEFINED__
#define __IErrorLookup_FWD_DEFINED__
typedef interface IErrorLookup IErrorLookup;
#endif /* __IErrorLookup_FWD_DEFINED__ */
#ifndef __ISQLErrorInfo_FWD_DEFINED__
#define __ISQLErrorInfo_FWD_DEFINED__
typedef interface ISQLErrorInfo ISQLErrorInfo;
#endif /* __ISQLErrorInfo_FWD_DEFINED__ */
#ifndef __IGetDataSource_FWD_DEFINED__
#define __IGetDataSource_FWD_DEFINED__
typedef interface IGetDataSource IGetDataSource;
#endif /* __IGetDataSource_FWD_DEFINED__ */
#ifndef __ITransactionLocal_FWD_DEFINED__
#define __ITransactionLocal_FWD_DEFINED__
typedef interface ITransactionLocal ITransactionLocal;
#endif /* __ITransactionLocal_FWD_DEFINED__ */
#ifndef __ITransactionJoin_FWD_DEFINED__
#define __ITransactionJoin_FWD_DEFINED__
typedef interface ITransactionJoin ITransactionJoin;
#endif /* __ITransactionJoin_FWD_DEFINED__ */
#ifndef __ITransactionObject_FWD_DEFINED__
#define __ITransactionObject_FWD_DEFINED__
typedef interface ITransactionObject ITransactionObject;
#endif /* __ITransactionObject_FWD_DEFINED__ */
#ifndef __ITrusteeAdmin_FWD_DEFINED__
#define __ITrusteeAdmin_FWD_DEFINED__
typedef interface ITrusteeAdmin ITrusteeAdmin;
#endif /* __ITrusteeAdmin_FWD_DEFINED__ */
#ifndef __ITrusteeGroupAdmin_FWD_DEFINED__
#define __ITrusteeGroupAdmin_FWD_DEFINED__
typedef interface ITrusteeGroupAdmin ITrusteeGroupAdmin;
#endif /* __ITrusteeGroupAdmin_FWD_DEFINED__ */
#ifndef __IObjectAccessControl_FWD_DEFINED__
#define __IObjectAccessControl_FWD_DEFINED__
typedef interface IObjectAccessControl IObjectAccessControl;
#endif /* __IObjectAccessControl_FWD_DEFINED__ */
#ifndef __ISecurityInfo_FWD_DEFINED__
#define __ISecurityInfo_FWD_DEFINED__
typedef interface ISecurityInfo ISecurityInfo;
#endif /* __ISecurityInfo_FWD_DEFINED__ */
#ifndef __ITableCreation_FWD_DEFINED__
#define __ITableCreation_FWD_DEFINED__
typedef interface ITableCreation ITableCreation;
#endif /* __ITableCreation_FWD_DEFINED__ */
#ifndef __ITableDefinitionWithConstraints_FWD_DEFINED__
#define __ITableDefinitionWithConstraints_FWD_DEFINED__
typedef interface ITableDefinitionWithConstraints ITableDefinitionWithConstraints;
#endif /* __ITableDefinitionWithConstraints_FWD_DEFINED__ */
#ifndef __IRow_FWD_DEFINED__
#define __IRow_FWD_DEFINED__
typedef interface IRow IRow;
#endif /* __IRow_FWD_DEFINED__ */
#ifndef __IRowChange_FWD_DEFINED__
#define __IRowChange_FWD_DEFINED__
typedef interface IRowChange IRowChange;
#endif /* __IRowChange_FWD_DEFINED__ */
#ifndef __IRowSchemaChange_FWD_DEFINED__
#define __IRowSchemaChange_FWD_DEFINED__
typedef interface IRowSchemaChange IRowSchemaChange;
#endif /* __IRowSchemaChange_FWD_DEFINED__ */
#ifndef __IGetRow_FWD_DEFINED__
#define __IGetRow_FWD_DEFINED__
typedef interface IGetRow IGetRow;
#endif /* __IGetRow_FWD_DEFINED__ */
#ifndef __IBindResource_FWD_DEFINED__
#define __IBindResource_FWD_DEFINED__
typedef interface IBindResource IBindResource;
#endif /* __IBindResource_FWD_DEFINED__ */
#ifndef __IScopedOperations_FWD_DEFINED__
#define __IScopedOperations_FWD_DEFINED__
typedef interface IScopedOperations IScopedOperations;
#endif /* __IScopedOperations_FWD_DEFINED__ */
#ifndef __ICreateRow_FWD_DEFINED__
#define __ICreateRow_FWD_DEFINED__
typedef interface ICreateRow ICreateRow;
#endif /* __ICreateRow_FWD_DEFINED__ */
#ifndef __IDBBinderProperties_FWD_DEFINED__
#define __IDBBinderProperties_FWD_DEFINED__
typedef interface IDBBinderProperties IDBBinderProperties;
#endif /* __IDBBinderProperties_FWD_DEFINED__ */
#ifndef __IColumnsInfo2_FWD_DEFINED__
#define __IColumnsInfo2_FWD_DEFINED__
typedef interface IColumnsInfo2 IColumnsInfo2;
#endif /* __IColumnsInfo2_FWD_DEFINED__ */
#ifndef __IRegisterProvider_FWD_DEFINED__
#define __IRegisterProvider_FWD_DEFINED__
typedef interface IRegisterProvider IRegisterProvider;
#endif /* __IRegisterProvider_FWD_DEFINED__ */
#ifndef __IGetSession_FWD_DEFINED__
#define __IGetSession_FWD_DEFINED__
typedef interface IGetSession IGetSession;
#endif /* __IGetSession_FWD_DEFINED__ */
#ifndef __IGetSourceRow_FWD_DEFINED__
#define __IGetSourceRow_FWD_DEFINED__
typedef interface IGetSourceRow IGetSourceRow;
#endif /* __IGetSourceRow_FWD_DEFINED__ */
#ifndef __IRowsetCurrentIndex_FWD_DEFINED__
#define __IRowsetCurrentIndex_FWD_DEFINED__
typedef interface IRowsetCurrentIndex IRowsetCurrentIndex;
#endif /* __IRowsetCurrentIndex_FWD_DEFINED__ */
/* header files for imported files */
#include "wtypes.h"
#include "oaidl.h"
#include "ocidl.h"
#include "propidl.h"
#include "transact.h"
#ifdef __cplusplus
extern "C"{
#endif
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/* interface __MIDL_itf_oledb_0000 */
/* [local] */
//+---------------------------------------------------------------------------
//
// Microsoft OLE DB
// Copyright (C) Microsoft Corporation, 1994 - 1999.
//
//----------------------------------------------------------------------------
#ifdef _WIN64
#include <pshpack8.h> // 8-byte structure packing
#else
#include <pshpack2.h> // 2-byte structure packing
#endif
#endif // GUID_DEFS_ONLY
//
// OLEDBVER
// OLE DB version number is 2.5 (0x0250); to force a particular version,
// #define OLEDBVER as required before including this file.
//
// If OLEDBVER is not defined, assume version 2.5
#ifndef OLEDBVER
#define OLEDBVER 0x0250
#endif
#ifndef GUID_DEFS_ONLY
#ifdef _WIN64
// Length of a non-character object, size
typedef ULONGLONG DBLENGTH;
// Offset within a rowset
typedef LONGLONG DBROWOFFSET;
// Number of rows
typedef LONGLONG DBROWCOUNT;
typedef ULONGLONG DBCOUNTITEM;
// Ordinal (column number, etc.)
typedef ULONGLONG DBORDINAL;
typedef LONGLONG DB_LORDINAL;
// Bookmarks
typedef ULONGLONG DBBKMARK;
// Offset in the buffer
typedef ULONGLONG DBBYTEOFFSET;
// Reference count of each row/accessor handle
typedef ULONG DBREFCOUNT;
// Parameters
typedef ULONGLONG DB_UPARAMS;
typedef LONGLONG DB_LPARAMS;
// hash values corresponding to the elements (bookmarks)
typedef DWORDLONG DBHASHVALUE;
// For reserve
typedef DWORDLONG DB_DWRESERVE;
typedef LONGLONG DB_LRESERVE;
typedef ULONGLONG DB_URESERVE;
#else
// Length of a non-character object, size
typedef ULONG DBLENGTH;
// Offset within a rowset
typedef LONG DBROWOFFSET;
// Number of rows
typedef LONG DBROWCOUNT;
typedef ULONG DBCOUNTITEM;
// Ordinal (column number, etc.)
typedef ULONG DBORDINAL;
typedef LONG DB_LORDINAL;
// Bookmarks
typedef ULONG DBBKMARK;
// Offset in the buffer
typedef ULONG DBBYTEOFFSET;
// Reference count of each row handle
typedef ULONG DBREFCOUNT;
// Parameters
typedef ULONG DB_UPARAMS;
typedef LONG DB_LPARAMS;
// hash values corresponding to the elements (bookmarks)
typedef DWORD DBHASHVALUE;
// For reserve
typedef DWORD DB_DWRESERVE;
typedef LONG DB_LRESERVE;
typedef ULONG DB_URESERVE;
#endif // _WIN64
#endif // GUID_DEFS_ONLY
extern RPC_IF_HANDLE __MIDL_itf_oledb_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_oledb_0000_v0_0_s_ifspec;
#ifndef __DBStructureDefinitions_INTERFACE_DEFINED__
#define __DBStructureDefinitions_INTERFACE_DEFINED__
/* interface DBStructureDefinitions */
/* [auto_handle][unique][uuid] */
#ifndef UNALIGNED
#if defined(_MIPS_) || defined(_ALPHA_) || defined(_PPC_)
#define UNALIGNED __unaligned
#else
#define UNALIGNED
#endif
#endif //UNALIGNED
#undef OLEDBDECLSPEC
#if _MSC_VER >= 1100
#define OLEDBDECLSPEC __declspec(selectany)
#else
#define OLEDBDECLSPEC
#endif //_MSC_VER
typedef DWORD DBKIND;
enum DBKINDENUM
{ DBKIND_GUID_NAME = 0,
DBKIND_GUID_PROPID = DBKIND_GUID_NAME + 1,
DBKIND_NAME = DBKIND_GUID_PROPID + 1,
DBKIND_PGUID_NAME = DBKIND_NAME + 1,
DBKIND_PGUID_PROPID = DBKIND_PGUID_NAME + 1,
DBKIND_PROPID = DBKIND_PGUID_PROPID + 1,
DBKIND_GUID = DBKIND_PROPID + 1
};
typedef struct tagDBID
{
/* [switch_is][switch_type] */ union
{
/* [case()] */ GUID guid;
/* [case()] */ GUID __RPC_FAR *pguid;
/* [default] */ /* Empty union arm */
} uGuid;
DBKIND eKind;
/* [switch_is][switch_type] */ union
{
/* [case()] */ LPOLESTR pwszName;
/* [case()] */ ULONG ulPropid;
/* [default] */ /* Empty union arm */
} uName;
} DBID;
typedef struct tagDB_NUMERIC
{
BYTE precision;
BYTE scale;
BYTE sign;
BYTE val[ 16 ];
} DB_NUMERIC;
#ifndef GUID_DEFS_ONLY
#ifndef _ULONGLONG_
typedef hyper LONGLONG;
typedef MIDL_uhyper ULONGLONG;
typedef LONGLONG __RPC_FAR *PLONGLONG;
typedef ULONGLONG __RPC_FAR *PULONGLONG;
#endif // _ULONGLONG_
#ifndef DECIMAL_NEG
#ifndef DECIMAL_SETZERO
typedef struct tagDEC {
USHORT wReserved;
union {
struct {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -