Return value GetStockObject

Fabian Cenedese Cenedese at indel.ch
Wed Aug 28 10:10:23 CDT 2002


Hi again

In my app I try to get a handle to a system font with following call:
HGDIOBJ hobj=GetStockObject(ANSI_FIXED_FONT);
If the call succeeds it should return a handle to the requested object,
otherwise zero. In Windows I get something like 0x018A000E (looks ok),
but in Wine I get 0x0000009E. Even not zero I can't imagine that this is
a valid handle (address). ANSI_FIXED_FONT is never really used in Wine,
only SYSTEM_FONT.
Is this an error or am I barking up the wrong tree?

Thanks

Fabi






More information about the wine-devel mailing list