HookPeek Adapter Description
Shown As "Unknown"
On Windows XP

 

Knowledge Base ID

KB04040101
Category CLOSED BUG

Effected Product

Rawether/WINDIS32  - Win32 NDIS Framework

Effected Versions

Prior to V5.00.13.50
Effected Platforms Windows XP Beta 2

 

Symptoms

The HookPeek application may display the adapter vendor description as "Unknown" when running under Windows XP.

 

Cause

The description string returned by querying OID_GEN_VENDOR_DESCRIPTION is much longer on Windows XP (Beta 2) then on previous Windows versions. The vendor description includes not only the actual adapter's description, but additional concatenated information describing NDIS Intermediate drivers that may be layered above it.

In addition, the description string has a large number of space characters between the base adapter description and the additional information that has been concatenated with it. In the example that PCAUSA tested the vendor description string was 114 characters in length:

"Realtek 8139-series PCI NIC                     (Microsoft Packet Scheduler)"

Some spaces omitted for readability...

HookPeek versions prior to V5.00.13.50 use a fixed-length (80 characters) character buffer for the adapter vendor description. Since the new descriptions are too long for this buffer, "Unknown" is displayed by default.

 

Interim Fix

You can modify the size of the m_szAdapterDriverDescription field of the HookAdapter structure defined in the HookUtil.h header to provide a larger buffer for the description:

Is:

char  m_szAdapterDriverDescription[ 80 ];

Should be:

char  m_szAdapterDriverDescription[ _MAX_PATH ];

The fix to be provided to accommodate this bug may be different. The final fix may dynamically size and allocate memory for the vendor description string.

Not also that the new Windows XP description string is almost unreadable because of its excessive length. Code may be provided to remove excessive space characters to improve readability.

 

Status

April 16, 2001 The fix to this bug is included in V5.00.13.50.
April 4, 2001 The fix to this bug will be included in the next Rawether release.

 

Keywords RAWETHER,WINDIS32, BUG
Created April 4, 2001
Last Reviewed April 16, 2001

 

Mailing Lists  · PCAUSA Newsletter · PCAUSA Discussion List
·
Privacy Statement · 
WinDis 32 is a trademark of Printing Communications Assoc., Inc. (PCAUSA).
Rawether for Windows and Rawether .NET are trademarks of Printing Communications Assoc., Inc. (PCAUSA).
Microsoft, MS, Windows, Windows 95, Windows 98, Windows Millennium, Windows 2000, Windows XP, and Win32 are registered trademarks and Visual C++ and Windows NT are trademarks of the Microsoft Corporation.
Send mail to rawether-webmaster@pcausa.com with questions or comments about this web site.
Copyright © 1996-2008 Printing Communications Assoc., Inc. (PCAUSA).
All rights reserved.
Last modified: December 31, 2007