Microsoft KB Archive/272493

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

Article ID: 272493

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q272493



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 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.

Keywords: kbbug kbfix kbwin2000presp2fix KB272493

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.