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.
 
 
 
 
 
 

41 lines
1.1 KiB

// 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[];
};