home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / sqloleid.h < prev    next >
C/C++ Source or Header  |  2000-02-01  |  24KB  |  417 lines

  1. #ifndef SQLOLEID_H_
  2. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  3. #define SQLOLEID_H_
  4. /////////////////////////////////////////////////////////////////////////////////////////
  5. // Header file for SQLOLE Component Object classes and interfaces.
  6. // Copyright 1994 Microsoft Corporation.
  7. /////////////////////////////////////////////////////////////////////////////////////////
  8.  
  9. /////////////////////////////////////////////////////////////////////////////////
  10. //    SQLOLE Library UUID
  11. /////////////////////////////////////////////////////////////////////////////////
  12. DEFINE_OLEGUID(LIBID_SQLOLELibrary, 0x00026b00, 0, 0);
  13.  
  14. /////////////////////////////////////////////////////////////////////////////////
  15. // VB/VBA Interfaces (IID_IV*).  These support IDispatch and vtable binding.
  16. /////////////////////////////////////////////////////////////////////////////////
  17.  
  18. /////////////////////////////////////////////////////////////////////////////////
  19. // Internal base interfaces.
  20. /////////////////////////////////////////////////////////////////////////////////
  21. DEFINE_OLEGUID(IID_IVSQLOLEStdObject, 0x00026b01, 0, 0);
  22. DEFINE_OLEGUID(IID_IVSQLOLEStdCollection, 0x00026b02, 0, 0);
  23. DEFINE_OLEGUID(IID_ISQLOLEAnsiUniInternal, 0x00026b03, 0, 0);
  24. DEFINE_OLEGUID(IID_ISQLOLEPrivate, 0x00026b04, 0, 0);
  25.  
  26. /////////////////////////////////////////////////////////////////////////////////
  27. // Automation generic-property interfaces
  28. /////////////////////////////////////////////////////////////////////////////////
  29. DEFINE_OLEGUID(IID_IVSQLOLEProperties, 0x00026b05, 0, 0);
  30. DEFINE_OLEGUID(IID_IVSQLOLEProperty, 0x00026b06, 0, 0);
  31.  
  32. /////////////////////////////////////////////////////////////////////////////////
  33. // Create our own GUID template (OLEPM doesn't maintain the list anymore)
  34. // The hardcoded numbers are from uuidgen, a unique time and netcard combination.
  35. // As versions of SQLOLE increase, most DEFINE_OLDGUID macros below will be
  36. // replaced by DEFINE_SQLOLEGUID, as the IID's are revved when new members are
  37. // added to the interface (the old GUIDs will still be recognized for binary
  38. // compatibility, but newly-compiled apps will use the new ones).
  39. /////////////////////////////////////////////////////////////////////////////////
  40. #define DEFINE_SQLOLEGUID(name, l) \
  41.       DEFINE_GUID(name, l, 0x0bcc, 0x11ce, 0xa4, 0xb3, 0x00, 0xaa, 0x00, 0x4a, 0x34, 0xd5)
  42.  
  43. /////////////////////////////////////////////////////////////////////////////////
  44. //    SQLOLE NonCreatable-Object Interface UUIDs.  These consist of all objects
  45. // which do not have a class factory, such as collections and other objects
  46. // the user acquires as the result of a property call.  VBA binds to these
  47. // for simple pointer declarations.
  48. /////////////////////////////////////////////////////////////////////////////////
  49.  
  50. // Collections of Creatable objects.  All Creatable objects (those which have a
  51. // Class Factory), except the Application Object, exist in collections.
  52. DEFINE_OLEGUID(IID_IVSQLOLEServers, 0x00026b11, 0, 0);
  53. DEFINE_OLEGUID(IID_IVSQLOLEDatabases, 0x00026b12, 0, 0);
  54. DEFINE_OLEGUID(IID_IVSQLOLETables, 0x00026b13, 0, 0);
  55. DEFINE_OLEGUID(IID_IVSQLOLEColumns, 0x00026b14, 0, 0);
  56. DEFINE_OLEGUID(IID_IVSQLOLEViews, 0x00026b15, 0, 0);
  57. DEFINE_OLEGUID(IID_IVSQLOLEUserDefinedDatatypes, 0x00026b16, 0, 0);
  58. DEFINE_OLEGUID(IID_IVSQLOLEDefaults, 0x00026b17, 0, 0);
  59. DEFINE_OLEGUID(IID_IVSQLOLERules, 0x00026b18, 0, 0);
  60. DEFINE_OLEGUID(IID_IVSQLOLEUsers, 0x00026b19, 0, 0);
  61. DEFINE_OLEGUID(IID_IVSQLOLEGroups, 0x00026b1a, 0, 0);
  62. DEFINE_OLEGUID(IID_IVSQLOLEStoredProcedures, 0x00026b1b, 0, 0);
  63. DEFINE_OLEGUID(IID_IVSQLOLEIndexes, 0x00026b1c, 0, 0);
  64. DEFINE_OLEGUID(IID_IVSQLOLEKeys, 0x00026b1d, 0, 0);
  65. DEFINE_OLEGUID(IID_IVSQLOLETriggers, 0x00026b1e, 0, 0);
  66. DEFINE_OLEGUID(IID_IVSQLOLEDevices, 0x00026b1f, 0, 0);
  67. DEFINE_OLEGUID(IID_IVSQLOLEAlerts, 0x00026b20, 0, 0);
  68. DEFINE_OLEGUID(IID_IVSQLOLELogins, 0x00026b21, 0, 0);
  69. DEFINE_OLEGUID(IID_IVSQLOLELanguages, 0x00026b22, 0, 0);
  70. DEFINE_OLEGUID(IID_IVSQLOLERemoteServers, 0x00026b23, 0, 0);
  71. DEFINE_OLEGUID(IID_IVSQLOLERemoteLogins, 0x00026b24, 0, 0);
  72. DEFINE_OLEGUID(IID_IVSQLOLETasks, 0x00026b25, 0, 0);
  73. // Not used; slot preserved for numerical sequencing.  DEFINE_OLEGUID(IID_IVSQLOLETransfers, 0x00026b26, 0, 0);
  74. // Not used; slot preserved for numerical sequencing.  DEFINE_OLEGUID(IID_IVSQLOLEBackups, 0x00026b27, 0, 0);
  75. // Not used; slot preserved for numerical sequencing.  DEFINE_OLEGUID(IID_IVSQLOLEHistoryFilters, 0x00026b28, 0, 0);
  76. DEFINE_OLEGUID(IID_IVSQLOLEOperators, 0x00026b29, 0, 0);
  77. DEFINE_OLEGUID(IID_IVSQLOLEPublications, 0x00026b2a, 0, 0);
  78. DEFINE_OLEGUID(IID_IVSQLOLEArticles, 0x00026b2b, 0, 0);
  79. DEFINE_OLEGUID(IID_IVSQLOLESubscriptions, 0x00026b2c, 0, 0);
  80. DEFINE_OLEGUID(IID_IVSQLOLEChecks, 0x00026b2d, 0, 0);
  81. DEFINE_OLEGUID(IID_IVSQLOLEServerGroups, 0x00026b2e, 0, 0);
  82. DEFINE_OLEGUID(IID_IVSQLOLERegisteredServers, 0x00026b2f, 0, 0);
  83. // Not used; slot preserved for numerical sequencing.  DEFINE_OLEGUID(IID_IVSQLOLEBulkCopys, 0x00027b30, 0, 0);
  84.  
  85. // Non-Creatable objects, and collections thereof.
  86. DEFINE_OLEGUID(IID_IVSQLOLENames, 0x00026b40, 0, 0);
  87. DEFINE_OLEGUID(IID_IVSQLOLEDBObject, 0x00026b41, 0, 0);
  88. DEFINE_OLEGUID(IID_IVSQLOLEDBOption, 0x00026b42, 0, 0);
  89. DEFINE_OLEGUID(IID_IVSQLOLEConfiguration, 0x00026b43, 0, 0);
  90. DEFINE_OLEGUID(IID_IVSQLOLEConfigValue, 0x00026b44, 0, 0);
  91. DEFINE_SQLOLEGUID(IID_IVSQLOLESubscriberInfo, 0x00027b45);
  92. DEFINE_OLEGUID(IID_IVSQLOLENameList, 0x00026b46, 0, 0);
  93. DEFINE_SQLOLEGUID(IID_IVSQLOLEExecutive, 0x00027b47);
  94. DEFINE_SQLOLEGUID(IID_IVSQLOLEQueryResults, 0x00027b48);
  95. DEFINE_OLEGUID(IID_IVSQLOLETransactionLog, 0x00026b49, 0, 0);
  96. DEFINE_OLEGUID(IID_IVSQLOLERegistry, 0x00026b4a, 0, 0);
  97. DEFINE_OLEGUID(IID_IVSQLOLESystemDatatypes, 0x00026b4b, 0, 0);
  98. DEFINE_OLEGUID(IID_IVSQLOLESystemDatatype, 0x00026b4c, 0, 0);
  99. DEFINE_OLEGUID(IID_IVSQLOLEObjectList, 0x00026b4d, 0, 0);
  100. DEFINE_OLEGUID(IID_IVSQLOLEPermission, 0x00026b4e, 0, 0);
  101. DEFINE_OLEGUID(IID_IVSQLOLEIntegratedSecurity, 0x00026b4f, 0, 0);
  102. DEFINE_OLEGUID(IID_IVSQLOLEDRIDefault, 0x00026b50, 0, 0);
  103. DEFINE_OLEGUID(IID_IVSQLOLEConfigValues, 0x00026b51, 0, 0);
  104. DEFINE_OLEGUID(IID_IVSQLOLEAlertSystem, 0x00026b52, 0, 0);
  105.  
  106. /////////////////////////////////////////////////////////////////////////////////
  107. // SQLOLE Creatable-Object Interface UUIDs.  Class names in .odl/.hdl file are
  108. // underscore-prefixed.  CoCreateInstance for these objects must use the corresponding
  109. // CoClass uuid (CLSID_SQLOLE*) defined below.  These iids are solely to keep mktyplib happy.
  110. // VBA binds to these interfaces indirectly, via the CoClass.
  111. /////////////////////////////////////////////////////////////////////////////////
  112. DEFINE_SQLOLEGUID(IID_IVSQLOLEApplication, 0x00027b70);
  113.  
  114. DEFINE_SQLOLEGUID(IID_IVSQLOLEServer, 0x00027b71);
  115. DEFINE_SQLOLEGUID(IID_IVSQLOLEDatabase, 0x00027b72);
  116. DEFINE_SQLOLEGUID(IID_IVSQLOLETable, 0x00027b73);
  117. DEFINE_OLEGUID(IID_IVSQLOLEColumn, 0x00026b74, 0, 0);
  118. DEFINE_SQLOLEGUID(IID_IVSQLOLEView, 0x00027b75);
  119. DEFINE_OLEGUID(IID_IVSQLOLEUserDefinedDatatype, 0x00026b76, 0, 0);
  120. DEFINE_OLEGUID(IID_IVSQLOLEDefault, 0x00026b77, 0, 0);
  121. DEFINE_OLEGUID(IID_IVSQLOLERule, 0x00026b78, 0, 0);
  122. DEFINE_OLEGUID(IID_IVSQLOLEUser, 0x00026b79, 0, 0);
  123. DEFINE_OLEGUID(IID_IVSQLOLEGroup, 0x00026b7a, 0, 0);
  124. DEFINE_SQLOLEGUID(IID_IVSQLOLEStoredProcedure, 0x00027b7b);
  125. DEFINE_SQLOLEGUID(IID_IVSQLOLEIndex, 0x00027b7c);
  126. DEFINE_SQLOLEGUID(IID_IVSQLOLEKey, 0x00027b7d);
  127. DEFINE_OLEGUID(IID_IVSQLOLETrigger, 0x00026b7e, 0, 0);
  128. DEFINE_SQLOLEGUID(IID_IVSQLOLEDevice, 0x00027b7f);
  129. DEFINE_SQLOLEGUID(IID_IVSQLOLEAlert, 0x00027b80);
  130. DEFINE_SQLOLEGUID(IID_IVSQLOLELogin, 0x00027b81);
  131. DEFINE_OLEGUID(IID_IVSQLOLELanguage, 0x00026b82, 0, 0);
  132. DEFINE_SQLOLEGUID(IID_IVSQLOLERemoteServer, 0x00027b83);
  133. DEFINE_OLEGUID(IID_IVSQLOLERemoteLogin, 0x00026b84, 0, 0);
  134. DEFINE_SQLOLEGUID(IID_IVSQLOLETask, 0x00027b85);
  135. DEFINE_OLEGUID(IID_IVSQLOLETransfer, 0x00026b86, 0, 0);
  136. DEFINE_SQLOLEGUID(IID_IVSQLOLEBackup, 0x00027b87);
  137. DEFINE_OLEGUID(IID_IVSQLOLEHistoryFilter, 0x00026b88, 0, 0);
  138. DEFINE_OLEGUID(IID_IVSQLOLEOperator, 0x00026b89, 0, 0);
  139. DEFINE_SQLOLEGUID(IID_IVSQLOLEPublication, 0x00027b8a);
  140. DEFINE_SQLOLEGUID(IID_IVSQLOLEArticle, 0x00027b8b);
  141. DEFINE_OLEGUID(IID_IVSQLOLESubscription, 0x00026b8c, 0, 0);
  142. DEFINE_OLEGUID(IID_IVSQLOLECheck, 0x00026b8d, 0, 0);
  143. DEFINE_OLEGUID(IID_IVSQLOLEServerGroup, 0x00026b8e, 0, 0);
  144. DEFINE_OLEGUID(IID_IVSQLOLERegisteredServer, 0x00026b8f, 0, 0);
  145. DEFINE_SQLOLEGUID(IID_IVSQLOLEBulkCopy, 0x00027b90);
  146.  
  147. /////////////////////////////////////////////////////////////////////////////////
  148. //    SQLOLE Creatable-Object ClassFactory Interface UUIDs (must be in Registry).
  149. /////////////////////////////////////////////////////////////////////////////////
  150. DEFINE_OLEGUID(CLSID_SQLOLEApplication, 0x00026ba0, 0, 0);
  151. DEFINE_OLEGUID(CLSID_SQLOLEServer, 0x00026ba1, 0, 0);
  152. DEFINE_OLEGUID(CLSID_SQLOLEDatabase, 0x00026ba2, 0, 0);
  153. DEFINE_OLEGUID(CLSID_SQLOLETable, 0x00026ba3, 0, 0);
  154. DEFINE_OLEGUID(CLSID_SQLOLEColumn, 0x00026ba4, 0, 0);
  155. DEFINE_OLEGUID(CLSID_SQLOLEView, 0x00026ba5, 0, 0);
  156. DEFINE_OLEGUID(CLSID_SQLOLEUserDefinedDatatype, 0x00026ba6, 0, 0);
  157. DEFINE_OLEGUID(CLSID_SQLOLEDefault, 0x00026ba7, 0, 0);
  158. DEFINE_OLEGUID(CLSID_SQLOLERule, 0x00026ba8, 0, 0);
  159. DEFINE_OLEGUID(CLSID_SQLOLEUser, 0x00026ba9, 0, 0);
  160. DEFINE_OLEGUID(CLSID_SQLOLEGroup, 0x00026baa, 0, 0);
  161. DEFINE_OLEGUID(CLSID_SQLOLEStoredProcedure, 0x00026bab, 0, 0);
  162. DEFINE_OLEGUID(CLSID_SQLOLEIndex, 0x00026bac, 0, 0);
  163. DEFINE_OLEGUID(CLSID_SQLOLEKey, 0x00026bad, 0, 0);
  164. DEFINE_OLEGUID(CLSID_SQLOLETrigger, 0x00026bae, 0, 0);
  165. DEFINE_OLEGUID(CLSID_SQLOLEDevice, 0x00026baf, 0, 0);
  166. DEFINE_OLEGUID(CLSID_SQLOLEAlert, 0x00026bb0, 0, 0);
  167. DEFINE_OLEGUID(CLSID_SQLOLELogin, 0x00026bb1, 0, 0);
  168. DEFINE_OLEGUID(CLSID_SQLOLELanguage, 0x00026bb2, 0, 0);
  169. DEFINE_OLEGUID(CLSID_SQLOLERemoteServer, 0x00026bb3, 0, 0);
  170. DEFINE_OLEGUID(CLSID_SQLOLERemoteLogin, 0x00026bb4, 0, 0);
  171. DEFINE_OLEGUID(CLSID_SQLOLETask, 0x00026bb5, 0, 0);
  172. DEFINE_OLEGUID(CLSID_SQLOLETransfer, 0x00026bb6, 0, 0);
  173. DEFINE_OLEGUID(CLSID_SQLOLEBackup, 0x00026bb7, 0, 0);
  174. DEFINE_OLEGUID(CLSID_SQLOLEHistoryFilter, 0x00026bb8, 0, 0);
  175. DEFINE_OLEGUID(CLSID_SQLOLEOperator, 0x00026bb9, 0, 0);
  176. DEFINE_OLEGUID(CLSID_SQLOLEPublication, 0x00026bba, 0, 0);
  177. DEFINE_OLEGUID(CLSID_SQLOLEArticle, 0x00026bbb, 0, 0);
  178. DEFINE_OLEGUID(CLSID_SQLOLESubscription, 0x00026bbc, 0, 0);
  179. DEFINE_OLEGUID(CLSID_SQLOLECheck, 0x00026bbd, 0, 0);
  180. DEFINE_OLEGUID(CLSID_SQLOLEServerGroup, 0x00026bbe, 0, 0);
  181. DEFINE_OLEGUID(CLSID_SQLOLERegisteredServer, 0x00026bbf, 0, 0);
  182. DEFINE_OLEGUID(CLSID_SQLOLEBulkCopy, 0x00026bc0, 0, 0);
  183.  
  184. /////////////////////////////////////////////////////////////////////////////////
  185. // Ansi C/C++ Interfaces (IID_IA*)
  186. /////////////////////////////////////////////////////////////////////////////////
  187.  
  188. /////////////////////////////////////////////////////////////////////////////////
  189. // Internal base interfaces.
  190. /////////////////////////////////////////////////////////////////////////////////
  191. DEFINE_OLEGUID(IID_ISQLOLEInternal, 0x00026c00, 0, 0);
  192. DEFINE_OLEGUID(IID_IASQLOLEStdObject, 0x00026c01, 0, 0);
  193. DEFINE_OLEGUID(IID_IASQLOLEStdCollection, 0x00026c02, 0, 0);
  194.  
  195. /////////////////////////////////////////////////////////////////////////////////
  196. //    These IIDs are used by Ansi C/C++ clients.  Their sequence is identical to that
  197. // defined above for all IID_ interfaces (not CoClass CLSIDs).  C/C++ clients
  198. // bind to these rather than the VBA forms above.
  199. /////////////////////////////////////////////////////////////////////////////////
  200. // Collections of Creatable objects.  All Creatable objects (those which have a
  201. // Class Factory), except the Application Object, exist in collections.
  202. DEFINE_OLEGUID(IID_IASQLOLEServers, 0x00026c11, 0, 0);
  203. DEFINE_OLEGUID(IID_IASQLOLEDatabases, 0x00026c12, 0, 0);
  204. DEFINE_OLEGUID(IID_IASQLOLETables, 0x00026c13, 0, 0);
  205. DEFINE_OLEGUID(IID_IASQLOLEColumns, 0x00026c14, 0, 0);
  206. DEFINE_OLEGUID(IID_IASQLOLEViews, 0x00026c15, 0, 0);
  207. DEFINE_OLEGUID(IID_IASQLOLEUserDefinedDatatypes, 0x00026c16, 0, 0);
  208. DEFINE_OLEGUID(IID_IASQLOLEDefaults, 0x00026c17, 0, 0);
  209. DEFINE_OLEGUID(IID_IASQLOLERules, 0x00026c18, 0, 0);
  210. DEFINE_OLEGUID(IID_IASQLOLEUsers, 0x00026c19, 0, 0);
  211. DEFINE_OLEGUID(IID_IASQLOLEGroups, 0x00026c1a, 0, 0);
  212. DEFINE_OLEGUID(IID_IASQLOLEStoredProcedures, 0x00026c1b, 0, 0);
  213. DEFINE_OLEGUID(IID_IASQLOLEIndexes, 0x00026c1c, 0, 0);
  214. DEFINE_OLEGUID(IID_IASQLOLEKeys, 0x00026c1d, 0, 0);
  215. DEFINE_OLEGUID(IID_IASQLOLETriggers, 0x00026c1e, 0, 0);
  216. DEFINE_OLEGUID(IID_IASQLOLEDevices, 0x00026c1f, 0, 0);
  217. DEFINE_OLEGUID(IID_IASQLOLEAlerts, 0x00026c20, 0, 0);
  218. DEFINE_OLEGUID(IID_IASQLOLELogins, 0x00026c21, 0, 0);
  219. DEFINE_OLEGUID(IID_IASQLOLELanguages, 0x00026c22, 0, 0);
  220. DEFINE_OLEGUID(IID_IASQLOLERemoteServers, 0x00026c23, 0, 0);
  221. DEFINE_OLEGUID(IID_IASQLOLERemoteLogins, 0x00026c24, 0, 0);
  222. DEFINE_OLEGUID(IID_IASQLOLETasks, 0x00026c25, 0, 0);
  223. // Not used; slot preserved for numerical sequencing.  DEFINE_OLEGUID(IID_IASQLOLETransfers, 0x00026c26, 0, 0);
  224. // Not used; slot preserved for numerical sequencing.  DEFINE_OLEGUID(IID_IASQLOLEBackups, 0x00026c27, 0, 0);
  225. // Not used; slot preserved for numerical sequencing.  DEFINE_OLEGUID(IID_IASQLOLEHistoryFilters, 0x00026c28, 0, 0);
  226. DEFINE_OLEGUID(IID_IASQLOLEOperators, 0x00026c29, 0, 0);
  227. DEFINE_OLEGUID(IID_IASQLOLEPublications, 0x00026c2a, 0, 0);
  228. DEFINE_OLEGUID(IID_IASQLOLEArticles, 0x00026c2b, 0, 0);
  229. DEFINE_OLEGUID(IID_IASQLOLESubscriptions, 0x00026c2c, 0, 0);
  230. DEFINE_OLEGUID(IID_IASQLOLEChecks, 0x00026c2d, 0, 0);
  231. DEFINE_OLEGUID(IID_IASQLOLEServerGroups, 0x00026c2e, 0, 0);
  232. DEFINE_OLEGUID(IID_IASQLOLERegisteredServers, 0x00026c2f, 0, 0);
  233. // Not used; slot preserved for numerical sequencing.  DEFINE_OLEGUID(IID_IASQLOLEBulkCopys, 0x00026c30, 0, 0);
  234.  
  235. // Non-Creatable objects, and collections thereof.
  236. DEFINE_OLEGUID(IID_IASQLOLENames, 0x00026c40, 0, 0);
  237. DEFINE_OLEGUID(IID_IASQLOLEDBObject, 0x00026c41, 0, 0);
  238. DEFINE_OLEGUID(IID_IASQLOLEDBOption, 0x00026c42, 0, 0);
  239. DEFINE_OLEGUID(IID_IASQLOLEConfiguration, 0x00026c43, 0, 0);
  240. DEFINE_OLEGUID(IID_IASQLOLEConfigValue, 0x00026c44, 0, 0);
  241. DEFINE_SQLOLEGUID(IID_IASQLOLESubscriberInfo, 0x00027c45);
  242. DEFINE_OLEGUID(IID_IASQLOLENameList, 0x00026c46, 0, 0);
  243. DEFINE_SQLOLEGUID(IID_IASQLOLEExecutive, 0x00027c47);
  244. DEFINE_SQLOLEGUID(IID_IASQLOLEQueryResults, 0x00027c48);
  245. DEFINE_OLEGUID(IID_IASQLOLETransactionLog, 0x00026c49, 0, 0);
  246. DEFINE_OLEGUID(IID_IASQLOLERegistry, 0x00026c4a, 0, 0);
  247. DEFINE_OLEGUID(IID_IASQLOLESystemDatatypes, 0x00026c4b, 0, 0);
  248. DEFINE_OLEGUID(IID_IASQLOLESystemDatatype, 0x00026c4c, 0, 0);
  249. DEFINE_OLEGUID(IID_IASQLOLEObjectList, 0x00026c4d, 0, 0);
  250. DEFINE_OLEGUID(IID_IASQLOLEPermission, 0x00026c4e, 0, 0);
  251. DEFINE_OLEGUID(IID_IASQLOLEIntegratedSecurity, 0x00026c4f, 0, 0);
  252. DEFINE_OLEGUID(IID_IASQLOLEDRIDefault, 0x00026c50, 0, 0);
  253. DEFINE_OLEGUID(IID_IASQLOLEConfigValues, 0x00026c51, 0, 0);
  254. DEFINE_OLEGUID(IID_IASQLOLEAlertSystem, 0x00026c52, 0, 0);
  255.  
  256. //    Creatable objects.
  257. DEFINE_SQLOLEGUID(IID_IASQLOLEApplication, 0x00027c70);
  258.  
  259. DEFINE_SQLOLEGUID(IID_IASQLOLEServer, 0x00027c71);
  260. DEFINE_SQLOLEGUID(IID_IASQLOLEDatabase, 0x00027c72);
  261. DEFINE_SQLOLEGUID(IID_IASQLOLETable, 0x00027c73);
  262. DEFINE_OLEGUID(IID_IASQLOLEColumn, 0x00026c74, 0, 0);
  263. DEFINE_SQLOLEGUID(IID_IASQLOLEView, 0x00027c75);
  264. DEFINE_OLEGUID(IID_IASQLOLEUserDefinedDatatype, 0x00026c76, 0, 0);
  265. DEFINE_OLEGUID(IID_IASQLOLEDefault, 0x00026c77, 0, 0);
  266. DEFINE_OLEGUID(IID_IASQLOLERule, 0x00026c78, 0, 0);
  267. DEFINE_OLEGUID(IID_IASQLOLEUser, 0x00026c79, 0, 0);
  268. DEFINE_OLEGUID(IID_IASQLOLEGroup, 0x00026c7a, 0, 0);
  269. DEFINE_SQLOLEGUID(IID_IASQLOLEStoredProcedure, 0x00027c7b);
  270. DEFINE_SQLOLEGUID(IID_IASQLOLEIndex, 0x00027c7c);
  271. DEFINE_SQLOLEGUID(IID_IASQLOLEKey, 0x00027c7d);
  272. DEFINE_OLEGUID(IID_IASQLOLETrigger, 0x00026c7e, 0, 0);
  273. DEFINE_SQLOLEGUID(IID_IASQLOLEDevice, 0x00027c7f);
  274. DEFINE_SQLOLEGUID(IID_IASQLOLEAlert, 0x00027c80);
  275. DEFINE_SQLOLEGUID(IID_IASQLOLELogin, 0x00027c81);
  276. DEFINE_OLEGUID(IID_IASQLOLELanguage, 0x00026c82, 0, 0);
  277. DEFINE_SQLOLEGUID(IID_IASQLOLERemoteServer, 0x00027c83);
  278. DEFINE_OLEGUID(IID_IASQLOLERemoteLogin, 0x00026c84, 0, 0);
  279. DEFINE_SQLOLEGUID(IID_IASQLOLETask, 0x00027c85);
  280. DEFINE_OLEGUID(IID_IASQLOLETransfer, 0x00026c86, 0, 0);
  281. DEFINE_SQLOLEGUID(IID_IASQLOLEBackup, 0x00027c87);
  282. DEFINE_OLEGUID(IID_IASQLOLEHistoryFilter, 0x00026c88, 0, 0);
  283. DEFINE_OLEGUID(IID_IASQLOLEOperator, 0x00026c89, 0, 0);
  284. DEFINE_SQLOLEGUID(IID_IASQLOLEPublication, 0x00027c8a);
  285. DEFINE_SQLOLEGUID(IID_IASQLOLEArticle, 0x00027c8b);
  286. DEFINE_OLEGUID(IID_IASQLOLESubscription, 0x00026c8c, 0, 0);
  287. DEFINE_OLEGUID(IID_IASQLOLECheck, 0x00026c8d, 0, 0);
  288. DEFINE_OLEGUID(IID_IASQLOLEServerGroup, 0x00026c8e, 0, 0);
  289. DEFINE_OLEGUID(IID_IASQLOLERegisteredServer, 0x00026c8f, 0, 0);
  290. DEFINE_SQLOLEGUID(IID_IASQLOLEBulkCopy, 0x00027c90);
  291.  
  292.  
  293. /////////////////////////////////////////////////////////////////////////////////
  294. // Wide (Unicode) C/C++ Interfaces (IID_IW*)
  295. /////////////////////////////////////////////////////////////////////////////////
  296.  
  297. /////////////////////////////////////////////////////////////////////////////////
  298. // Internal base interfaces.
  299. /////////////////////////////////////////////////////////////////////////////////
  300. DEFINE_OLEGUID(IID_IWSQLOLEStdObject, 0x00026d00, 0, 0);
  301.  
  302. /////////////////////////////////////////////////////////////////////////////////
  303. // Collections of Creatable objects.  All Creatable objects (those which have a
  304. // Class Factory), except the Application Object, exist in collections.
  305. /////////////////////////////////////////////////////////////////////////////////
  306.  
  307. DEFINE_SQLOLEGUID(IID_IWSQLOLEServers, 0x00026d11);
  308. DEFINE_SQLOLEGUID(IID_IWSQLOLEDatabases, 0x00026d12);
  309. DEFINE_SQLOLEGUID(IID_IWSQLOLETables, 0x00026d13);
  310. DEFINE_SQLOLEGUID(IID_IWSQLOLEColumns, 0x00026d14);
  311. DEFINE_SQLOLEGUID(IID_IWSQLOLEViews, 0x00026d15);
  312. DEFINE_SQLOLEGUID(IID_IWSQLOLEUserDefinedDatatypes, 0x00026d16);
  313. DEFINE_SQLOLEGUID(IID_IWSQLOLEDefaults, 0x00026d17);
  314. DEFINE_SQLOLEGUID(IID_IWSQLOLERules, 0x00026d18);
  315. DEFINE_SQLOLEGUID(IID_IWSQLOLEUsers, 0x00026d19);
  316. DEFINE_SQLOLEGUID(IID_IWSQLOLEGroups, 0x00026d1a);
  317. DEFINE_SQLOLEGUID(IID_IWSQLOLEStoredProcedures, 0x00026d1b);
  318. DEFINE_SQLOLEGUID(IID_IWSQLOLEIndexes, 0x00026d1c);
  319. DEFINE_SQLOLEGUID(IID_IWSQLOLEKeys, 0x00026d1d);
  320. DEFINE_SQLOLEGUID(IID_IWSQLOLETriggers, 0x00026d1e);
  321. DEFINE_SQLOLEGUID(IID_IWSQLOLEDevices, 0x00026d1f);
  322. DEFINE_SQLOLEGUID(IID_IWSQLOLEAlerts, 0x00026d20);
  323. DEFINE_SQLOLEGUID(IID_IWSQLOLELogins, 0x00026d21);
  324. DEFINE_SQLOLEGUID(IID_IWSQLOLELanguages, 0x00026d22);
  325. DEFINE_SQLOLEGUID(IID_IWSQLOLERemoteServers, 0x00026d23);
  326. DEFINE_SQLOLEGUID(IID_IWSQLOLERemoteLogins, 0x00026d24);
  327. DEFINE_SQLOLEGUID(IID_IWSQLOLETasks, 0x00026d25);
  328. // Not used; slot preserved for numerical sequencing.  DEFINE_SQLOLEGUID(IID_IWSQLOLETransfers, 0x00026d26);
  329. // Not used; slot preserved for numerical sequencing.  DEFINE_SQLOLEGUID(IID_IWSQLOLEBackups, 0x00026d27);
  330. // Not used; slot preserved for numerical sequencing.  DEFINE_SQLOLEGUID(IID_IWSQLOLEHistoryFilters, 0x00026d28);
  331. DEFINE_SQLOLEGUID(IID_IWSQLOLEOperators, 0x00026d29);
  332. DEFINE_SQLOLEGUID(IID_IWSQLOLEPublications, 0x00026d2a);
  333. DEFINE_SQLOLEGUID(IID_IWSQLOLEArticles, 0x00026d2b);
  334. DEFINE_SQLOLEGUID(IID_IWSQLOLESubscriptions, 0x00026d2c);
  335. DEFINE_SQLOLEGUID(IID_IWSQLOLEChecks, 0x00026d2d);
  336. DEFINE_SQLOLEGUID(IID_IWSQLOLEServerGroups, 0x00026d2e);
  337. DEFINE_SQLOLEGUID(IID_IWSQLOLERegisteredServers, 0x00026d2f);
  338. // Not used; slot preserved for numerical sequencing.  DEFINE_SQLOLEGUID(IID_IWSQLOLEBulkCopys, 0x00026d30);
  339.  
  340. // Non-Creatable objects, and collections thereof.
  341. DEFINE_SQLOLEGUID(IID_IWSQLOLENames, 0x00026d40);
  342. DEFINE_SQLOLEGUID(IID_IWSQLOLEDBObject, 0x00026d41);
  343. DEFINE_SQLOLEGUID(IID_IWSQLOLEDBOption, 0x00026d42);
  344. DEFINE_SQLOLEGUID(IID_IWSQLOLEConfiguration, 0x00026d43);
  345. DEFINE_SQLOLEGUID(IID_IWSQLOLEConfigValue, 0x00026d44);
  346. DEFINE_SQLOLEGUID(IID_IWSQLOLESubscriberInfo, 0x00027d45);
  347. DEFINE_SQLOLEGUID(IID_IWSQLOLENameList, 0x00026d46);
  348. DEFINE_SQLOLEGUID(IID_IWSQLOLEExecutive, 0x00027d47);
  349. DEFINE_SQLOLEGUID(IID_IWSQLOLEQueryResults, 0x00027d48);
  350. DEFINE_SQLOLEGUID(IID_IWSQLOLETransactionLog, 0x00026d49);
  351. DEFINE_SQLOLEGUID(IID_IWSQLOLERegistry, 0x00026d4a);
  352. DEFINE_SQLOLEGUID(IID_IWSQLOLESystemDatatypes, 0x00026d4b);
  353. DEFINE_SQLOLEGUID(IID_IWSQLOLESystemDatatype, 0x00026d4c);
  354. DEFINE_SQLOLEGUID(IID_IWSQLOLEObjectList, 0x00026d4d);
  355. DEFINE_SQLOLEGUID(IID_IWSQLOLEPermission, 0x00026d4e);
  356. DEFINE_SQLOLEGUID(IID_IWSQLOLEIntegratedSecurity, 0x00026d4f);
  357. DEFINE_SQLOLEGUID(IID_IWSQLOLEDRIDefault, 0x00026d50);
  358. DEFINE_SQLOLEGUID(IID_IWSQLOLEConfigValues, 0x00026d51);
  359. DEFINE_SQLOLEGUID(IID_IWSQLOLEAlertSystem, 0x00026d52);
  360.  
  361. //    Creatable objects.
  362. DEFINE_SQLOLEGUID(IID_IWSQLOLEApplication, 0x00027d70);
  363.  
  364. DEFINE_SQLOLEGUID(IID_IWSQLOLEServer, 0x00027d71);
  365. DEFINE_SQLOLEGUID(IID_IWSQLOLEDatabase, 0x00027d72);
  366. DEFINE_SQLOLEGUID(IID_IWSQLOLETable, 0x00027d73);
  367. DEFINE_SQLOLEGUID(IID_IWSQLOLEColumn, 0x00026d74);
  368. DEFINE_SQLOLEGUID(IID_IWSQLOLEView, 0x00027d75);
  369. DEFINE_SQLOLEGUID(IID_IWSQLOLEUserDefinedDatatype, 0x00026d76);
  370. DEFINE_SQLOLEGUID(IID_IWSQLOLEDefault, 0x00026d77);
  371. DEFINE_SQLOLEGUID(IID_IWSQLOLERule, 0x00026d78);
  372. DEFINE_SQLOLEGUID(IID_IWSQLOLEUser, 0x00026d79);
  373. DEFINE_SQLOLEGUID(IID_IWSQLOLEGroup, 0x00026d7a);
  374. DEFINE_SQLOLEGUID(IID_IWSQLOLEStoredProcedure, 0x00027d7b);
  375. DEFINE_SQLOLEGUID(IID_IWSQLOLEIndex, 0x00027d7c);
  376. DEFINE_SQLOLEGUID(IID_IWSQLOLEKey, 0x00027d7d);
  377. DEFINE_SQLOLEGUID(IID_IWSQLOLETrigger, 0x00026d7e);
  378. DEFINE_SQLOLEGUID(IID_IWSQLOLEDevice, 0x00027d7f);
  379. DEFINE_SQLOLEGUID(IID_IWSQLOLEAlert, 0x00027d80);
  380. DEFINE_SQLOLEGUID(IID_IWSQLOLELogin, 0x00027d81);
  381. DEFINE_SQLOLEGUID(IID_IWSQLOLELanguage, 0x00026d82);
  382. DEFINE_SQLOLEGUID(IID_IWSQLOLERemoteServer, 0x00027d83);
  383. DEFINE_SQLOLEGUID(IID_IWSQLOLERemoteLogin, 0x00026d84);
  384. DEFINE_SQLOLEGUID(IID_IWSQLOLETask, 0x00027d85);
  385. DEFINE_SQLOLEGUID(IID_IWSQLOLETransfer, 0x00026d86);
  386. DEFINE_SQLOLEGUID(IID_IWSQLOLEBackup, 0x00027d87);
  387. DEFINE_SQLOLEGUID(IID_IWSQLOLEHistoryFilter, 0x00026d88);
  388. DEFINE_SQLOLEGUID(IID_IWSQLOLEOperator, 0x00026d89);
  389. DEFINE_SQLOLEGUID(IID_IWSQLOLEPublication, 0x00027d8a);
  390. DEFINE_SQLOLEGUID(IID_IWSQLOLEArticle, 0x00027d8b);
  391. DEFINE_SQLOLEGUID(IID_IWSQLOLESubscription, 0x00026d8c);
  392. DEFINE_SQLOLEGUID(IID_IWSQLOLECheck, 0x00026d8d);
  393. DEFINE_SQLOLEGUID(IID_IWSQLOLEServerGroup, 0x00026d8e);
  394. DEFINE_SQLOLEGUID(IID_IWSQLOLERegisteredServer, 0x00026d8f);
  395. DEFINE_SQLOLEGUID(IID_IWSQLOLEBulkCopy, 0x00027d90);
  396.  
  397. /////////////////////////////////////////////////////////////////////
  398. // SQLOLE Connection Point IID's.
  399. /////////////////////////////////////////////////////////////////////
  400. DEFINE_SQLOLEGUID(IID_IASQLOLETransferSink, 0x00030000);
  401. DEFINE_SQLOLEGUID(IID_IWSQLOLETransferSink, 0x00030001);
  402. DEFINE_SQLOLEGUID(IID_IVSQLOLETransferSink, 0x00030002);
  403. DEFINE_SQLOLEGUID(IID_IASQLOLEServerSink, 0x00030003);
  404. DEFINE_SQLOLEGUID(IID_IWSQLOLEServerSink, 0x00030004);
  405. DEFINE_SQLOLEGUID(IID_IVSQLOLEServerSink, 0x00030005);
  406. DEFINE_SQLOLEGUID(IID_IASQLOLEBackupSink, 0x00030006);
  407. DEFINE_SQLOLEGUID(IID_IWSQLOLEBackupSink, 0x00030007);
  408. DEFINE_SQLOLEGUID(IID_IVSQLOLEBackupSink, 0x00030008);
  409. DEFINE_SQLOLEGUID(IID_IASQLOLEBulkCopySink, 0x00030009);
  410. DEFINE_SQLOLEGUID(IID_IWSQLOLEBulkCopySink, 0x0003000a);
  411. DEFINE_SQLOLEGUID(IID_IVSQLOLEBulkCopySink, 0x0003000b);
  412.  
  413. #pragma option pop /*P_O_Pop*/
  414. #endif
  415.  
  416.  
  417.