home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / mts4.cab / adoid.h < prev    next >
C/C++ Source or Header  |  1997-11-14  |  4KB  |  95 lines

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