Leaked source code of windows server 2003
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.

76 lines
1.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1996.
  5. //
  6. // File: iconn.idl
  7. //
  8. // Contents: IDocfileAsyncConnectionPoint
  9. //
  10. // History: 03-Apr-96 PhilipLa Created
  11. //
  12. //----------------------------------------------------------------------------
  13. [
  14. object,
  15. uuid(4a8df970-8d9a-11cf-8827-00aa00b569f5),
  16. pointer_default(unique)
  17. ]
  18. interface IDocfileAsyncConnectionPoint: IUnknown
  19. {
  20. #ifndef DO_NO_IMPORTS
  21. import "objidl.idl";
  22. #endif
  23. HRESULT AddConnection
  24. (
  25. [in] IProgressNotify *pSink,
  26. [out] DWORD *pdwCookie
  27. );
  28. HRESULT RemoveConnection
  29. (
  30. [in] DWORD dwCookie
  31. );
  32. HRESULT NotifySinks
  33. (
  34. [in] ULONG ulProgressCurrent,
  35. [in] ULONG ulProgressMaximum,
  36. [in] BOOL fAccurate,
  37. [in] SCODE sc
  38. );
  39. HRESULT GetParent
  40. (
  41. [out] IDocfileAsyncConnectionPoint ** ppParent
  42. );
  43. }
  44. [
  45. object,
  46. uuid(de2eacd0-9c9d-11cf-882a-00aa00b569f5),
  47. pointer_default(unique)
  48. ]
  49. interface IFillInfo: IUnknown
  50. {
  51. #ifndef DO_NO_IMPORTS
  52. import "unknwn.idl";
  53. #endif
  54. HRESULT GetFailureInfo
  55. (
  56. [out] ULONG *pulWaterMark,
  57. [out] ULONG *pulFailurePoint
  58. );
  59. HRESULT GetTerminationStatus
  60. (
  61. [out] DWORD *pdwFlags
  62. );
  63. }