Share via


IAVIStream::Delete

The Delete method deletes data from a stream.

HRESULT Delete(
  PAVISTREAM ps, 
  LONG lStart,   
  LONG lSamples  
);

Parameters

ps

Pointer to the interface to a stream.

lStart

Starting sample or frame number to delete.

lSamples

Number of samples to delete.

Return Values

Returns the HRESULT defined by OLE.

Remarks

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

HRESULT Delete(LONG lStart, LONG lSamples); 
 

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