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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: dbsdep.idl
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation          
  5. //
  6. // Contents:  OLE/DB structure definititions -- deprecated
  7. //
  8. // Comments: 
  9. //
  10. //-----------------------------------------------------------------------------
  11. [
  12.     uuid(0c733aad-2a1c-11ce-ade5-00aa0044773d),
  13.     pointer_default(unique)
  14. ]
  15. interface DBStructureDefinitionsDep {
  16. cpp_quote("#ifndef UNALIGNED")
  17. cpp_quote("#if defined(_MIPS_) || defined(_ALPHA_) || defined(_PPC_)")
  18. cpp_quote("#define UNALIGNED __unaligned")
  19. cpp_quote("#else")
  20. cpp_quote("#define UNALIGNED")
  21. cpp_quote("#endif")
  22. cpp_quote("#endif //UNALIGNED")
  23. cpp_quote("#undef OLEDBDECLSPEC")
  24. cpp_quote("#if _MSC_VER >= 1100")
  25. cpp_quote("#define OLEDBDECLSPEC __declspec(selectany)")
  26. cpp_quote("#else")
  27. cpp_quote("#define OLEDBDECLSPEC ")
  28. cpp_quote("#endif //_MSC_VER")
  29. cpp_quote("#ifdef DBINITCONSTANTS")
  30. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_CHECK_OPTION               = {0xc8b5220b,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  31. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_CONSTRAINT_CHECK_DEFERRED  = {0xc8b521f0,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  32. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_DROP_CASCADE               = {0xc8b521f3,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  33. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_UNIQUE                     = {0xc8b521f5,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  34. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_ON_COMMIT_PRESERVE_ROWS    = {0xc8b52230,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  35. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_PRIMARY                    = {0xc8b521fc,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  36. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_CLUSTERED                  = {0xc8b521ff,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  37. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_NONCLUSTERED               = {0xc8b52200,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  38. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_BTREE                      = {0xc8b52201,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  39. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_HASH                       = {0xc8b52202,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  40. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_FILLFACTOR                 = {0xc8b52203,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  41. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_INITIALSIZE                = {0xc8b52204,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  42. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_DISALLOWNULL               = {0xc8b52205,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  43. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_IGNORENULL                 = {0xc8b52206,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  44. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_IGNOREANYNULL              = {0xc8b52207,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  45. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_SORTBOOKMARKS              = {0xc8b52208,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  46. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_AUTOMATICUPDATE            = {0xc8b52209,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  47. cpp_quote("extern const OLEDBDECLSPEC GUID DB_PROPERTY_EXPLICITUPDATE             = {0xc8b5220a,0x5cf3,0x11ce,{0xad,0xe5,0x00,0xaa,0x00,0x44,0x77,0x3d}};")
  48. cpp_quote("#else // !DBINITCONSTANTS")
  49. cpp_quote("extern const GUID DB_PROPERTY_CHECK_OPTION;")
  50. cpp_quote("extern const GUID DB_PROPERTY_CONSTRAINT_CHECK_DEFERRED;")
  51. cpp_quote("extern const GUID DB_PROPERTY_DROP_CASCADE;")
  52. cpp_quote("extern const GUID DB_PROPERTY_ON_COMMIT_PRESERVE_ROWS;")
  53. cpp_quote("extern const GUID DB_PROPERTY_UNIQUE;")
  54. cpp_quote("extern const GUID DB_PROPERTY_PRIMARY;")
  55. cpp_quote("extern const GUID DB_PROPERTY_CLUSTERED;")
  56. cpp_quote("extern const GUID DB_PROPERTY_NONCLUSTERED;")
  57. cpp_quote("extern const GUID DB_PROPERTY_BTREE;")
  58. cpp_quote("extern const GUID DB_PROPERTY_HASH;")
  59. cpp_quote("extern const GUID DB_PROPERTY_FILLFACTOR;")
  60. cpp_quote("extern const GUID DB_PROPERTY_INITIALSIZE;")
  61. cpp_quote("extern const GUID DB_PROPERTY_DISALLOWNULL;")
  62. cpp_quote("extern const GUID DB_PROPERTY_IGNORENULL;")
  63. cpp_quote("extern const GUID DB_PROPERTY_IGNOREANYNULL;")
  64. cpp_quote("extern const GUID DB_PROPERTY_SORTBOOKMARKS;")
  65. cpp_quote("extern const GUID DB_PROPERTY_AUTOMATICUPDATE;")
  66. cpp_quote("extern const GUID DB_PROPERTY_EXPLICITUPDATE;")
  67. cpp_quote("#endif // DBINITCONSTANTS")
  68. enum DBPROPENUM25_DEPRECATED {
  69. DBPROP_ICommandCost                          = 0x0000008dL,
  70. DBPROP_ICommandTree                          = 0x0000008eL,
  71. DBPROP_ICommandValidate                      = 0x0000008fL,
  72. DBPROP_IDBSchemaCommand                      = 0x00000090L,
  73. DBPROP_IProvideMoniker                       = 0x0000007dL,
  74. DBPROP_IQuery                                = 0x00000092L,
  75. DBPROP_IReadData                             = 0x00000093L,
  76. DBPROP_IRowsetAsynch                         = 0x00000094L,
  77. DBPROP_IRowsetCopyRows                       = 0x00000095L,
  78. DBPROP_IRowsetKeys                           = 0x00000097L,
  79. DBPROP_IRowsetNewRowAfter                    = 0x00000098L,
  80. DBPROP_IRowsetNextRowset                     = 0x00000099L,
  81. DBPROP_IRowsetWatchAll                       = 0x0000009bL,
  82. DBPROP_IRowsetWatchNotify                    = 0x0000009cL,
  83. DBPROP_IRowsetWatchRegion                    = 0x0000009dL,
  84. DBPROP_IRowsetWithParameters                 = 0x0000009eL,
  85. };
  86. enum DBREASONENUM25 {
  87. DBREASON_ROWSET_ROWSADDED = DBREASON_ROW_ASYNCHINSERT + 1,
  88.     DBREASON_ROWSET_POPULATIONCOMPLETE,
  89.     DBREASON_ROWSET_POPULATIONSTOPPED,
  90. };
  91. }