Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/92514

From BetaArchive Wiki

INFO: Use of DocumentProperties() vs. ExtDeviceMode()

Q92514

3.10 3.50 3.51 4.00 | 4.00 WINDOWS NT | WINDOWS kbprint



The information in this article applies to:


  • Microsoft Win32 Application Programming Interface (API), used with:
    • Microsoft Windows NT Server versions 3.5, 3.51, 4.0
    • Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
    • Microsoft Windows 95





SUMMARY

Windows-based applications have used ExtDeviceMode() to retrieve or modify device initialization information for printer drivers. The Win32 API introduces a new function DocumentProperties() that applications can use to configure the settings of the printer.

Note that ExtDeviceMode() calls DocumentProperties(); therefore, it is faster for applications to use DocumentProperties() directly.

Specifying the DM_UPDATE mask allows an application to change printer settings when using DocumentProperties(). Applications should be aware that the GetProcAddress() function is now case sensitive.

Windows-based applications running on Windows NT (WOW) can call ExtDeviceMode(). The spooler's ExtDeviceMode() entry is intended for WOW use.

Additional query words: 3.10 4.00 DEVMODE print setup setting

Keywords : kbOSWinNT350 kbOSWinNT351 kbOSWinNT400 kbSDKWin32 kbOSWin95 kbDSupport
Issue type : kbinfo
Technology : kbAudDeveloper kbWin32sSearch kbWin32API


Last Reviewed: December 16, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.