Group: Windows Multimedia - Library: avifil32
The AVIFileOpen function opens an AVI file and returns the address of a file interface used to access it.
Reading header information from AVI file
Reading parameters of streams in AVI file
How to play AVI file on the _screen
Adding supplementary data to AVI files
How to extract frames from AVI files
STDAPI AVIFileOpen(
PAVIFILE * ppfile,
LPCTSTR szFile,
UINT mode,
CLSID pclsidHandler
);
DECLARE INTEGER AVIFileOpen IN avifil32;
INTEGER @ ppfile,;
STRING szFile,;
INTEGER mode,;
INTEGER pclsidHandler
ppfile Pointer to a buffer that receives the new IAVIFile interface pointer.
szFile Null-terminated string containing the name of the file to open.
mode Access mode to use when opening the file.
pclsidHandler Pointer to a class identifier of the standard or custom handler you want to use.
Returns zero if successful or an error otherwise.