Solved

ExtTextOutW under Windows 95

Posted on 1997-03-05
1
313 Views
Last Modified: 2013-12-04
Dear Experts,

  As far as I know, most of the GDI API functions (32bit)
  under Windows 95 is thunked to the corresponding 16 bit
  GDI functions (GDI.EXE). For example, ExtTextOutA (the
  non-unicode version) is thunked to ExtTextOut of the 16
  bit version.
 
  The question is whether the Unicode version of ExtTextOut
  (i.e. ExtTextOutW) is thunked to a corresponding function
  in the 16 bit DLL (GDI.EXE) ? What is the function then?
  And what is the structure of the function?

  Or, is this unicode function is handled in the 32 bit
  DLL (GDI32.DLL)?

  Is there any documentation on this type of information?

  Thanks

 
0
Comment
Question by:gcschong
1 Comment
 

Accepted Solution

by:
JohnL earned 100 total points
Comment Utility
While there might be a GDI 32-bit function that is handled entirely in gdi32.dll, I haven't found one yet.  Even simple functions that never leave GDI such as MoveTo thunk down to gdi.exe.

ExtTextOutW thunks to the 16-bit ExtTextOut, just like ExtTextOutA does.  It signals 16-bit ETO by a value set
in CX.  The 16-bit ETO uses its UnicodeToAnsi function
to parse the string.  If you look at it, all ETOW does is
load CX with the different value and then jump into ETOA.

There's no documentation on this stuff. Microsoft doesn't think that you need to know it. I discovered most of this stuff while writing a 32-bit gdi32.dll bypass (patch).
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now