AVIStreamFormatSize macro

The AVIStreamFormatSize macro determines the buffer size, in bytes, needed to store format information for a sample in a stream.

Syntax


HRESULT AVIStreamFormatSize(
    pavi,
    lPos,
    plSize
);

Parameters

pavi

Handle to an open stream.

lPos

Position of a sample in the stream.

plSize

Address to contain the buffer size.

Return value

Returns zero if successful or an error otherwise.

Remarks

The AVIStreamFormatSize macro is defined as follows:



#define AVIStreamFormatSize(pavi, lPos, plSize) \ 
    AVIStreamReadFormat(pavi, lPos, NULL, plSize) 


Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

AVIFile Functions and Macros
AVIFile Macros

 

 

Show: