GetDeliveryBuffer 问题
CBaseOutputPin::GetDeliveryBuffer 的时候怎么会出现这错误 CO_E_FAILEDTOGETWINDIR
//
// MessageId: CO_E_FAILEDTOGETWINDIR
//
// MessageText:
//
// Unable to obtain the Windows directory
//
#define CO_E_FAILEDTOGETWINDIR _HRESULT_TYPEDEF_(0x80040211L)
这是由什么引起的啊
IMediaSample *pmediasample; BYTE * buf; unsigned long state; state=(unsigned long)((recv->pfilter)->m_output)->GetDeliveryBuffer(&pmediasample,NULL,NULL,0 );//AM_GBF_PREVFRAMESKIPPED pmediasample->GetPointer(&buf); memcpy(buf,buffer->GetBuffer(),strlen((char *)buffer->GetBuffer())); ((recv->pfilter)->m_output)->Deliver(pmediasample); //使用完毕重新放入缓冲池中 buffer->Release(); return TRUE;