[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

ExtTextOutW under Windows 95

Posted on 1997-03-05
1
Medium Priority
?
342 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 200 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

834 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