IltmmCapture::put_TargetStream Example for C++

void SetTargetToMemoryObject(IltmmMemory* pMem) 
{
   m_pCapture->ResetTarget();
   m_pCapture->put_TargetStream (pMem); 
}