Index   Commented   Search   About

VwStreamOpenFunc

Checks the validity of the specified file and returns information about the file parser.

INT VwStreamOpenFunc(

SOFILE hFile,

INT wFileId,

U_BYTE VWPTR *pFileName,

SOFILTERINFO VWPTR *pFilterInfo,

HPROC reserved

);

Parameters

hFile

Handle of the file for execute input and output (XIO) routines.

wFileId

Identifier for the file.

pFileName

Address of the null-terminated string specifying the base name of the file. This string does not include path information.

pFilterInfo

Address of the SOFILTERINFO structure that receives information about the file parser.

reserved

Reserved; do not use.

Return Values

Returns the VWERR_OK value if successful or one of the following error values otherwise:

VWERR_BADFILE
Corrupt or unreadable file
VWERR_EMPTYFILE
Empty file
VWERR_PROTECTEDFILE
Password-protected or encrypted file
VWERR_SUPFILEOPENFAILS
Supplementary file failed to open

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun