NetFileGetInfo() Returns "Error File Not Found" When Expected to Return "Error Invalid Level" (289173)
The information in this article applies to:
- Microsoft Windows 2000 Server SP1
- Microsoft Windows 2000 Advanced Server SP1
- Microsoft Windows 2000 Professional SP1
This article was previously published under Q289173 SYMPTOMS
When the NetFileGetInfo function for Windows 2000 calls the API with an invalid level number (a level number other than 2 or 3), the function returns ERROR_FILE_NOT_FOUND instead of ERROR_INVALID_LEVEL.
CAUSE
This behavior occurs because the NetFileGetInfo function incorrectly returns ERROR_FILE_NOT_FOUND when the number of files read is zero.
RESOLUTIONTo resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
This problem was first corrected in Windows 2000 Service Pack 2.MORE INFORMATION
The NetFileGetInfo function retrieves information about a particular opening of a server resource.
Modification Type: | Major | Last Reviewed: | 11/20/2003 |
---|
Keywords: | kbbug kbfix kbProgramming KB289173 |
---|
|