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.

39 lines
1.1 KiB

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