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

This commit is contained in:
Alexandre Julliard 2011-07-06 17:35:17 +02:00
parent 68c6f58e6e
commit 1f8a0eb40e
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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 */