40 lines
1.1 KiB
C++
40 lines
1.1 KiB
C++
// Copyright (c) 1999 Microsoft Corporation. All rights reserved.
|
|
//
|
|
// Declaration of CAutDirectMusicSegmentState.
|
|
// IDispatch interface for IDirectMusicSegmentState.
|
|
// Unly usable via aggregation within an IDirectMusicSegmentState object.
|
|
//
|
|
|
|
#pragma once
|
|
#include "autbaseimp.h"
|
|
|
|
class CAutDirectMusicSegmentState;
|
|
typedef CAutBaseImp<CAutDirectMusicSegmentState, IDirectMusicSegmentState, &IID_IDirectMusicSegmentState> BaseImpSegSt;
|
|
|
|
class CAutDirectMusicSegmentState
|
|
: public BaseImpSegSt
|
|
{
|
|
public:
|
|
static HRESULT CreateInstance(IUnknown* pUnknownOuter, const IID& iid, void** ppv);
|
|
|
|
private:
|
|
// Methods
|
|
CAutDirectMusicSegmentState(
|
|
IUnknown* pUnknownOuter,
|
|
const IID& iid,
|
|
void** ppv,
|
|
HRESULT *phr);
|
|
|
|
// Automation
|
|
HRESULT IsPlaying(AutDispatchDecodedParams *paddp);
|
|
HRESULT Stop(AutDispatchDecodedParams *paddp);
|
|
|
|
public:
|
|
// Dispatch info for CAutBaseImp
|
|
static const AutDispatchMethod ms_Methods[];
|
|
static const DispatchHandlerEntry<CAutDirectMusicSegmentState> ms_Handlers[];
|
|
|
|
// Name for CAutBaseImp
|
|
static const WCHAR ms_wszClassName[];
|
|
};
|