Solved

ExtTextOutW under Windows 95

Posted on 1997-03-05
1
331 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
JohnL earned 100 total points
ID: 1298723
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared 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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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