Win32s and LAN Manager APIsLast reviewed: November 2, 1995Article ID: Q109204 |
The information in this article applies to:
NOTE: Win32s provides support for NetBIOS and Windows Sockets. There is a NETAPI32.DLL shipping with Win32s. However, this doesn't have support for Microsoft LAN Manager application programming interfaces (APIs). This is not a bug because LAN Manager APIs are not supported on Win32s. However, if NETAPI32.DLL is not in the system and an application uses LAN Manager APIs, the application will not load because the loader cannot resolve the entry-points from the nonexistent dynamic-link library (DLL). One of the solutions is to use Universal Thunks. Using Universal Thunks, calls can be made to 16-bit DLLs. Therefore, the 16-bit NETAPI.DLL that ships with LAN Manager can be accessed by this mechanism. Sample programs using Universal Thunks are provided in the Win32 SDK and the Visual C++ SDK. The sample on the Win32 SDK is in the MSTOOLS\WIN32S\UT\SAMPLES directory. On the Visual C++ 32-bit Edition CD-ROM, the sample is located in the MSVC32S\WIN32S\UT\SAMPLES directory.
|
Additional reference words: 1.00 1.10 1.20
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |