RUI_READ Enhancement for Receiving Large RUs (139784)
The information in this article applies to:
- Microsoft SNA Server 2.11, when used with:
- the operating system: Microsoft Windows NT
This article was previously published under Q139784 SYMPTOMS
If an LUA RUI application issues an RUI_READ request and passes a data
buffer that is smaller than the size of the RU being received, the RUI
interface returns a primary_rc of LUA_UNSUCCESSFUL and secondary_rc =
LUA_DATA_TRUNCATED. The RUI library returns as much data as possible to the
application's data buffer, but the remaining data in the RU is thrown away
and cannot be extracted on subsequent RUI_READ requests.
This forces the RUI application to allocate an RUI_READ data buffer large
enough to handle the full RU size.
To work around this restriction, an update to SNA Server 2.11 now supports
the ability for a Win32, Win 3.x and OS/2 RUI application to receive
primary_rc = LUA_OK and secondary_rc = LUA_DATA_INCOMPLETE (0x00000060)
on an RUI_READ call, so it can continue to repost new RUI_READs receive
the remainder of the data.
NOTE: This enhancement has not been accepted as part of the Microsoft
WOSA LUA API standard.
Microsoft has updated the following files for this enhancement:
Client Platforms Updated Files
-----------------------------------------------------------
Win32 clients <snaroot>\system\WINRUI32.DLL
Windows 3.x clients <winroot>\system\WINRUI.DLL
OS/2 clients <snaroot>\ACSRUI.DLL
MS-DOS clients <sdk>\LIB\MSDOS\DOSACS.LIB
SDK file \SDK\INC\WINLUA.H
STATUS
This feature is included in the latest U.S. Service Pack for SNA Server for
Windows NT, version 2.11. For information on obtaining the Service Pack,
query on the following word in the Microsoft Knowledge Base (without the
spaces):
Modification Type: | Major | Last Reviewed: | 10/23/2003 |
---|
Keywords: | kbbug kbfix KB139784 |
---|
|