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 | |
|
); |
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 |