Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAVIFile::Info method

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

Syntax


HRESULT Info(
   PAVISTREAM  pf,
   AVIFILEINFO *pfi,
   LONG        lSize
);

Parameters

pf

Pointer to the interface to a file.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

See also

Custom File and Stream Handlers
Custom File and Stream Handler Interfaces

 

 

Show: