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

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