IAVIFile::EndRecord

The EndRecord method writes the "REC" chunk in a tightly interleaved AVI file (having a one-to-one interleave factor of audio to video). Called when an application uses the AVIFileEndRecord function.

HRESULT EndRecord(
  PAVISTREAM pf  
);

Parameters

pf

Pointer to the interface to a file.

Return Values

Returns the HRESULT defined by OLE.

Remarks

This file handler method is typically not used.

For handlers written in C++, EndRecord has the following syntax:

HRESULT EndRecord(VOID); 
 

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.

See Also

Custom File and Stream Handlers, Custom File and Stream Handler Interfaces, AVIFileEndRecord