Article ID: 289173 - View products that this article applies to.
This article was previously published under Q289173
This article has been archived. It is offered "as is" and will no longer be updated.
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.
This behavior occurs because the NetFileGetInfo function incorrectly returns ERROR_FILE_NOT_FOUND when the number of files read is zero.
To 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:
(http://support.microsoft.com/kb/260910/EN-US/ )How to Obtain the Latest Windows 2000 Service Pack
Microsoft 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.
The NetFileGetInfo function retrieves information about a particular opening of a server resource.
Contact us for more help