[PATCH 4/6] gdi32: Get stock objects directly from GDI_SHARED_MEMORY in GetStockObject.
3 Sep
2021
3 Sep
'21
12:29 p.m.
Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> --- dlls/gdi32/gdiobj.c | 131 ++++++++++++++++++------------------------- dlls/gdi32/objects.c | 52 +++++++++++++++++ 2 files changed, 107 insertions(+), 76 deletions(-)
3 Sep
3 Sep
1:01 p.m.
On Fri, Sep 03, 2021 at 02:29:08PM +0200, Jacek Caban wrote:
-static HGDIOBJ make_stock_object( HGDIOBJ obj ) +static void init_stock_objects(void) { - GDI_HANDLE_ENTRY *entry; + const struct DefaultFontInfo *deffonts; + unsigned int i; + HGDIOBJ obj; + + /* Create stock objects on order matching stock object macros, + * so that they use predictable handle slots. Our GetStockObject + * depends on it. */
s/on order/in order/ I've sent in v2. Huw.
1563
Age (days ago)
1563
Last active (days ago)
1 comments
2 participants
participants (2)
-
Huw Davies -
Jacek Caban