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.

51 lines
1.9 KiB

  1. //+------------------------------------------------------------------------
  2. //
  3. // IProgSink interface
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996-1998.
  6. //
  7. // File: prgsnk.idl
  8. //
  9. //-------------------------------------------------------------------------
  10. import "oaidl.idl";
  11. import "oleidl.idl";
  12. [
  13. object,
  14. uuid(3050f371-98b5-11cf-bb82-00aa00bdce0b),
  15. pointer_default(unique),
  16. local
  17. ]
  18. interface IProgSink : IUnknown
  19. {
  20. HRESULT AddProgress([in] DWORD dwClass, [out] DWORD * pdwCookie);
  21. HRESULT SetProgress([in] DWORD dwCookie, [in] DWORD dwFlags,
  22. [in] DWORD dwState, [in] LPCTSTR pchText, [in] DWORD dwIds,
  23. [in] DWORD dwPos, [in] DWORD dwMax);
  24. HRESULT DelProgress([in] DWORD dwCookie);
  25. }
  26. cpp_quote("#define PROGSINK_CLASS_FORWARDED 0x80000000")
  27. cpp_quote("#define PROGSINK_CLASS_NOSPIN 0x40000000")
  28. cpp_quote("#define PROGSINK_CLASS_HTML 0x00000000")
  29. cpp_quote("#define PROGSINK_CLASS_MULTIMEDIA 0x00000001")
  30. cpp_quote("#define PROGSINK_CLASS_CONTROL 0x00000002")
  31. cpp_quote("#define PROGSINK_CLASS_DATABIND 0x00000003")
  32. cpp_quote("#define PROGSINK_CLASS_OTHER 0x00000004")
  33. cpp_quote("#define PROGSINK_CLASS_NOREMAIN 0x00000005")
  34. cpp_quote("#define PROGSINK_CLASS_FRAME 0x00000006")
  35. cpp_quote("")
  36. cpp_quote("#define PROGSINK_STATE_IDLE 0x00000000")
  37. cpp_quote("#define PROGSINK_STATE_FINISHING 0x00000001")
  38. cpp_quote("#define PROGSINK_STATE_CONNECTING 0x00000002")
  39. cpp_quote("#define PROGSINK_STATE_LOADING 0x00000003")
  40. cpp_quote("")
  41. cpp_quote("#define PROGSINK_SET_STATE 0x00000001")
  42. cpp_quote("#define PROGSINK_SET_TEXT 0x00000002")
  43. cpp_quote("#define PROGSINK_SET_IDS 0x00000004")
  44. cpp_quote("#define PROGSINK_SET_POS 0x00000008")
  45. cpp_quote("#define PROGSINK_SET_MAX 0x00000010")
  46. cpp_quote("")