Microsoft Knowledge Base Email Alertz

(152380) - Wordpad and Notepad for Windows 95, Windows 98, or Windows Millennium Edition (Me) do not request the size of the DEVMODE structure when the printer driver is not the default driver.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 152380 - Last Review: February 12, 2007 - Revision: 2.2

BUG: WORDPAD/NOTEPAD for WIN95, WIN98, WINME Do Not Request Size of DEVMO

This article was previously published under Q152380

SUMMARY

Wordpad and Notepad for Windows 95, Windows 98, or Windows Millennium Edition (Me) do not request the size of the DEVMODE structure when the printer driver is not the default driver.

MORE INFORMATION

When you change the default printer driver from the Print Setup dialog box in Wordpad or Notepad, do not request the size of the DEVMODE structure. Instead of calling the printer drivers ExtDeviceMode function with wMode = 0 first, and then calling ExtDeviceMode function with wMode = 10 (DM_COPY and DM_MODIFY), both Wordpad and Notepad call the ExtDeviceMode function with wMode = 10 directly.

This is incorrect. All applications are first required to request the size of DEVMODE structure and then call ExtDeviceMode with the DM_COPY and DM_MODIFY flags set.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We will post new information here in the Microsoft Knowledge Base as it becomes available.

APPLIES TO
  • Microsoft Windows 95 Driver Development Kit (DDK)
  • Microsoft Windows 98 Driver Development Kit (DDK)
  • Microsoft Windows Millennium Edition Driver Development Kit
Keywords: 
kbprint KB152380
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate