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.1 KiB

  1. //
  2. // Microsoft Windows Media Technologies
  3. // Copyright (C) Microsoft Corporation, 1999 - 2001. All rights reserved.
  4. //
  5. //
  6. // WMDMProgressHelper.idl : IDL source
  7. //
  8. //
  9. // This file will be processed by the MIDL tool to
  10. // produce the type library (WMDMProgressHelper.tlb) and marshalling code.
  11. //
  12. import "oaidl.idl";
  13. import "ocidl.idl";
  14. // Flags for the notification messages
  15. //
  16. cpp_quote("#define SFM_BEGIN 1")
  17. cpp_quote("#define SFM_END 2")
  18. cpp_quote("#define SFM_PROGRESS 3")
  19. // Structure for the notification messages
  20. //
  21. typedef struct _tPROGRESSNOTIFY
  22. {
  23. DWORD dwMsg; // SFM_* value
  24. DWORD dwCurrentTicks; // Current number of ticks
  25. DWORD dwTotalTicks; // Total number of ticks
  26. } PROGRESSNOTIFY;
  27. [
  28. object,
  29. uuid(1DCB3A10-33ED-11d3-8470-00C04F79DBC5),
  30. pointer_default(unique)
  31. ]
  32. interface IWMDMProgressHelper: IUnknown
  33. {
  34. // Sets the windows and the message to use
  35. // for notification messages
  36. //
  37. HRESULT SetNotification( HWND hwnd, UINT uMsg );
  38. // Cancels the current operation
  39. //
  40. HRESULT Cancel( void );
  41. };