Contents Index Topic Contents | ||
Previous Topic: VwStreamCloseFunc Next Topic: VwStreamReadFunc |
VwStreamOpenFunc
Checks the validity of the specified file and returns information about the file parser.
Syntax
INT VwStreamOpenFunc( SOFILE hFile, INT wFileId, U_BYTE VWPTR *pFileName, SOFILTERINFO VWPTR *pFilterInfo, HPROC reserved );Parameters
- hFile
- Handle to 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.