oledb.idl
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:22k
源码类别:

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: oledb.idl
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation          
  5. //
  6. // Contents:  Top level "container" for all OLE-DB related interfaces
  7. //
  8. // Comments: 
  9. //
  10. //-----------------------------------------------------------------------------
  11. cpp_quote("//+---------------------------------------------------------------------------")
  12. cpp_quote("//")
  13. cpp_quote("//  Microsoft OLE DB")
  14. cpp_quote("//  Copyright (C) Microsoft Corporation, 1994 - 1999.")
  15. cpp_quote("//")
  16. cpp_quote("//----------------------------------------------------------------------------")
  17. cpp_quote("")
  18. cpp_quote("#ifdef _WIN64")
  19. cpp_quote("#include <pshpack8.h> // 8-byte structure packing")
  20. cpp_quote("#else")
  21. cpp_quote("#include <pshpack2.h> // 2-byte structure packing")
  22. cpp_quote("#endif")
  23. cpp_quote("")
  24. cpp_quote("//")
  25. cpp_quote("// OLEDBVER")
  26. cpp_quote("// OLE DB version number is 2.7 (0x0270); to force a particular version,")
  27. cpp_quote("// #define OLEDBVER as required before including this file.")
  28. cpp_quote("//")
  29. cpp_quote("")
  30. cpp_quote("// If OLEDBVER is not defined, assume version 2.7")
  31. cpp_quote("#ifndef OLEDBVER")
  32. cpp_quote("#define OLEDBVER 0x0270")
  33. cpp_quote("#endif")
  34. import "wtypes.idl";
  35. import "oaidl.idl";
  36. import "ocidl.idl";
  37. import "propidl.idl";
  38. import "urlmon.idl";
  39. // THe following is a trick to avoid "call_as" generating wrong proxy code by using 32 bit type on Win64
  40. // 
  41. #ifdef _WIN64
  42. // 64bit data type as default.
  43. cpp_quote("")
  44. cpp_quote("#ifdef _WIN64")
  45. cpp_quote("")
  46. cpp_quote("// Length of a non-character object, size")
  47. typedef ULONGLONG DBLENGTH;
  48. cpp_quote("")
  49. cpp_quote("// Offset within a rowset")
  50. typedef LONGLONG DBROWOFFSET;
  51. cpp_quote("")
  52. cpp_quote("// Number of rows")
  53. typedef LONGLONG DBROWCOUNT;
  54. cpp_quote("")
  55. typedef ULONGLONG DBCOUNTITEM;
  56. cpp_quote("")
  57. cpp_quote("// Ordinal (column number, etc.)")
  58. typedef ULONGLONG DBORDINAL;
  59. cpp_quote("")
  60. typedef LONGLONG DB_LORDINAL;
  61. cpp_quote("")
  62. cpp_quote("// Bookmarks")
  63. typedef ULONGLONG DBBKMARK;
  64. cpp_quote("// Offset in the buffer")
  65. cpp_quote("")
  66. typedef ULONGLONG DBBYTEOFFSET;
  67. cpp_quote("// Reference count of each row/accessor  handle")
  68. cpp_quote("")
  69. typedef ULONG DBREFCOUNT;
  70. cpp_quote("")
  71. cpp_quote("// Parameters")
  72. typedef ULONGLONG DB_UPARAMS;
  73. cpp_quote("")
  74. typedef LONGLONG DB_LPARAMS;
  75. cpp_quote("")
  76. cpp_quote("// hash values corresponding to the elements (bookmarks)")
  77. typedef DWORDLONG DBHASHVALUE;
  78. cpp_quote("")
  79. cpp_quote("// For reserve")
  80. typedef DWORDLONG DB_DWRESERVE;
  81. cpp_quote("")
  82. typedef LONGLONG DB_LRESERVE;
  83. cpp_quote("")
  84. typedef ULONGLONG DB_URESERVE;
  85. cpp_quote("")
  86. cpp_quote("#else //_WIN64")
  87. cpp_quote("")
  88. cpp_quote("// Length of a non-character object, size")
  89. cpp_quote("typedef ULONG DBLENGTH;")
  90. cpp_quote("// Offset within a rowset")
  91. cpp_quote("typedef LONG DBROWOFFSET;")
  92. cpp_quote("// Number of rows")
  93. cpp_quote("typedef LONG DBROWCOUNT;")
  94. cpp_quote("typedef ULONG DBCOUNTITEM;")
  95. cpp_quote("// Ordinal (column number, etc.)")
  96. cpp_quote("typedef ULONG DBORDINAL;")
  97. cpp_quote("typedef LONG DB_LORDINAL;")
  98. cpp_quote("// Bookmarks")
  99. cpp_quote("typedef ULONG DBBKMARK;")
  100. cpp_quote("// Offset in the buffer")
  101. cpp_quote("typedef ULONG DBBYTEOFFSET; ")
  102. cpp_quote("// Reference count of each row handle")
  103. cpp_quote("typedef ULONG DBREFCOUNT;")
  104. cpp_quote("// Parameters")
  105. cpp_quote("typedef ULONG DB_UPARAMS;")
  106. cpp_quote("typedef LONG DB_LPARAMS;")
  107. cpp_quote("// hash values corresponding to the elements (bookmarks)")
  108. cpp_quote("typedef DWORD DBHASHVALUE;")
  109. cpp_quote("// For reserve")
  110. cpp_quote("typedef DWORD DB_DWRESERVE;")
  111. cpp_quote("typedef LONG DB_LRESERVE;")
  112. cpp_quote("typedef ULONG DB_URESERVE;")
  113. cpp_quote("#endif // _WIN64")
  114. #else  //_WIN64
  115. // 64bit data type as default.
  116. cpp_quote("")
  117. cpp_quote("#ifdef _WIN64")
  118. cpp_quote("")
  119. cpp_quote("// Length of a non-character object, size")
  120. cpp_quote("typedef ULONGLONG DBLENGTH;")
  121. cpp_quote("")
  122. cpp_quote("// Offset within a rowset")
  123. cpp_quote("typedef LONGLONG DBROWOFFSET;")
  124. cpp_quote("")
  125. cpp_quote("// Number of rows")
  126. cpp_quote("typedef LONGLONG DBROWCOUNT;")
  127. cpp_quote("")
  128. cpp_quote("typedef ULONGLONG DBCOUNTITEM;")
  129. cpp_quote("")
  130. cpp_quote("// Ordinal (column number, etc.)")
  131. cpp_quote("typedef ULONGLONG DBORDINAL;")
  132. cpp_quote("")
  133. cpp_quote("typedef LONGLONG DB_LORDINAL;")
  134. cpp_quote("")
  135. cpp_quote("// Bookmarks")
  136. cpp_quote("typedef ULONGLONG DBBKMARK;")
  137. cpp_quote("// Offset in the buffer")
  138. cpp_quote("")
  139. cpp_quote("typedef ULONGLONG DBBYTEOFFSET;") 
  140. cpp_quote("// Reference count of each row/accessor  handle")
  141. cpp_quote("")
  142. cpp_quote("typedef ULONG DBREFCOUNT;")
  143. cpp_quote("")
  144. cpp_quote("// Parameters")
  145. cpp_quote("typedef ULONGLONG DB_UPARAMS;")
  146. cpp_quote("")
  147. cpp_quote("typedef LONGLONG DB_LPARAMS;")
  148. cpp_quote("")
  149. cpp_quote("// hash values corresponding to the elements (bookmarks)")
  150. cpp_quote("typedef DWORDLONG DBHASHVALUE;")
  151. cpp_quote("")
  152. cpp_quote("// For reserve")
  153. cpp_quote("typedef DWORDLONG DB_DWRESERVE;")
  154. cpp_quote("")
  155. cpp_quote("typedef LONGLONG DB_LRESERVE;")
  156. cpp_quote("")
  157. cpp_quote("typedef ULONGLONG DB_URESERVE;")
  158. cpp_quote("")
  159. cpp_quote("#else //_WIN64")
  160. cpp_quote("")
  161. cpp_quote("// Length of a non-character object, size")
  162. typedef ULONG DBLENGTH;
  163. cpp_quote("// Offset within a rowset")
  164. typedef LONG DBROWOFFSET;
  165. cpp_quote("// Number of rows")
  166. typedef LONG DBROWCOUNT;
  167. typedef ULONG DBCOUNTITEM;
  168. cpp_quote("// Ordinal (column number, etc.)")
  169. typedef ULONG DBORDINAL;
  170. typedef LONG DB_LORDINAL;
  171. cpp_quote("// Bookmarks")
  172. typedef ULONG DBBKMARK;
  173. cpp_quote("// Offset in the buffer")
  174. typedef ULONG DBBYTEOFFSET; 
  175. cpp_quote("// Reference count of each row handle")
  176. typedef ULONG DBREFCOUNT;
  177. cpp_quote("// Parameters")
  178. typedef ULONG DB_UPARAMS;
  179. typedef LONG DB_LPARAMS;
  180. cpp_quote("// hash values corresponding to the elements (bookmarks)")
  181. typedef DWORD DBHASHVALUE;
  182. cpp_quote("// For reserve")
  183. typedef DWORD DB_DWRESERVE;
  184. typedef LONG DB_LRESERVE;
  185. typedef ULONG DB_URESERVE;
  186. cpp_quote("#endif // _WIN64")
  187. #endif
  188. #include "dbs.idl"
  189. #include "access.idl"   // IAccessor                : IUnknown
  190. #include "rstbas.idl"   // IRowset                  : IUnknown
  191. #include "rstinf.idl"   // IRowsetInfo              : IUnknown
  192. #include "rstloc.idl"   // IRowsetLocate            : IRowset
  193. #include "rstres.idl"   // IRowsetResynch           : IRowset
  194. #include "rstscr.idl"   // IRowsetScroll            : IRowsetLocate
  195. // VERSION 1.5
  196. cpp_quote("//@@@+ V1.5")
  197. cpp_quote("#if( OLEDBVER >= 0x0150 )")
  198. #include "chprst.idl"   // IChapteredRowset         : IUnknown
  199. #include "rstfnd.idl"   // IRowsetFind              : IUnknown
  200. #include "rowpos.idl"   // IRowPosition             : IUnknown
  201. #include "rowpsc.idl"   // IRowPositionChange       : IUnknown
  202. #include "vwrst.idl"    // IViewRowset              : IUnknown
  203. #include "vwchp.idl"    // IViewChapter             : IUnknown
  204. #include "vwsrt.idl"    // IViewSort                : IUnknown
  205. #include "vwflt.idl"    // IViewFilter              : IUnknown
  206. #include "rstvw.idl"    // IRowsetView              : IUnknown
  207. cpp_quote("#endif // OLEDBVER >= 0x0150")
  208. cpp_quote("//@@@- V1.5")
  209. // deprecated
  210. cpp_quote("//@@@+ deprecated")
  211. cpp_quote("#ifdef deprecated")
  212. #include "rstxsc.idl"   // IRowsetExactScroll       : IRowsetScroll
  213. cpp_quote("#endif // deprecated")
  214. cpp_quote("//@@@- deprecated")
  215. #include "rstchg.idl"   // IRowsetChange            : IUnknown
  216. #include "rstupd.idl"   // IRowsetUpdate            : IRowsetChange
  217. #include "rstidn.idl"   // IRowsetIdentity          : IUnknown
  218. //#include "rstlkr.idl" // IRowsetLockRows          : IUnknown
  219. #include "rstnot.idl"   // IRowsetNotify            : IUnknown
  220. #include "rstind.idl"   // IRowsetIndex             : IUnknown
  221. #include "cmdbas.idl"   // ICommand                 : IUnknown
  222. #include "mulres.idl"   // IMultipleResults         : IUnknown
  223. #include "cvttyp.idl"   // IConvertType             : IUnknown
  224. #include "cmdpre.idl"   // ICommandPrepare          : IUnknown
  225. #include "cmdprp.idl"   // ICommandProperties       : IUnknown
  226. #include "cmdtxt.idl"   // ICommandText             : IUnknown
  227. #include "cmdwpr.idl"   // ICommandWithParameters   : IUnknown
  228. #include "colrst.idl"   // IColumnsRowset           : IUnknown
  229. #include "colinf.idl"   // IColumnsInfo             : IUnknown
  230. #include "dbccmd.idl"   // IDBCreateCommand         : IUnknown
  231. #include "dbcses.idl"   // IDBCreateSession         : IUnknown
  232. #include "srcrst.idl"   // ISourcesRowset           : IUnknown
  233. #include "dbprop.idl"   // IDBProperties            : IUnknown
  234. #include "dbinit.idl"   // IDBInitialize            : IUnknown
  235. #include "dbinfo.idl"   // IDBInfo                  : IUnknown
  236. #include "dbdsad.idl"   // IDBDataSourceAdmin       : IUnknown
  237. // VERSION 1.5
  238. cpp_quote("//@@@+ V1.5")
  239. cpp_quote("#if( OLEDBVER >= 0x0150 )")
  240. #include "asynot.idl"   // IDBAsynchNotify          : IUnknown
  241. #include "asysta.idl"   // IDBAsynchStatus          : IUnknown
  242. cpp_quote("#endif // OLEDBVER >= 0x0150")
  243. cpp_quote("//@@@- V1.5")
  244. #include "sesprp.idl"   // ISessionProperties       : IUnknown
  245. #include "inddef.idl"   // IIndexDefinition         : IUnknown
  246. #include "tabdef.idl"   // ITableDefinition         : IUnknown
  247. #include "opnrst.idl"   // IOpenRowset              : IUnknown
  248. #include "dbsrst.idl"   // IDBSchemaRowset          : IUnknown
  249. // VERSION 2.0
  250. cpp_quote("//@@@+ V2.0")
  251. cpp_quote("#if( OLEDBVER >= 0x0200 )")
  252. #include "mddset.idl"   // IMDDataset               : IUnknown
  253. #include "mdfind.idl"   // IMDFind                  : IUnknown
  254. #include "mdrrst.idl"   // IMDRangeRowset           : IUnknown
  255. #include "alttab.idl"   // IAlterTable              : IUnknown
  256. #include "altidx.idl"   // IAlterIndex              : IUnknown
  257. #include "rstchpmb.idl" // IRowsetChapterMember     : IChapeteredRowset
  258. #include "cmdprst.idl"  // ICommandPersist          : ICommand
  259. #include "rstrfres.idl" // IRowsetRefresh           : IUnknown
  260. #include "parrst.idl"   // IParentRowset            : IUnknown
  261. cpp_quote("#endif // OLEDBVER >= 0x0200")
  262. cpp_quote("//@@@- V2.0")
  263. #include "errrec.idl"   // IErrorRecords            : IUnknown
  264. #include "errlup.idl"   // IErrorLookup             : IUnknown
  265. #include "sqleri.idl"   // ISQLErrorInfo            : IUnknown
  266. #include "getdts.idl"   // IGetDataSource           : IUnknown
  267. // For ITransaction, ITransactionOptions
  268. import "transact.idl";
  269. #include "trnlcl.idl"   // ITransactionLocal        : ITransaction
  270. #include "trnjoi.idl"   // ITransactionJoin         : IUnknown
  271. #include "trnobj.idl"   // ITransactionObject       : IUnknown
  272. // For ITrusteeAdmin, ITrusteeMemberAdmin, IObjectAccessControl, ISecurityInfo
  273. // VERSION 2.1
  274. cpp_quote("//@@@+ V2.1")
  275. cpp_quote("#if( OLEDBVER >= 0x0210 )")
  276. cpp_quote("#ifndef UNDER_CE")
  277. #include "truadmin.idl" // ITrusteeAdmin : IUnknown
  278. #include "trugpadm.idl" // ITrusteeMemberAdmin : IUnknown
  279. #include "objactnl.idl" // IObjectAccessControl : IUnknown
  280. #include "seurinfo.idl" // ISecurityInfo : IUnknown
  281. cpp_quote("#endif // UNDER_CE")
  282. #include "tbdefcnt.idl" // ITableDefinitionWithConstraints : ITableCreation
  283. cpp_quote("#ifndef UNDER_CE")
  284. #include "row.idl" // IRow : IUnknown
  285. #include "rowchg.idl" // IRowChange : IUnknown
  286. #include "rwschg.idl" // IRowSchemaChange : IRowsetChange
  287. #include "getrow.idl" // IGetRow : IUnknown
  288. #include "scpops.idl" // IScopedOperations : IBindResource
  289. #include "binres.idl" // IBindResource : IUnknown
  290. #include "crtrow.idl" // ICreateRow : IUnknown
  291. #include "dbrtpr.idl" // IDBResetProperties : IUnknown
  292. #include "clinf2.idl" // IColumnsInfo2 : IColumnsInfo
  293. #include "regprv.idl" // IRegisterProvider : IUnknown
  294. cpp_quote("#endif // UNDER_CE")
  295. #include "getses.idl" // IGetSession : IUnknown
  296. #include "getsrw.idl" // IGetSourceRow : IUnknown
  297. #include "tblcrt.idl" // ITableCreation : ITableDefinition
  298. #include "rstcridx.idl" // IRowsetCurrentIndex : IRowsetIndex
  299. cpp_quote("#endif // OLEDBVER >= 0x0210")
  300. cpp_quote("//@@@- V2.1")
  301. // VERSION 2.6
  302. cpp_quote("//@@@+ V2.6")
  303. cpp_quote("#if( OLEDBVER >= 0x0260 )")
  304. #include "cmdstrm.idl"  // ICommandStream           : IUnknown
  305. #include "rstbmrk.idl"  // IRowsetBookmark          : IUnknown
  306. cpp_quote("#endif // OLEDBVER >= 0x0260")
  307. cpp_quote("//@@@- V2.6")
  308. cpp_quote("//")
  309. cpp_quote("// IID values")
  310. cpp_quote("//")
  311. cpp_quote("")
  312. cpp_quote("// IID_IAccessor                 = {0x0c733a8c,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  313. cpp_quote("// IID_IRowset                   = {0x0c733a7c,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  314. cpp_quote("// IID_IRowsetInfo               = {0x0c733a55,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  315. cpp_quote("// IID_IRowsetLocate             = {0x0c733a7d,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  316. cpp_quote("// IID_IRowsetResynch            = {0x0c733a84,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  317. cpp_quote("// IID_IRowsetScroll             = {0x0c733a7e,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  318. cpp_quote("// IID_IRowsetChange             = {0x0c733a05,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  319. cpp_quote("// IID_IRowsetUpdate             = {0x0c733a6d,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  320. cpp_quote("// IID_IRowsetIdentity           = {0x0c733a09,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  321. cpp_quote("// IID_IRowsetNotify             = {0x0c733a83,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  322. cpp_quote("// IID_IRowsetIndex              = {0x0c733a82,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  323. cpp_quote("// IID_ICommand                  = {0x0c733a63,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  324. cpp_quote("// IID_IMultipleResults          = {0x0c733a90,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  325. cpp_quote("// IID_IConvertType              = {0x0c733a88,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  326. cpp_quote("// IID_ICommandPrepare           = {0x0c733a26,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  327. cpp_quote("// IID_ICommandProperties        = {0x0c733a79,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  328. cpp_quote("// IID_ICommandText              = {0x0c733a27,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  329. cpp_quote("// IID_ICommandWithParameters    = {0x0c733a64,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  330. cpp_quote("// IID_IColumnsRowset            = {0x0c733a10,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  331. cpp_quote("// IID_IColumnsInfo              = {0x0c733a11,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  332. cpp_quote("// IID_IDBCreateCommand          = {0x0c733a1d,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  333. cpp_quote("// IID_IDBCreateSession          = {0x0c733a5d,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  334. cpp_quote("// IID_ISourcesRowset            = {0x0c733a1e,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  335. cpp_quote("// IID_IDBProperties             = {0x0c733a8a,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  336. cpp_quote("// IID_IDBInitialize             = {0x0c733a8b,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  337. cpp_quote("// IID_IDBInfo                   = {0x0c733a89,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  338. cpp_quote("// IID_IDBDataSourceAdmin        = {0x0c733a7a,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  339. cpp_quote("// IID_ISessionProperties        = {0x0c733a85,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  340. cpp_quote("// IID_IIndexDefinition          = {0x0c733a68,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  341. cpp_quote("// IID_ITableDefinition          = {0x0c733a86,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  342. cpp_quote("// IID_IOpenRowset               = {0x0c733a69,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  343. cpp_quote("// IID_IDBSchemaRowset           = {0x0c733a7b,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  344. cpp_quote("// IID_IErrorRecords             = {0x0c733a67,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  345. cpp_quote("// IID_IErrorLookup              = {0x0c733a66,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  346. cpp_quote("// IID_ISQLErrorInfo             = {0x0c733a74,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  347. cpp_quote("// IID_IGetDataSource            = {0x0c733a75,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  348. cpp_quote("// IID_ITransactionLocal         = {0x0c733a5f,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  349. cpp_quote("// IID_ITransactionJoin          = {0x0c733a5e,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  350. cpp_quote("// IID_ITransactionObject        = {0x0c733a60,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  351. // VERSION 1.5
  352. cpp_quote("//@@@+ V1.5")
  353. cpp_quote("#if( OLEDBVER >= 0x0150 )")
  354. cpp_quote("//IID_IChapteredRowset           = {0x0c733a93,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  355. cpp_quote("//IID_IDBAsynchNotify            = {0x0c733a96,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  356. cpp_quote("//IID_IDBAsynchStatus            = {0x0c733a95,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  357. cpp_quote("//IID_IRowsetFind                = {0x0c733a9d,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  358. cpp_quote("//IID_IRowPosition               = {0x0c733a94,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  359. cpp_quote("//IID_IRowPositionChange         = {0x0997a571,0x126e,0x11d0,{0x9f,0x8a,0x00,0xa0,0xc9,0xa0,0x63,0x1e}}")
  360. cpp_quote("//IID_IViewRowset                = {0x0c733a97,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  361. cpp_quote("//IID_IViewChapter               = {0x0c733a98,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  362. cpp_quote("//IID_IViewSort                  = {0x0c733a9a,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  363. cpp_quote("//IID_IViewFilter                = {0x0c733a9b,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  364. cpp_quote("//IID_IRowsetView                = {0x0c733a99,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  365. cpp_quote("#endif // OLEDBVER >= 0x0150")
  366. cpp_quote("//@@@- V1.5")
  367. // VERSION 2.0
  368. cpp_quote("//@@@+ V2.0")
  369. cpp_quote("#if( OLEDBVER >= 0x0200 )")
  370. cpp_quote("// IID_IMDDataset                = {0xa07cccd1,0x8148,0x11d0,{0x87,0xbb,0x00,0xc0,0x4f,0xc3,0x39,0x42}}")
  371. cpp_quote("// IID_IMDFind                   = {0xa07cccd2,0x8148,0x11d0,{0x87,0xbb,0x00,0xc0,0x4f,0xc3,0x39,0x42}}")
  372. cpp_quote("// IID_IMDRangeRowset            = {0x0c733aa0,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  373. cpp_quote("// IID_IAlterTable               = {0x0c733aa5,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  374. cpp_quote("// IID_IAlterIndex               = {0x0c733aa6,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  375. cpp_quote("// IID_ICommandPersist           = {0x0c733aa7,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  376. cpp_quote("// IID_IRowsetChapterMember      = {0x0c733aa8,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  377. cpp_quote("// IID_IRowsetRefresh            = {0x0c733aa9,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  378. cpp_quote("// IID_IParentRowset             = {0x0c733aaa,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  379. cpp_quote("#endif // OLEDBVER >= 0x0200")   
  380. cpp_quote("//@@@- V2.0")
  381. cpp_quote("//@@@+ V2.1")
  382. cpp_quote("#if( OLEDBVER >= 0x0210 )")
  383. cpp_quote("// IID_ITrusteeAdmin = {0c733aa1,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  384. cpp_quote("// IID_ITrusteeGroupAdmin = {0c733aa2,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  385. cpp_quote("// IID_IObjectAccessControl = {0c733aa3,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  386. cpp_quote("// IID_ISecurityInfo = {0c733aa4,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  387. cpp_quote("// IID_IRow = {0c733ab4,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  388. cpp_quote("// IID_IRowChange = {0c733ab5,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  389. cpp_quote("// IID_IRowSchemaChange = {0c733aae,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  390. cpp_quote("// IID_IGetRow = {0c733aaf,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  391. cpp_quote("// IID_IScopedOperations = {0c733ab0,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  392. cpp_quote("// IID_IBindResource = {0c733ab1,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  393. cpp_quote("// IID_ICreateRow = {0c733ab2,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  394. cpp_quote("// IID_IDBResetProperties = {0c733ab3,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  395. cpp_quote("// IID_IColumnsInfo2 = {0c733ab8,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  396. cpp_quote("// IID_IRegisterProvider  = {0c733ab9,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  397. cpp_quote("// IID_IGetSession   = {0c733aba,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  398. cpp_quote("// IID_IGetSourceRow   = {0c733abb,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  399. cpp_quote("// IID_ITableCreation   = {0c733abc,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  400. cpp_quote("// IID_IRowsetCurrentIndex  = {0c733abd,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  401. cpp_quote("#endif // OLEDBVER >= 0x0210")
  402. cpp_quote("//@@@- V2.1")
  403. cpp_quote("//@@@+ V2.6")
  404. cpp_quote("#if( OLEDBVER >= 0x0260 )")
  405. cpp_quote("// IID_ICommandStream  = {0x0c733ac0,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  406. cpp_quote("// IID_IRowsetBookmark  = {0x0c733ac2,0x2a1c,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}}")
  407. cpp_quote("#endif // OLEDBVER >= 0x0260")
  408. cpp_quote("//@@@- V2.6")
  409. cpp_quote("#include <poppack.h>     // restore original structure packing")