Solved

ExtTextOutW under Windows 95

Posted on 1997-03-05
1
322 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SAPE.heur.AE935 Visual Studio 3 46
Strange - Deleted Resource Info appears in Azure Portal 6 90
Best book to learn C++ 4 78
What .NET URL re-routing tool did I use? 2 54
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

813 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

14 Experts available now in Live!

Get 1:1 Help Now