Help and Support

Article ID: 272493 - Last Review: February 21, 2007 - Revision: 3.2

USB WritePort Does Not Set dwDataCompleted to 0 When Allocating New Buffer If Data Size Is Variable

This article was previously published under Q272493
Expand all | Collapse all

SYMPTOMS

When you attempt to print to some Hewlett-Packard Universal Serial Bus (USB) printers, some of the data sent to the printer may be lost.

CAUSE

If the WritePort buffer size is larger than the buffer that was used on the previous call, the first buffer is freed and a new one is allocated. However, dwDataCompleted does not get reset to 0. This could cause data loss to the printer port.

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
260910  (http://support.microsoft.com/kb/260910/EN-US/ ) How to Obtain the Latest Windows 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.

APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbbug kbfix kbwin2000presp2fix KB272493

Article Translations

 

Related Support Centers