EditStreamSetInfo

The EditStreamSetInfo function changes characteristics of an editable stream.

SDTAPI EditStreamSetInfo(
  PAVISTREAM pavi,         
  AVISTREAMINFO * lpInfo,  
  LONG cbInfo              
);
 

Parameters

pavi
Handle of an open stream.
lpInfo
Address of an AVISTREAMINFO structure containing new information.
cbInfo
Size, in bytes, of the structure pointed to by lpInfo.

Return Values

Returns zero if successful or an error otherwise.

Remarks

You must supply information for the entire AVISTREAMINFO structure, including the members you will not use. You can use the AVIStreamInfo function to initialize the structure and then update selected members with your data.

This function does not change the following members:

dwCaps
dwEditCount
dwFlags
dwInitialFrames
dwLength
dwSampleSize
dwSuggestedBufferSize
fccHandler
fccType

The function changes the following members:

dwRate
dwQuality
dwScale
dwStart
rcFrame
szName
wLanguage
wPriority

Seee Also

AVISTREAMINFO, AVIStreamInfo

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.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT.

See Also

AVIFile Functions and Macros Overview, AVIFile Functions