IAVIEditStream::SetInfo

The SetInfo method changes the characteristics of a stream. Called when an application uses the EditStreamSetInfo function.

HRESULT SetInfo(
  PAVISTREAM pavi,        
  AVISTREAMINFO *lpInfo,  
  LONG cbInfo             
);
 

Parameters

pavi
Address of the interface to a stream.
lpInfo
Address of an AVISTREAMINFO structure containing the new stream characteristics.
cbInfo
Size, in bytes, of the buffer.

Return Values

Returns the HRESULT defined by OLE.

Remarks

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

HRESULT SetInfo(AVISTREAMINFO *lpInfo, LONG cbInfo); 
 

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, EditStreamSetInfo, AVISTREAMINFO