Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 1.35 KB

AVIFileOpen.md

File metadata and controls

62 lines (44 loc) · 1.35 KB

Home

Function name : AVIFileOpen

Group: Windows Multimedia - Library: avifil32


The AVIFileOpen function opens an AVI file and returns the address of a file interface used to access it.


Code examples:

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

Declaration:

STDAPI AVIFileOpen(
  PAVIFILE * ppfile,
  LPCTSTR szFile,
  UINT mode,
  CLSID  pclsidHandler
);  

FoxPro declaration:

DECLARE INTEGER AVIFileOpen IN avifil32;
	INTEGER @ ppfile,;
	STRING    szFile,;
	INTEGER   mode,;
	INTEGER   pclsidHandler
  

Parameters:

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.


Return value:

Returns zero if successful or an error otherwise.