Commit 1f8a0eb4 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Move GET_DC_PHYSDEV back to gdi_private.h, it can't be used from external drivers.

parent 68c6f58e
......@@ -273,6 +273,9 @@ static inline INT GDI_ROUND(double val)
return (int)floor(val + 0.5);
}
#define GET_DC_PHYSDEV(dc,func) \
get_physdev_entry_point( (dc)->physDev, FIELD_OFFSET(struct gdi_dc_funcs,func))
/* bitmap object */
typedef struct tagBITMAPOBJ
......
......@@ -200,7 +200,7 @@ static inline PHYSDEV get_physdev_entry_point( PHYSDEV dev, size_t offset )
return dev;
}
#define GET_DC_PHYSDEV(dc,func) get_physdev_entry_point( (dc)->physDev, FIELD_OFFSET(DC_FUNCTIONS,func))
#define GET_NEXT_PHYSDEV(dev,func) get_physdev_entry_point( (dev)->next, FIELD_OFFSET(DC_FUNCTIONS,func))
#define GET_NEXT_PHYSDEV(dev,func) \
get_physdev_entry_point( (dev)->next, FIELD_OFFSET(struct gdi_dc_funcs,func))
#endif /* __WINE_WINE_GDI_DRIVER_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment