INF: NetBIOS on Win32s Requires GlobalAlloc()'d Memory

PSS ID Number: Q110988
Article last modified on 04-29-1994

1.10
WINDOWS

----------------------------------------------------------------------
The information in this article applies to:

 - Microsoft Win32s version 1.1
----------------------------------------------------------------------

SUMMARY
=======
The Windows 3.1 NetBIOS VxD expects memory allocated for the NetBIOS
Control Block (NCB) and the data buffer (NCB.ncb_buffer) to be allocated
with GlobalAlloc(). The VxD will lock the specified memory page.
If a Win32 application running under Win32s passes the Netbios() command
virtual memory, Netbios() will return error 0x22, indicating that there are
too many commands outstanding. On Win32s, each piece of memory that might
pass through Netbios() must be allocated with GlobalAlloc().

Additional reference words: 1.10
KBCategory: Prg
KBSubcategory: W32s
=============================================================================
Copyright Microsoft Corporation 1994.