IAVIEditStream::Cut

The Cut method removes a portion of a stream and places it in a temporary stream. Called when an application uses the EditStreamCut function.

HRESULT Cut(
  PAVISTREAM pavi,     
  LONG *plStart,       
  LONG *plLength,      
  PAVISTREAM ppResult  
);
 

Parameters

pavi
Address of the interface to the stream to cut.
plStart
Address that contains the starting position of the operation.
plLength
Address that contains the length, in frames, of the operation.
ppResult
Address to contain a pointer to the interface to the new stream.

Return Values

Returns the HRESULT defined by OLE.

Remarks

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

HRESULT Cut(LONG *plStart, LONG *plLength, 
    PAVISTREAM *ppResult); 
 

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Import Library: Use vfw32.lib.

See Also

Custom File and Stream Handlers Overview, Custom File and Stream Handler Interfaces, EditStreamCut