oledbnew.idl 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. //-----------------------------------------------------------------------------
  2. // File: oledbnew.idl
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation
  5. //
  6. // Contents: Top level "container" for all OLE-DB related interfaces, that
  7. // are proposed.
  8. //
  9. // Comments:
  10. //
  11. //-----------------------------------------------------------------------------
  12. cpp_quote("//")
  13. cpp_quote("// OLEDB_PROPOSED_OK")
  14. cpp_quote("// These interfaces are proposed. You must define OLEDB_PROPOSED_OK to use them.")
  15. cpp_quote("//")
  16. cpp_quote("")
  17. import "oledb.idl";
  18. cpp_quote("#include <oledb.h>")
  19. cpp_quote("")
  20. cpp_quote("#ifdef OLEDB_PROPOSED_OK")
  21. cpp_quote("")
  22. cpp_quote("//@@@+ V3.0")
  23. cpp_quote("//#if( OLEDBVER >= 0x0300 )")
  24. cpp_quote("#ifdef DBINITCONSTANTS")
  25. cpp_quote("")
  26. cpp_quote("extern const OLEDBDECLSPEC DBID DBCOLUMN_HASCHILDROWSET = {DBCIDGUID, DBKIND_GUID_PROPID, (LPOLESTR)42};")
  27. cpp_quote("")
  28. cpp_quote("#else //DBINITCONSTANTS")
  29. cpp_quote("")
  30. cpp_quote("extern const DBID DBCOLUMN_HASCHILDROWSET;")
  31. cpp_quote("")
  32. cpp_quote("#endif //DBINITCONSTANTS")
  33. #include "rowinf.idl" // IRowInfo : IUnknown
  34. enum DBPROPENUM30 {
  35. DBPROP_IPersistFile = 0x00000121L,
  36. DBPROP_IPersistStream = 0x00000122L,
  37. };
  38. cpp_quote("//#endif // OLEDBVER >= 0x0300")
  39. cpp_quote("//@@@- V3.0")
  40. cpp_quote("")
  41. cpp_quote("#endif // OLEDB_PROPOSED_OK")
  42. cpp_quote("")
  43. cpp_quote("#include <poppack.h> // restore original structure packing")