Overview
Group
Quick Info

AVIStreamSetFormat

The AVIStreamSetFormat function sets the format of a stream at the specified position.

STDAPI AVIStreamSetFormat(

PAVISTREAM pavi,

LONG lPos,

LPVOID lpFormat,

LONG cbFormat

);

Parameters

pavi

Handle of an open stream.

lPos

Position in the stream to receive the format.

lpFormat

Address of a structure containing the new format.

cbFormat

Size, in bytes, of the block of memory referenced by lpFormat.

Return Values

Returns zero if successful or an error otherwise.

Remarks

The handler for writing AVI files does not accept format changes. Besides setting the initial format for a stream, only changes in the palette of a video stream are allowed in an AVI file. The palette change must occur after any frames already written to the AVI file. Other handlers might impose different restrictions.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database