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.

41 lines
1.1 KiB

  1. // Copyright (c) 1999 Microsoft Corporation. All rights reserved.
  2. //
  3. // Declaration of CAutDirectMusicAudioPath.
  4. // IDispatch interface for IDirectMusicAudioPath.
  5. // Unly usable via aggregation within an IDirectMusicAudioPath object.
  6. //
  7. #pragma once
  8. #include "autbaseimp.h"
  9. class CAutDirectMusicAudioPath;
  10. typedef CAutBaseImp<CAutDirectMusicAudioPath, IDirectMusicAudioPath, &IID_IDirectMusicAudioPath> BaseImpAudioPath;
  11. class CAutDirectMusicAudioPath
  12. : public BaseImpAudioPath
  13. {
  14. public:
  15. static HRESULT CreateInstance(IUnknown* pUnknownOuter, const IID& iid, void** ppv);
  16. private:
  17. // Methods
  18. CAutDirectMusicAudioPath(
  19. IUnknown* pUnknownOuter,
  20. const IID& iid,
  21. void** ppv,
  22. HRESULT *phr);
  23. // Automation
  24. HRESULT SetVolume(AutDispatchDecodedParams *paddp);
  25. HRESULT GetVolume(AutDispatchDecodedParams *paddp);
  26. LONG m_lVolume;
  27. public:
  28. // Dispatch info for CAutBaseImp
  29. static const AutDispatchMethod ms_Methods[];
  30. static const DispatchHandlerEntry<CAutDirectMusicAudioPath> ms_Handlers[];
  31. // Name for CAutBaseImp
  32. static const WCHAR ms_wszClassName[];
  33. };