EditStreamSetInfoW function

The EditStreamSetInfo function changes characteristics of an editable stream.

Syntax

HRESULT EditStreamSetInfoW(
  PAVISTREAM       pavi,
  LPAVISTREAMINFOW 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 Value

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

   
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
DLL Avifil32.dll

See Also

AVIFile Functions

AVIFile Functions and Macros