windows-nt/Source/XPSP1/NT/multimedia/directx/dmusic/dmscript/autaudiopath.h

42 lines
1.1 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
// 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<CAutDirectMusicAudioPath, IDirectMusicAudioPath, &IID_IDirectMusicAudioPath> 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<CAutDirectMusicAudioPath> ms_Handlers[];
// Name for CAutBaseImp
static const WCHAR ms_wszClassName[];
};