Win32 RECEIVE_AND_POST Uses an Event Handle, Not a Semaphore

Last reviewed: November 28, 1995
Article ID: Q139211
The information in this article applies to:
  • Microsoft SNA Server for Windows NT, versions 2.0, 2.1 and 2.11

The SNA Server APPC Programmer's Guide included with SNA Server 2.0, 2.1 and 2.11 incorrectly documents a sema parameter in the description of the [MC_]RECEIVE_AND_POST function.

On Windows NT, the sema parameter is an auto-reset event object obtained by calling either the CreateEvent or OpenEvent Win32 functions. Because the Win32 APPC interface uses an auto-reset event object, the application does not need to manage the state of the event when calling [MC_]RECEIVE_AND_POST.

On OS/2, the sema parameter is either a RAM or system semaphore.

This correction is documented in the SNA Server 2.11 Enhancements Guide.


KBCategory: kbnetwork kbprg kbdocerr
KBSubcategory: ntnetserv
Additional reference words: prodsna 2.11


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.