home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 September / VPR0009A.BIN / VS60SP4JPN / support / adoid.h < prev    next >
C/C++ Source or Header  |  1999-01-29  |  3KB  |  96 lines

  1. //--------------------------------------------------------------------
  2. // Microsoft ADO
  3. //
  4. // (c) 1998 Microsoft Corporation.  All Rights Reserved.
  5. //
  6. // @doc
  7. //
  8. // @module    adoid.h | ADO Guids
  9. //
  10. // @devnote None
  11. //--------------------------------------------------------------------
  12.  
  13. #ifndef _ADOID_H_
  14. #define _ADOID_H_
  15.  
  16. #define DEFINE_ADOGUID(name, l) \
  17.     DEFINE_GUID(name, l, 0, 0x10, 0x80,0,0,0xAA,0,0x6D,0x2E,0xA4)
  18.  
  19. #define ADO_MAJOR    2        // major version of the ADO typelib
  20. #define ADO_MINOR    1        // minor version of the ADO typelib. 
  21.  
  22. #define ADO_VERSION 2.1
  23.  
  24. // Type library
  25. DEFINE_ADOGUID(LIBID_ADO20,                0x00000200);
  26. DEFINE_ADOGUID(LIBID_ADOR20,            0x00000300);
  27.  
  28. DEFINE_ADOGUID(LIBID_ADO21,                0x00000201);
  29. DEFINE_ADOGUID(LIBID_ADOR21,            0x00000301);
  30.  
  31. // defined for backwards compatibility
  32. #define LIBID_CADO10    LIBID_ADO20
  33. #define LIBID_CADOR10    LIBID_ADOR20
  34.  
  35. #define LIBID_ADO        LIBID_ADO21
  36.  
  37.  
  38. // Error
  39. DEFINE_ADOGUID(IID_IADOError,            0x00000500);
  40. DEFINE_ADOGUID(IID_IADOErrors,           0x00000501);
  41.  
  42. // Property
  43. DEFINE_ADOGUID(IID_IADOProperty,         0x00000503);
  44. DEFINE_ADOGUID(IID_IADOProperties,       0x00000504);
  45.  
  46. // Field
  47. DEFINE_ADOGUID(CLSID_CADOField,             0x0000053A);
  48. DEFINE_ADOGUID(IID_IADOField15,            0x00000505);
  49. DEFINE_ADOGUID(IID_IADOField,            0x0000054C);
  50. DEFINE_ADOGUID(IID_IADOFields15,           0x00000506);
  51. DEFINE_ADOGUID(IID_IADOFields,           0x0000054D);
  52.  
  53.  
  54. // Command
  55. DEFINE_ADOGUID(CLSID_CADOCommand,        0x00000507);
  56. DEFINE_ADOGUID(IID_IADOCommand15,            0x00000508);
  57. DEFINE_ADOGUID(IID_IADOCommand,            0x0000054E);
  58. DEFINE_ADOGUID(IID_IADOCommands,        0x00000509);
  59. DEFINE_ADOGUID(IID_IADOCommandConstruction,       0x00000517);
  60.  
  61. // Parameter
  62. DEFINE_ADOGUID(CLSID_CADOParameter,        0x0000050B);
  63. DEFINE_ADOGUID(IID_IADOParameter,        0x0000050C);
  64. DEFINE_ADOGUID(IID_IADOParameters,       0x0000050D);
  65.  
  66. //Recordset
  67. DEFINE_ADOGUID(CLSID_CADORecordset,      0x00000535);
  68. DEFINE_ADOGUID(IID_IADORecordset15,         0x0000050E);
  69. DEFINE_ADOGUID(IID_IADORecordset20,         0x0000054F);
  70. DEFINE_ADOGUID(IID_IADORecordset,         0x00000555);
  71. DEFINE_ADOGUID(IID_IADORecordsets,         0x0000050F);
  72. DEFINE_ADOGUID(IID_IADORecordsetConstruction,     0x00000283);
  73.  
  74. // Collections
  75. DEFINE_ADOGUID(IID_IADOCollection,       0x00000512);
  76. DEFINE_ADOGUID(IID_IADODynaCollection,   0x00000513);
  77.  
  78. // Connection
  79. DEFINE_ADOGUID(CLSID_CADOConnection,       0x00000514);
  80. DEFINE_ADOGUID(IID_IADOConnection15,       0x00000515);
  81. DEFINE_ADOGUID(IID_IADOConnection,       0x00000550);
  82. DEFINE_ADOGUID(IID_IADOConnectionConstruction15,       0x00000516);
  83. DEFINE_ADOGUID(IID_IADOConnectionConstruction,       0x00000551);
  84. DEFINE_ADOGUID(IID_IADOConnections,           0x00000518);
  85.  
  86. // events
  87. // dispatch interfaces
  88. DEFINE_ADOGUID(IID_IADORecordsetEvents,       0x00000266);
  89. DEFINE_ADOGUID(IID_IADOConnectionEvents,   0x00000400);
  90. // vtable interfaces
  91. DEFINE_ADOGUID(IID_IADORecordsetEventsVt,   0x00000403);
  92. DEFINE_ADOGUID(IID_IADOConnectionEventsVt,  0x00000402);
  93.  
  94.  
  95. #endif // _ADOID_H_
  96.