1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for oledb.idl:
8       Oicf, W1, ..., env=Win32 (32b run)
9       protocol : dce , ms_ext, c_ext, robust
10       error checks: allocation ref bounds_check enum stub_data 
11       VC __declspec() decoration level: 
12                __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13                DECLSPEC_UUID(), MIDL_INTERFACE()
14 */
15 //@@MIDL_FILE_HEADING(  )
16
17 #pragma warning( disable: 4049 )  /* more than 64k source lines */
18
19
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 500
23 #endif
24
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
29
30 #include "rpc.h"
31 #include "rpcndr.h"
32
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
36
37 #ifndef COM_NO_WINDOWS_H
38 #include "windows.h"
39 #include "ole2.h"
40 #endif /*COM_NO_WINDOWS_H*/
41
42 #ifndef __oledb_h__
43 #define __oledb_h__
44
45 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
46 #pragma once
47 #endif
48
49 /* Forward Declarations */ 
50
51 #ifndef __IAccessor_FWD_DEFINED__
52 #define __IAccessor_FWD_DEFINED__
53 typedef interface IAccessor IAccessor;
54 #endif     /* __IAccessor_FWD_DEFINED__ */
55
56
57 #ifndef __IRowset_FWD_DEFINED__
58 #define __IRowset_FWD_DEFINED__
59 typedef interface IRowset IRowset;
60 #endif     /* __IRowset_FWD_DEFINED__ */
61
62
63 #ifndef __IRowsetInfo_FWD_DEFINED__
64 #define __IRowsetInfo_FWD_DEFINED__
65 typedef interface IRowsetInfo IRowsetInfo;
66 #endif     /* __IRowsetInfo_FWD_DEFINED__ */
67
68
69 #ifndef __IRowsetLocate_FWD_DEFINED__
70 #define __IRowsetLocate_FWD_DEFINED__
71 typedef interface IRowsetLocate IRowsetLocate;
72 #endif     /* __IRowsetLocate_FWD_DEFINED__ */
Lines 73 ... 630 are skipped.
631
632 // Number of rows
633 typedef LONG DBROWCOUNT;
634
635 typedef ULONG DBCOUNTITEM;
636
637 // Ordinal (column number, etc.)
638 typedef ULONG DBORDINAL;
639
640 typedef LONG DB_LORDINAL;
641
642 // Bookmarks
643 typedef ULONG DBBKMARK;
644
645 // Offset in the buffer
646 typedef ULONG DBBYTEOFFSET;
647
648 // Reference count of each row handle
649 typedef ULONG DBREFCOUNT;
650
651 // Parameters
652 typedef ULONG DB_UPARAMS;
653
654 typedef LONG DB_LPARAMS;
655
656 // hash values corresponding to the elements (bookmarks)
657 typedef DWORD DBHASHVALUE;
658
659 // For reserve
660 typedef DWORD DB_DWRESERVE;
661
662 typedef LONG DB_LRESERVE;
663
664 typedef ULONG DB_URESERVE;
665
666 #endif    // _WIN64
667
668
669 extern RPC_IF_HANDLE __MIDL_itf_oledb_0000_0000_v0_0_c_ifspec;
670 extern RPC_IF_HANDLE __MIDL_itf_oledb_0000_0000_v0_0_s_ifspec;
671
672 #ifndef __DBStructureDefinitions_INTERFACE_DEFINED__
673 #define __DBStructureDefinitions_INTERFACE_DEFINED__
674
675 /* interface DBStructureDefinitions */
676 /* [unique][uuid] */ 
677
678 #ifndef UNALIGNED
679 #if defined(_MIPS_) || defined(_ALPHA_) || defined(_PPC_)
680 #define UNALIGNED __unaligned
681 #else
682 #define UNALIGNED
683 #endif
684 #endif //UNALIGNED
685 #undef OLEDBDECLSPEC
686 #if _MSC_VER >= 1100 && (!defined(SHx) || (defined(SHx) && _MSC_VER >= 1200))
687 #define OLEDBDECLSPEC __declspec(selectany)
688 #else
689 #define OLEDBDECLSPEC 
690 #endif //_MSC_VER
691 typedef DWORD DBKIND;
692
693
694 enum DBKINDENUM
695       {    DBKIND_GUID_NAME    = 0,
696     DBKIND_GUID_PROPID    = ( DBKIND_GUID_NAME + 1 ) ,
697     DBKIND_NAME    = ( DBKIND_GUID_PROPID + 1 ) ,
698     DBKIND_PGUID_NAME    = ( DBKIND_NAME + 1 ) ,
699     DBKIND_PGUID_PROPID    = ( DBKIND_PGUID_NAME + 1 ) ,
700     DBKIND_PROPID    = ( DBKIND_PGUID_PROPID + 1 ) ,
701     DBKIND_GUID    = ( DBKIND_PROPID + 1 ) 
702       } ;
703 typedef struct tagDBID
704       {
705       union 
706              {
707              GUID guid;
708              GUID *pguid;
709                /* Empty union arm */ 
710              }     uGuid;
711       DBKIND eKind;
712       union 
713              {
714              LPOLESTR pwszName;
715              ULONG ulPropid;
716                /* Empty union arm */ 
717              }     uName;
718       }     DBID;
719
720 typedef struct tagDB_NUMERIC
721       {
722       BYTE precision;
723       BYTE scale;
724       BYTE sign;
725       BYTE val[ 16 ];
726       }     DB_NUMERIC;
727
728 #ifndef _ULONGLONG_
729 typedef hyper LONGLONG;
730
731 typedef MIDL_uhyper ULONGLONG;
732
Lines 733 ... 15851 are skipped.
15852       /* [size_is][in] */ const DBID rgColumnIDMasks[  ],
15853       /* [in] */ DWORD dwFlags,
15854       /* [out][in] */ DBORDINAL *pcColumns,
15855       /* [size_is][size_is][out] */ DBID **prgColumnIDs,
15856       /* [size_is][size_is][out] */ DBCOLUMNINFO **prgColumnInfo,
15857       /* [out] */ 
15858       __deref_out_z_opt  OLECHAR **ppStringsBuffer);
15859
15860
15861 /* [call_as] */ HRESULT STDMETHODCALLTYPE IColumnsInfo2_GetRestrictedColumnInfo_Stub( 
15862       IColumnsInfo2 * This,
15863       /* [in] */ DBORDINAL cColumnIDMasks,
15864       /* [size_is][unique][in] */ __RPC__in_ecount_full_opt(( ULONG  )cColumnIDMasks) const DBID *rgColumnIDMasks,
15865       /* [in] */ DWORD dwFlags,
15866       /* [out][in] */ __RPC__inout DBORDINAL *pcColumns,
15867       /* [size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_full_opt(( ULONG  )*pcColumns) DBID **prgColumnIDs,
15868       /* [size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_full_opt(( ULONG  )*pcColumns) DBCOLUMNINFO **prgColumnInfo,
15869       /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(( ULONG  )*pcColumns) DBBYTEOFFSET **prgNameOffsets,
15870       /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(( ULONG  )*pcColumns) DBBYTEOFFSET **prgcolumnidOffsets,
15871       /* [out][in] */ __RPC__inout DBLENGTH *pcbStringsBuffer,
15872       /* [size_is][size_is][unique][out][in] */ __RPC__deref_opt_inout_ecount_full_opt(( ULONG  )*pcbStringsBuffer) OLECHAR **ppStringsBuffer);
15873
15874 /* [local] */ HRESULT STDMETHODCALLTYPE IRegisterProvider_GetURLMapping_Proxy( 
15875       IRegisterProvider * This,
15876       /* [in] */ LPCOLESTR pwszURL,
15877       /* [in] */ DB_DWRESERVE dwReserved,
15878       /* [out] */ CLSID *pclsidProvider);
15879
15880
15881 /* [call_as] */ HRESULT STDMETHODCALLTYPE IRegisterProvider_GetURLMapping_Stub( 
15882       IRegisterProvider * This,
15883       /* [in] */ __RPC__in LPCOLESTR pwszURL,
15884       /* [in] */ DB_DWRESERVE dwReserved,
15885       /* [out] */ __RPC__out CLSID *pclsidProvider);
15886
15887
15888
15889 #endif // OLEDBPROXY
15890 /* end of Additional Prototypes */
15891
15892 #ifdef __cplusplus
15893 }
15894 #endif
15895
15896 #endif
15897
15898
15899
15900