Freigeben über


IAVIEditStream::Clone

The Clone method duplicates a stream. Called when an application uses the EditStreamClone function.

HRESULT Clone(
  PAVISTREAM pavi,      
  PAVISTREAM *ppResult  
);
 

Parameters

pavi

Pointer to the interface to the stream being cloned.

ppResult

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

Return Values

The method returns the HRESULT defined by OLE.

Remarks

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

HRESULT Clone(PAVISTREAM *ppResult); 
 

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, EditStreamClone