Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

94 lines
3.4 KiB

  1. //--------------------------------------------------------------------
  2. // Microsoft ADO
  3. //
  4. // (c) 1996 Microsoft Corporation. All Rights Reserved.
  5. //
  6. // @doc
  7. //
  8. // @module adoid.h | ADO Guids
  9. //
  10. // @devnote None
  11. //--------------------------------------------------------------------
  12. #ifndef _ADOID_H_
  13. #define _ADOID_H_
  14. // The following range of 255 guids has been reserved for the base objects.
  15. // 00000200-0000-0010-8000-00AA006D2EA4 - 000002FF-0000-0010-8000-00AA006D2EA4
  16. // If you need more then please take a range from daoguid.txt and update that file in
  17. #define DEFINE_DAOGUID(name, l) \
  18. DEFINE_GUID(name, l, 0, 0x10, 0x80,0,0,0xAA,0,0x6D,0x2E,0xA4)
  19. #define ADO_MAJOR 2 // major version of the ADO type library
  20. #define ADO_VERSION 1.5
  21. // Type library
  22. DEFINE_DAOGUID(LIBID_CADO10, 0x00000200);
  23. DEFINE_DAOGUID(LIBID_CADOR10, 0x00000300);
  24. // Error
  25. DEFINE_DAOGUID(IID_IADOError, 0x00000500);
  26. DEFINE_DAOGUID(IID_IADOErrors, 0x00000501);
  27. // Property
  28. DEFINE_DAOGUID(IID_IADOProperty, 0x00000503);
  29. DEFINE_DAOGUID(IID_IADOProperties, 0x00000504);
  30. // Field
  31. DEFINE_DAOGUID(IID_IADOField, 0x00000505);
  32. DEFINE_DAOGUID(IID_IADOFields, 0x00000506);
  33. // Command
  34. DEFINE_DAOGUID(CLSID_CADOCommand, 0x00000507);
  35. DEFINE_DAOGUID(IID_IADOCommand, 0x00000508);
  36. DEFINE_DAOGUID(IID_IADOCommands, 0x00000509);
  37. // Parameter
  38. DEFINE_DAOGUID(CLSID_CADOParameter, 0x0000050B);
  39. DEFINE_DAOGUID(IID_IADOParameter, 0x0000050C);
  40. DEFINE_DAOGUID(IID_IADOParameters, 0x0000050D);
  41. //Recordset
  42. DEFINE_DAOGUID(CLSID_CADORecordset, 0x00000535);
  43. DEFINE_DAOGUID(IID_IADORecordset, 0x0000050E);
  44. DEFINE_DAOGUID(IID_IADORecordsets, 0x0000050F);
  45. DEFINE_DAOGUID(IID_IADORecordsetConstruction, 0x00000283);
  46. // Collections
  47. DEFINE_DAOGUID(IID_IADOCollection, 0x00000512);
  48. DEFINE_DAOGUID(IID_IADODynaCollection, 0x00000513);
  49. // Connection
  50. DEFINE_DAOGUID(CLSID_CADOConnection, 0x00000514);
  51. DEFINE_DAOGUID(IID_IADOConnection, 0x00000515);
  52. DEFINE_DAOGUID(IID_IADOConnections, 0x00000518);
  53. // Enums
  54. DEFINE_DAOGUID(IID_EnumCursorType, 0x0000051B);
  55. DEFINE_DAOGUID(IID_EnumCursorOption, 0x0000051C);
  56. DEFINE_DAOGUID(IID_EnumLockType, 0x0000051D);
  57. DEFINE_DAOGUID(IID_EnumExecuteOption, 0x0000051E);
  58. DEFINE_DAOGUID(IID_EnumDataType, 0x0000051F);
  59. DEFINE_DAOGUID(IID_EnumConnectPrompt, 0x00000520);
  60. DEFINE_DAOGUID(IID_EnumConnectMode, 0x00000521);
  61. DEFINE_DAOGUID(IID_EnumPrepareOption, 0x00000522);
  62. DEFINE_DAOGUID(IID_EnumIsolationLevel, 0x00000523);
  63. DEFINE_DAOGUID(IID_EnumXactAttribute, 0x00000524);
  64. DEFINE_DAOGUID(IID_EnumFieldAttribute, 0x00000525);
  65. DEFINE_DAOGUID(IID_EnumEditMode, 0x00000526);
  66. DEFINE_DAOGUID(IID_EnumRecordStatus, 0x00000527);
  67. DEFINE_DAOGUID(IID_EnumPosition, 0x00000528);
  68. DEFINE_DAOGUID(IID_EnumPropertyAttributes, 0x00000529);
  69. DEFINE_DAOGUID(IID_EnumErrorValue, 0x0000052A);
  70. DEFINE_DAOGUID(IID_EnumParameterAttributes, 0x0000052B);
  71. DEFINE_DAOGUID(IID_EnumParameterDirection, 0x0000052C);
  72. DEFINE_DAOGUID(IID_EnumFilterCriteria, 0x0000052D);
  73. DEFINE_DAOGUID(IID_EnumCommandType, 0x0000052E);
  74. DEFINE_DAOGUID(IID_EnumCursorLocation, 0x0000052F);
  75. DEFINE_DAOGUID(IID_EnumEventStatus, 0x00000530);
  76. DEFINE_DAOGUID(IID_EnumEventReason, 0x00000531);
  77. DEFINE_DAOGUID(IID_EnumObjectState, 0x00000532);
  78. DEFINE_DAOGUID(IID_EnumSchema, 0x00000533);
  79. DEFINE_DAOGUID(IID_EnumMarshalOptions, 0x00000540);
  80. #endif // _ADOID_H_