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

  1. // sndctl.idl : IDL source for sndctl.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (sndctl.tlb) and marshalling code.
  5. import "oaidl.idl";
  6. import "ocidl.idl";
  7. [
  8. object,
  9. uuid(7D004175-499C-490A-8BC2-1E834711DE45),
  10. dual,
  11. helpstring("ISoundCtl Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface ISoundCtl : IDispatch
  15. {
  16. [propget, id(1), helpstring("property Volume")] HRESULT Volume([out, retval] DWORD *pVal);
  17. [propput, id(1), helpstring("property Volume")] HRESULT Volume([in] DWORD newVal);
  18. [propget, id(2), helpstring("property Mute")] HRESULT Mute([out, retval] VARIANT_BOOL *pVal);
  19. [propput, id(2), helpstring("property Mute")] HRESULT Mute([in] VARIANT_BOOL newVal);
  20. [propget, id(3), helpstring("property Component")] HRESULT ComponentType([out, retval] long *pVal);
  21. [propput, id(3), helpstring("property Component")] HRESULT ComponentType([in] long newVal);
  22. };
  23. [
  24. uuid(4CF91B20-9768-41A6-A25B-7573EE376A6B),
  25. version(1.0),
  26. helpstring("sndctl 1.0 Type Library")
  27. ]
  28. library SNDCTLLib
  29. {
  30. importlib("stdole2.tlb");
  31. [
  32. uuid(EFE22EF0-D363-4986-AC56-9989C61EC5E4),
  33. helpstring("SoundCtl Class")
  34. ]
  35. coclass SoundCtl
  36. {
  37. [default] interface ISoundCtl;
  38. };
  39. };