Overview
Group
Quick Info

IAVIFile::Open

The Open method initializes a file handler. Called when an application uses the AVIFileOpen function.

HRESULT Open(

PAVISTREAM pf,

LPCSTR szFile,

UINT mode

);

Parameters

pf

Address to contain a pointer to the interface to a file.

szFile

Address of a null-terminated string that contains the filename.

mode

Flags for the open operation.

Return Values

Returns the HRESULT defined by OLE.

Remarks

This method is always the first method called, regardless of whether your application is reading or writing a file.

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

HRESULT Open(LPCSTR szFile, UINT mode);

See Also

AVIFileOpen

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database