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.

43 lines
1.0 KiB

  1. #include <olectl.h>
  2. import "ocidl.idl";
  3. [
  4. uuid(147D174A-1313-11d3-8705-00C04FB16A21),
  5. helpstring("Microsoft Shell Powertoys"),
  6. lcid(0x0000),
  7. version(1.0)
  8. ]
  9. library Powertoy
  10. {
  11. importlib("stdole2.tlb");
  12. [
  13. uuid(27164F5A-1313-11d3-8705-00C04FB16A21), // IID_IZaxxonPlayer
  14. helpcontext(0x0000),
  15. dual
  16. ]
  17. interface IZaxxonPlayer : IUnknown
  18. {
  19. HRESULT Play();
  20. HRESULT Stop();
  21. HRESULT NextSong();
  22. HRESULT PrevSong();
  23. HRESULT SetSong(int i);
  24. HRESULT Forward([in] UINT iSeconds);
  25. HRESULT Backward([in] UINT iSeconds);
  26. HRESULT Pause();
  27. HRESULT AddSong([in] LPWSTR pszFile);
  28. HRESULT RemoveSong([in] int i);
  29. HRESULT Register(HWND hwnd);
  30. HRESULT DeRegister(HWND hwnd);
  31. HRESULT ClearPlaylist();
  32. }
  33. [
  34. uuid(76EDEF4C-1313-11d3-8705-00C04FB16A21) // CLSID_ZaxxonPlayer
  35. ]
  36. coclass ZaxxonPlayer
  37. {
  38. [default] interface IZaxxonPlayer;
  39. }
  40. }