22#pragma comment(lib, "dmoguids.lib")
49 if (riid==IID_IUnknown) {
51 *ppv = (IUnknown*)
this;
54 else if (riid==IID_IMediaBuffer) {
56 *ppv = (IMediaBuffer*)
this;
59 else return E_NOINTERFACE;
71 if (ppData!=NULL) *ppData = (BYTE*)
m_pBuffer->buf;
72 if (pLength!=NULL) *pLength = (DWORD)
m_pBuffer->vldsz;
std::stack< CWinMediaBuffer * > MediaBufferStack
std::queue< CWinMediaBuffer * > MediaBufferQueue