IAVIFile::Info method (vfw.h)

The Info method returns with information about an AVI file. Called when an application uses the AVIFileInfo function.

Syntax

HRESULT Info(
  AVIFILEINFOW *pfi,
  LONG         lSize
);

Parameters

pfi

A pointer to an AVIFILEINFO structure. The method fills the structure with information about the file.

lSize

The size, in bytes, of the buffer specified by pfi.

Return value

Returns the HRESULT defined by OLE.

Remarks

If the buffer allocated is too small for the structure, this method should fail the call by returning AVIERR_BUFFERTOOSMALL. Otherwise, it should fill the structure and return its size.

For handlers written in C++, Info has the following syntax:


HRESULT Info(AVIFILEINFO *pfi, LONG lSize) 
 

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

See also

Custom File and Stream Handler Interfaces

Custom File and Stream Handlers