EditStreamSetInfoA function (vfw.h)
The EditStreamSetInfo function changes characteristics of an editable stream.
Syntax
HRESULT EditStreamSetInfoA(
PAVISTREAM pavi,
LPAVISTREAMINFOA 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
- dwRate
- dwQuality
- dwScale
- dwStart
- rcFrame
- szName
- wLanguage
- wPriority
Note
The vfw.h header defines EditStreamSetInfo as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
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 |