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.
|
|
#ifndef _QUANTIZE_TOOL_
#define _QUANTIZE_TOOL_
#include "basetool.h"
#include "tools.h"
#include "param.h"
#include "toolhelp.h"
#include "..\dmtoolprp\toolprops.h"
class CQuantizeTool : public CBaseTool , public CParamsManager, public CToolHelper, public IPersistStream, public ISpecifyPropertyPages, public IDirectMusicQuantizeTool
{ public: CQuantizeTool();
public: // IUnknown
STDMETHODIMP QueryInterface(const IID &iid, void **ppv) ; STDMETHODIMP_(ULONG) AddRef() ; STDMETHODIMP_(ULONG) Release() ;
// IPersist functions
STDMETHODIMP GetClassID(CLSID* pClassID);
// IPersistStream functions
STDMETHODIMP IsDirty(); STDMETHODIMP Load(IStream* pStream); STDMETHODIMP Save(IStream* pStream, BOOL fClearDirty); STDMETHODIMP GetSizeMax(ULARGE_INTEGER* pcbSize);
// ISpecifyPropertyPages
STDMETHODIMP GetPages(CAUUID *pPages);
// IDirectMusicTool
// STDMETHODIMP Init(IDirectMusicGraph* pGraph) ;
// STDMETHODIMP GetMsgDeliveryType(DWORD* pdwDeliveryType ) ;
// STDMETHODIMP GetMediaTypeArraySize(DWORD* pdwNumElements ) ;
// STDMETHODIMP GetMediaTypes(DWORD** padwMediaTypes, DWORD dwNumElements) ;
STDMETHODIMP ProcessPMsg(IDirectMusicPerformance* pPerf, DMUS_PMSG* pDMUS_PMSG) ; // STDMETHODIMP Flush(IDirectMusicPerformance* pPerf, DMUS_PMSG* pDMUS_PMSG, REFERENCE_TIME rt) ;
// IDirectMusicTool8
STDMETHODIMP Clone( IDirectMusicTool ** ppTool) ;
// IDirectMusicQuantizeTool
STDMETHODIMP SetStrength(DWORD dwStrength) ; STDMETHODIMP SetTimeUnit(DWORD dwTimeUnit) ; STDMETHODIMP SetResolution(DWORD dwResolution) ; STDMETHODIMP SetType(DWORD dwType) ; STDMETHODIMP GetStrength(DWORD * pdwStrength) ; STDMETHODIMP GetTimeUnit(DWORD * pdwTimeUnit) ; STDMETHODIMP GetResolution(DWORD * pdwResolution) ; STDMETHODIMP GetType(DWORD * pdwType) ; protected: };
#endif // _QUANTIZE_TOOL_
|