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

模拟服务器

开发平台:

C/C++

  1. //+---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright (C) Microsoft Corporation, 1992-1998.
  5. //
  6. //  File:       perhist.idl
  7. //
  8. //  Contents:   IPersistHistory interfaces
  9. //
  10. //  Classes:
  11. //
  12. //  Functions:
  13. //
  14. //  History:    04-11-97   DBau (David Bau)   Created
  15. //
  16. //----------------------------------------------------------------------------
  17. cpp_quote("//=--------------------------------------------------------------------------=")
  18. cpp_quote("// perhist.h")
  19. cpp_quote("//=--------------------------------------------------------------------------=")
  20. cpp_quote("// (C) Copyright 1995-1998 Microsoft Corporation.  All Rights Reserved.")
  21. cpp_quote("//")
  22. cpp_quote("// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF")
  23. cpp_quote("// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO")
  24. cpp_quote("// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A")
  25. cpp_quote("// PARTICULAR PURPOSE.")
  26. cpp_quote("//=--------------------------------------------------------------------------=")
  27. cpp_quote("")
  28. cpp_quote("#pragma comment(lib,"uuid.lib")")
  29. cpp_quote("")
  30. cpp_quote("//---------------------------------------------------------------------------=")
  31. cpp_quote("// IPersistHistory Interface.")
  32. cpp_quote("")
  33. import "objidl.idl";
  34. import "oleidl.idl";
  35. interface IPersistHistory;
  36. //+---------------------------------------------------------------------------
  37. //
  38. //  Copyright (C) Microsoft Corporation, 1995-1998.
  39. //
  40. //  Contents:  IPersistHistory interface definition
  41. //
  42. //----------------------------------------------------------------------------
  43. cpp_quote("#ifndef _LPPERSISTHISTORY_DEFINED")
  44. cpp_quote("#define _LPPERSISTHISTORY_DEFINED")
  45. [object, uuid(91A565C1-E38F-11d0-94BF-00A0C9055CBF), pointer_default(unique)]
  46. interface IPersistHistory : IPersist
  47. {
  48. typedef [unique] IPersistHistory *LPPERSISTHISTORY;
  49. HRESULT LoadHistory(
  50.         [in]IStream *pStream,
  51.         [in]IBindCtx *pbc);
  52. HRESULT SaveHistory(
  53.         [in]IStream *pStream);
  54. HRESULT SetPositionCookie(
  55.         [in]DWORD dwPositioncookie);
  56. HRESULT GetPositionCookie(
  57.         [out]DWORD *pdwPositioncookie);
  58. }
  59. cpp_quote("#endif")