Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 696 of file editstream.c.
{ IAVIEditStreamImpl *This = impl_from_IAVIStream( iface ); if (lParam2 != 0) return AVIERR_ERROR; if (This->pStreams == NULL) { This->pStreams = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, 256 * sizeof(EditStreamTable)); if (This->pStreams == NULL) return AVIERR_MEMORY; This->nTableSize = 256; } if (lParam1 != 0) { IAVIStream_Info((PAVISTREAM)lParam1, &This->sInfo, sizeof(This->sInfo)); IAVIStream_AddRef((PAVISTREAM)lParam1); This->pStreams[0].pStream = (PAVISTREAM)lParam1; This->pStreams[0].dwStart = This->sInfo.dwStart; This->pStreams[0].dwLength = This->sInfo.dwLength; This->nStreams = 1; } return AVIERR_OK; }