gdi32:add defines for GLYPHSET and WCRANGE

Louis. Lenders xerox_xerox2000 at yahoo.co.uk
Sat May 6 18:29:54 CDT 2006


Hi, quite some samples from codesamplers , like e.g.
http://www.codesampler.com/source/dx9_swap_chains.zip
currently fail with a message box "Call to
dxd3CreateFont failed" which is rather annoying for
testing. This was just before the messagebox: because
GetCharWidthI's procedure address could not be found
the messagebox popped up:

0009:Call kernel32.GetProcAddress(7f810000,7f8e17ec
"GetCharWidthI") ret=7f90d435
..some more..
0009:Ret  ntdll.LdrGetProcedureAddress()
retval=c000007a ret=7b859c6d
0009:Call ntdll.RtlNtStatusToDosError(c000007a)
ret=7b859c9d
0009:Ret  ntdll.RtlNtStatusToDosError()
retval=0000007f ret=7b859c9d
0009:Ret  kernel32.GetProcAddress() retval=00000000
ret=7f90d435

After adding a stub for GetCharWidthI it runs into
similar  problem with GetFontUnicodeRanges. Adding a
stub for this one as well makes the application start
happily.


this patch is for the defines, next one for the stubs.
see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_43ua.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/fontext_6cmq.asp


Changelog: add defines for GLYPHSET and WCRANGE


		
___________________________________________________________ 
24 FIFA World Cup tickets to be won with Yahoo! Mail http://uk.mail.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdi1.diff
Type: text/x-diff
Size: 610 bytes
Desc: 2134543401-gdi1.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060507/0b6886af/gdi1.diff


More information about the wine-patches mailing list