|
发表于 2010-5-25 20:53:04
|
显示全部楼层
If an error occurs, OpenFile returns –1 and sets the last error status to one of the following values. To get the last error status, call GetFmtIOError.
FmtIOMaxFilesErr 256 files open already.
FmtIOInvalArgErr Filename is NULL or contains only whitespace.
FmtIOInvalArgErr Invalid Read/Write Mode, Action, or File Type.
In addition, OpenFile sets the error status to a system–dependent value if an error occurs opening the file. For more information about these values, see the library help. |
|