#include <simpleplayer.h>
Inherits IWMReaderCallback.
|
| | CSimplePlayer (HRESULT *phr) |
| |
| | ~CSimplePlayer () |
| |
| virtual HRESULT | Play (LPCWSTR pszUrl, DWORD dwSecDuration, HANDLE hCompletionEvent, HRESULT *phrCompletion) |
| |
| virtual HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID riid, void **ppvObject) |
| |
| virtual ULONG STDMETHODCALLTYPE | AddRef () |
| |
| virtual ULONG STDMETHODCALLTYPE | Release () |
| |
| virtual HRESULT STDMETHODCALLTYPE | OnSample (DWORD dwOutputNum, QWORD cnsSampleTime, QWORD cnsSampleDuration, DWORD dwFlags, INSSBuffer __RPC_FAR *pSample, void __RPC_FAR *pvContext) |
| |
| virtual HRESULT STDMETHODCALLTYPE | OnStatus (WMT_STATUS Status, HRESULT hr, WMT_ATTR_DATATYPE dwType, BYTE __RPC_FAR *pValue, void __RPC_FAR *pvContext) |
| |
Definition at line 38 of file simpleplayer.h.
◆ CSimplePlayer()
| CSimplePlayer::CSimplePlayer |
( |
HRESULT * | phr | ) |
|
◆ ~CSimplePlayer()
| CSimplePlayer::~CSimplePlayer |
( |
| ) |
|
◆ AddRef()
| ULONG STDMETHODCALLTYPE CSimplePlayer::AddRef |
( |
| ) |
|
|
virtual |
◆ AddWaveHeader()
| HRESULT CSimplePlayer::AddWaveHeader |
( |
LPWAVEHDR | pwh | ) |
|
|
protected |
◆ Close()
| HRESULT CSimplePlayer::Close |
( |
| ) |
|
|
protected |
◆ OnSample()
| HRESULT STDMETHODCALLTYPE CSimplePlayer::OnSample |
( |
DWORD | dwOutputNum, |
|
|
QWORD | cnsSampleTime, |
|
|
QWORD | cnsSampleDuration, |
|
|
DWORD | dwFlags, |
|
|
INSSBuffer __RPC_FAR * | pSample, |
|
|
void __RPC_FAR * | pvContext ) |
|
virtual |
◆ OnStatus()
| HRESULT STDMETHODCALLTYPE CSimplePlayer::OnStatus |
( |
WMT_STATUS | Status, |
|
|
HRESULT | hr, |
|
|
WMT_ATTR_DATATYPE | dwType, |
|
|
BYTE __RPC_FAR * | pValue, |
|
|
void __RPC_FAR * | pvContext ) |
|
virtual |
◆ OnWaveOutMsg()
| void CSimplePlayer::OnWaveOutMsg |
( |
UINT | uMsg, |
|
|
DWORD | dwParam1, |
|
|
DWORD | dwParam2 ) |
|
protected |
◆ Play()
| HRESULT CSimplePlayer::Play |
( |
LPCWSTR | pszUrl, |
|
|
DWORD | dwSecDuration, |
|
|
HANDLE | hCompletionEvent, |
|
|
HRESULT * | phrCompletion ) |
|
virtual |
◆ QueryInterface()
| HRESULT STDMETHODCALLTYPE CSimplePlayer::QueryInterface |
( |
REFIID | riid, |
|
|
void ** | ppvObject ) |
|
virtual |
◆ Release()
| ULONG STDMETHODCALLTYPE CSimplePlayer::Release |
( |
| ) |
|
|
virtual |
◆ RemoveWaveHeaders()
| void CSimplePlayer::RemoveWaveHeaders |
( |
void | | ) |
|
|
protected |
◆ WaveProc()
| void CALLBACK CSimplePlayer::WaveProc |
( |
HWAVEOUT | hwo, |
|
|
UINT | uMsg, |
|
|
DWORD | dwInstance, |
|
|
DWORD | dwParam1, |
|
|
DWORD | dwParam2 ) |
|
staticprotected |
◆ [union]
◆ m_cBuffersOutstanding
| LONG CSimplePlayer::m_cBuffersOutstanding |
|
protected |
◆ m_cRef
| LONG CSimplePlayer::m_cRef |
|
protected |
◆ m_CriSec
| CRITICAL_SECTION CSimplePlayer::m_CriSec |
|
protected |
◆ m_fEof
| BOOL CSimplePlayer::m_fEof |
|
protected |
◆ m_hCloseEvent
| HANDLE CSimplePlayer::m_hCloseEvent |
|
protected |
◆ m_hCompletionEvent
| HANDLE CSimplePlayer::m_hCompletionEvent |
|
protected |
◆ m_hOpenEvent
| HANDLE CSimplePlayer::m_hOpenEvent |
|
protected |
◆ m_hrOpen
| HRESULT CSimplePlayer::m_hrOpen |
|
protected |
◆ m_hwo
| HWAVEOUT CSimplePlayer::m_hwo |
|
protected |
◆ m_pHeader
| IWMHeaderInfo* CSimplePlayer::m_pHeader |
|
protected |
◆ m_phrCompletion
| HRESULT* CSimplePlayer::m_phrCompletion |
|
protected |
◆ m_pReader
| IWMReader* CSimplePlayer::m_pReader |
|
protected |
◆ m_pszUrl
| LPWSTR CSimplePlayer::m_pszUrl |
|
protected |
◆ m_wfx
| WAVEFORMATEX CSimplePlayer::m_wfx |
◆ m_WfxBuf
| BYTE CSimplePlayer::m_WfxBuf[1024] |
◆ m_whdrHead
The documentation for this class was generated from the following files: