DOCERR: CreateFile() and Mailslots (131493)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Workstation 3.5
This article was previously published under Q131493 SUMMARY
The documentation for CreateFile() API gives incorrect possible return
values while opening a client end of a mailslot. The documentation states:
If CreateFile opens the client end of a mailslot, the function always
returns a valid handle, even if the mailslot does not exist.
In other words, there is no relationship between opening the client
end and opening the server end of the mailslot.
Actually, CreateFile() returns INVALID_HANDLE_VALUE for a mailslot if the
mailslot client is being created using the "\\." notation to communicate
with a mailslot server on the local system when the server is not up and
running.
Modification Type: | Major | Last Reviewed: | 4/12/2004 |
---|
Keywords: | kbAPI kbdocerr kbIPC kbMailslot kbnetwork KB131493 |
---|
|