EditStreamSetInfo

The EditStreamSetInfo function changes characteristics of an editable stream.

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

Parameters

pavi

Handle to an open stream.

lpInfo

Pointer to 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

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

See Also

AVISTREAMINFO, AVIStreamInfo

See Also

AVIFile Functions and Macros, AVIFile Functions

Show: