Microsoft KB Archive/139211

= Win32 RECEIVE_AND_POST Uses an Event Handle, Not a Semaphore =

Article ID: 139211

Article Last Modified on 12/5/2003

-

APPLIES TO


 * Microsoft SNA Server 2.0, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 2.1, when used with:
 * Microsoft Windows NT 4.0
 * Microsoft SNA Server 3.0, when used with:
 * Microsoft Windows NT 4.0

-



This article was previously published under Q139211



SUMMARY
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.

Additional query words: prodsna 2.11

Keywords: kbinfo KB139211

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.