IAVIEditStream::Cut method (vfw.h)

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

Syntax

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

Parameters

plStart

Pointer to a buffer that receives the starting position of the operation.

plLength

Pointer to a buffer that receives the length, in frames, of the operation.

ppResult

Pointer to a buffer that receives a pointer to the interface to the new stream.

Return value

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); 
 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib

See also

Custom File and Stream Handler Interfaces

Custom File and Stream Handlers