// Copyright (c) 1999 Microsoft Corporation. All rights reserved. // // Declaration of CAutDirectMusicAudioPath. // IDispatch interface for IDirectMusicAudioPath. // Unly usable via aggregation within an IDirectMusicAudioPath object. // #pragma once #include "autbaseimp.h" class CAutDirectMusicAudioPath; typedef CAutBaseImp BaseImpAudioPath; class CAutDirectMusicAudioPath : public BaseImpAudioPath { public: static HRESULT CreateInstance(IUnknown* pUnknownOuter, const IID& iid, void** ppv); private: // Methods CAutDirectMusicAudioPath( IUnknown* pUnknownOuter, const IID& iid, void** ppv, HRESULT *phr); // Automation HRESULT SetVolume(AutDispatchDecodedParams *paddp); HRESULT GetVolume(AutDispatchDecodedParams *paddp); LONG m_lVolume; public: // Dispatch info for CAutBaseImp static const AutDispatchMethod ms_Methods[]; static const DispatchHandlerEntry ms_Handlers[]; // Name for CAutBaseImp static const WCHAR ms_wszClassName[]; };