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.

59 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1992.
  5. //
  6. // File: stgprops.hxx
  7. //
  8. // Contents: Declaration for IPrivateStorage
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 07-May-95 BillMo Created.
  15. //
  16. //--------------------------------------------------------------------------
  17. #ifndef __STGPROPS_HXX__
  18. #define __STGPROPS_HXX__
  19. #include <propstm.hxx> // CPropertySetStream
  20. EXTERN_C const IID IID_IMappedStream; // Defined in stg\props\propstg.cxx
  21. #if DBG
  22. #define IFDBG(x) x
  23. #else
  24. #define IFDBG(x)
  25. #endif
  26. //+----------------------------------------------------------------------------
  27. //
  28. // Class: IStorageTest
  29. //
  30. // Purpose: Provide test hooks into the storage/propset implementations
  31. // (DBG only).
  32. //
  33. //+----------------------------------------------------------------------------
  34. #if DBG
  35. EXTERN_C const IID IID_IStorageTest; //40621cf8-a17f-11d1-b28d-00c04fb9386d
  36. interface IStorageTest : public IUnknown
  37. {
  38. public:
  39. STDMETHOD(UseNTFS4Streams)( BOOL fUseNTFS4Streams ) = 0;
  40. STDMETHOD(GetFormatVersion)(WORD *pw) = 0;
  41. STDMETHOD(SimulateLowMemory)( BOOL fSimulate ) = 0;
  42. STDMETHOD(GetLockCount)() = 0;
  43. STDMETHOD(IsDirty)() = 0;
  44. };
  45. #endif // #if DBG
  46. #endif // #ifndef __STGPROPS_HXX__