BUG: ReadFile Returns Wrong Error Code for MailslotsLast reviewed: November 16, 1995Article ID: Q139715 |
The information in this article applies to:
SYMPTOMSIf a server opens a Mailslot using CreateMailslot(), specifies a timeout, and then uses ReadFile to recieve data, the ReadFile will fail if there is no data available. GetLastError() returns an error code of 5 (access denied).
RESOLUTIONInterpret this error code to mean that no data is available.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are reasearching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
|
Additional reference words: 4.00 Windows 95
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |