gdi32: Make the BITMAPINFO parameters non-const in driver entry points since we are always passing a copy.
This commit is contained in:
parent
62dca77bb3
commit
a0f1b20464
|
@ -385,7 +385,7 @@ fail:
|
||||||
/* nulldrv fallback implementation using SetDIBits/StretchBlt */
|
/* nulldrv fallback implementation using SetDIBits/StretchBlt */
|
||||||
INT nulldrv_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT heightDst,
|
INT nulldrv_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT heightDst,
|
||||||
INT xSrc, INT ySrc, INT widthSrc, INT heightSrc, const void *bits,
|
INT xSrc, INT ySrc, INT widthSrc, INT heightSrc, const void *bits,
|
||||||
const BITMAPINFO *info, UINT coloruse, DWORD rop )
|
BITMAPINFO *info, UINT coloruse, DWORD rop )
|
||||||
{
|
{
|
||||||
DC *dc = get_nulldrv_dc( dev );
|
DC *dc = get_nulldrv_dc( dev );
|
||||||
INT ret;
|
INT ret;
|
||||||
|
|
|
@ -225,7 +225,7 @@ static BOOL nulldrv_CreateDC( HDC hdc, PHYSDEV *dev, LPCWSTR driver, LPCWSTR dev
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HBITMAP nulldrv_CreateDIBSection( PHYSDEV dev, HBITMAP bitmap, const BITMAPINFO *info, UINT usage )
|
static HBITMAP nulldrv_CreateDIBSection( PHYSDEV dev, HBITMAP bitmap, BITMAPINFO *info, UINT usage )
|
||||||
{
|
{
|
||||||
return bitmap;
|
return bitmap;
|
||||||
}
|
}
|
||||||
|
@ -504,7 +504,7 @@ static UINT nulldrv_SetDIBColorTable( PHYSDEV dev, UINT pos, UINT count, const R
|
||||||
|
|
||||||
static INT nulldrv_SetDIBitsToDevice( PHYSDEV dev, INT x_dst, INT y_dst, DWORD width, DWORD height,
|
static INT nulldrv_SetDIBitsToDevice( PHYSDEV dev, INT x_dst, INT y_dst, DWORD width, DWORD height,
|
||||||
INT x_src, INT y_src, UINT start, UINT lines,
|
INT x_src, INT y_src, UINT start, UINT lines,
|
||||||
const void *bits, const BITMAPINFO *info, UINT coloruse )
|
const void *bits, BITMAPINFO *info, UINT coloruse )
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -171,7 +171,7 @@ BOOL EMFDRV_StretchBlt( PHYSDEV devDst, struct bitblt_coords *dst,
|
||||||
|
|
||||||
INT EMFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT heightDst,
|
INT EMFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT heightDst,
|
||||||
INT xSrc, INT ySrc, INT widthSrc, INT heightSrc, const void *bits,
|
INT xSrc, INT ySrc, INT widthSrc, INT heightSrc, const void *bits,
|
||||||
const BITMAPINFO *info, UINT wUsage, DWORD dwRop )
|
BITMAPINFO *info, UINT wUsage, DWORD dwRop )
|
||||||
{
|
{
|
||||||
EMRSTRETCHDIBITS *emr;
|
EMRSTRETCHDIBITS *emr;
|
||||||
BOOL ret;
|
BOOL ret;
|
||||||
|
@ -228,7 +228,7 @@ INT EMFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT hei
|
||||||
|
|
||||||
INT EMFDRV_SetDIBitsToDevice( PHYSDEV dev, INT xDst, INT yDst, DWORD width, DWORD height,
|
INT EMFDRV_SetDIBitsToDevice( PHYSDEV dev, INT xDst, INT yDst, DWORD width, DWORD height,
|
||||||
INT xSrc, INT ySrc, UINT startscan, UINT lines,
|
INT xSrc, INT ySrc, UINT startscan, UINT lines,
|
||||||
LPCVOID bits, const BITMAPINFO *info, UINT wUsage )
|
LPCVOID bits, BITMAPINFO *info, UINT wUsage )
|
||||||
{
|
{
|
||||||
EMRSETDIBITSTODEVICE* pEMR;
|
EMRSETDIBITSTODEVICE* pEMR;
|
||||||
DWORD bmiSize = bitmap_info_size(info, wUsage);
|
DWORD bmiSize = bitmap_info_size(info, wUsage);
|
||||||
|
|
|
@ -120,7 +120,7 @@ extern COLORREF EMFDRV_SetDCBrushColor( PHYSDEV dev, COLORREF color ) DECLSPEC_H
|
||||||
extern COLORREF EMFDRV_SetDCPenColor( PHYSDEV dev, COLORREF color ) DECLSPEC_HIDDEN;
|
extern COLORREF EMFDRV_SetDCPenColor( PHYSDEV dev, COLORREF color ) DECLSPEC_HIDDEN;
|
||||||
extern INT EMFDRV_SetDIBitsToDevice( PHYSDEV dev, INT xDest, INT yDest, DWORD cx, DWORD cy, INT xSrc,
|
extern INT EMFDRV_SetDIBitsToDevice( PHYSDEV dev, INT xDest, INT yDest, DWORD cx, DWORD cy, INT xSrc,
|
||||||
INT ySrc, UINT startscan, UINT lines, LPCVOID bits,
|
INT ySrc, UINT startscan, UINT lines, LPCVOID bits,
|
||||||
const BITMAPINFO *info, UINT coloruse ) DECLSPEC_HIDDEN;
|
BITMAPINFO *info, UINT coloruse ) DECLSPEC_HIDDEN;
|
||||||
extern DWORD EMFDRV_SetLayout( PHYSDEV dev, DWORD layout ) DECLSPEC_HIDDEN;
|
extern DWORD EMFDRV_SetLayout( PHYSDEV dev, DWORD layout ) DECLSPEC_HIDDEN;
|
||||||
extern INT EMFDRV_SetMapMode( PHYSDEV dev, INT mode ) DECLSPEC_HIDDEN;
|
extern INT EMFDRV_SetMapMode( PHYSDEV dev, INT mode ) DECLSPEC_HIDDEN;
|
||||||
extern DWORD EMFDRV_SetMapperFlags( PHYSDEV dev, DWORD flags ) DECLSPEC_HIDDEN;
|
extern DWORD EMFDRV_SetMapperFlags( PHYSDEV dev, DWORD flags ) DECLSPEC_HIDDEN;
|
||||||
|
@ -140,8 +140,7 @@ extern BOOL EMFDRV_StretchBlt( PHYSDEV devDst, struct bitblt_coords *dst,
|
||||||
PHYSDEV devSrc, struct bitblt_coords *src, DWORD rop ) DECLSPEC_HIDDEN;
|
PHYSDEV devSrc, struct bitblt_coords *src, DWORD rop ) DECLSPEC_HIDDEN;
|
||||||
extern INT EMFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT heightDst,
|
extern INT EMFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT heightDst,
|
||||||
INT xSrc, INT ySrc, INT widthSrc, INT heightSrc,
|
INT xSrc, INT ySrc, INT widthSrc, INT heightSrc,
|
||||||
const void *bits, const BITMAPINFO *info,
|
const void *bits, BITMAPINFO *info, UINT wUsage, DWORD dwRop ) DECLSPEC_HIDDEN;
|
||||||
UINT wUsage, DWORD dwRop ) DECLSPEC_HIDDEN;
|
|
||||||
extern BOOL EMFDRV_StrokeAndFillPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL EMFDRV_StrokeAndFillPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL EMFDRV_StrokePath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL EMFDRV_StrokePath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL EMFDRV_WidenPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL EMFDRV_WidenPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -510,7 +510,7 @@ extern BOOL nulldrv_StretchBlt( PHYSDEV dst_dev, struct bitblt_coords *dst,
|
||||||
PHYSDEV src_dev, struct bitblt_coords *src, DWORD rop ) DECLSPEC_HIDDEN;
|
PHYSDEV src_dev, struct bitblt_coords *src, DWORD rop ) DECLSPEC_HIDDEN;
|
||||||
extern INT nulldrv_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT heightDst,
|
extern INT nulldrv_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst, INT heightDst,
|
||||||
INT xSrc, INT ySrc, INT widthSrc, INT heightSrc, const void *bits,
|
INT xSrc, INT ySrc, INT widthSrc, INT heightSrc, const void *bits,
|
||||||
const BITMAPINFO *info, UINT coloruse, DWORD rop ) DECLSPEC_HIDDEN;
|
BITMAPINFO *info, UINT coloruse, DWORD rop ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL nulldrv_StrokeAndFillPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL nulldrv_StrokeAndFillPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL nulldrv_StrokePath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL nulldrv_StrokePath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL nulldrv_WidenPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL nulldrv_WidenPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -133,7 +133,7 @@ BOOL MFDRV_StretchBlt( PHYSDEV devDst, struct bitblt_coords *dst,
|
||||||
INT MFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
INT MFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
||||||
INT heightDst, INT xSrc, INT ySrc, INT widthSrc,
|
INT heightDst, INT xSrc, INT ySrc, INT widthSrc,
|
||||||
INT heightSrc, const void *bits,
|
INT heightSrc, const void *bits,
|
||||||
const BITMAPINFO *info, UINT wUsage, DWORD dwRop )
|
BITMAPINFO *info, UINT wUsage, DWORD dwRop )
|
||||||
{
|
{
|
||||||
DWORD infosize = bitmap_info_size(info, wUsage);
|
DWORD infosize = bitmap_info_size(info, wUsage);
|
||||||
DWORD len = sizeof(METARECORD) + 10 * sizeof(WORD) + infosize + info->bmiHeader.biSizeImage;
|
DWORD len = sizeof(METARECORD) + 10 * sizeof(WORD) + infosize + info->bmiHeader.biSizeImage;
|
||||||
|
@ -166,8 +166,7 @@ INT MFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
||||||
*/
|
*/
|
||||||
INT MFDRV_SetDIBitsToDevice( PHYSDEV dev, INT xDst, INT yDst, DWORD cx,
|
INT MFDRV_SetDIBitsToDevice( PHYSDEV dev, INT xDst, INT yDst, DWORD cx,
|
||||||
DWORD cy, INT xSrc, INT ySrc, UINT startscan,
|
DWORD cy, INT xSrc, INT ySrc, UINT startscan,
|
||||||
UINT lines, LPCVOID bits, const BITMAPINFO *info,
|
UINT lines, LPCVOID bits, BITMAPINFO *info, UINT coloruse )
|
||||||
UINT coloruse )
|
|
||||||
|
|
||||||
{
|
{
|
||||||
DWORD infosize = bitmap_info_size(info, coloruse);
|
DWORD infosize = bitmap_info_size(info, coloruse);
|
||||||
|
|
|
@ -134,11 +134,10 @@ extern BOOL MFDRV_PaintRgn( PHYSDEV dev, HRGN hrgn ) DECLSPEC_HIDDEN;
|
||||||
extern INT MFDRV_SetDIBitsToDevice( PHYSDEV dev, INT xDest, INT yDest, DWORD cx,
|
extern INT MFDRV_SetDIBitsToDevice( PHYSDEV dev, INT xDest, INT yDest, DWORD cx,
|
||||||
DWORD cy, INT xSrc, INT ySrc,
|
DWORD cy, INT xSrc, INT ySrc,
|
||||||
UINT startscan, UINT lines, LPCVOID bits,
|
UINT startscan, UINT lines, LPCVOID bits,
|
||||||
const BITMAPINFO *info, UINT coloruse ) DECLSPEC_HIDDEN;
|
BITMAPINFO *info, UINT coloruse ) DECLSPEC_HIDDEN;
|
||||||
extern INT MFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
extern INT MFDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
||||||
INT heightDst, INT xSrc, INT ySrc, INT widthSrc, INT heightSrc,
|
INT heightDst, INT xSrc, INT ySrc, INT widthSrc, INT heightSrc,
|
||||||
const void *bits, const BITMAPINFO *info, UINT wUsage,
|
const void *bits, BITMAPINFO *info, UINT wUsage, DWORD dwRop ) DECLSPEC_HIDDEN;
|
||||||
DWORD dwRop ) DECLSPEC_HIDDEN;
|
|
||||||
extern BOOL MFDRV_StrokeAndFillPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL MFDRV_StrokeAndFillPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL MFDRV_StrokePath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL MFDRV_StrokePath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL MFDRV_WidenPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
extern BOOL MFDRV_WidenPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -288,7 +288,7 @@ update_format:
|
||||||
*/
|
*/
|
||||||
INT PSDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
INT PSDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
||||||
INT heightDst, INT xSrc, INT ySrc, INT widthSrc, INT heightSrc, const void *bits,
|
INT heightDst, INT xSrc, INT ySrc, INT widthSrc, INT heightSrc, const void *bits,
|
||||||
const BITMAPINFO *info, UINT wUsage, DWORD dwRop )
|
BITMAPINFO *info, UINT wUsage, DWORD dwRop )
|
||||||
{
|
{
|
||||||
INT stride;
|
INT stride;
|
||||||
INT line;
|
INT line;
|
||||||
|
|
|
@ -462,7 +462,7 @@ extern INT PSDRV_StartDoc( PHYSDEV dev, const DOCINFOW *doc ) DECLSPEC_HIDDEN;
|
||||||
extern INT PSDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
extern INT PSDRV_StretchDIBits( PHYSDEV dev, INT xDst, INT yDst, INT widthDst,
|
||||||
INT heightDst, INT xSrc, INT ySrc,
|
INT heightDst, INT xSrc, INT ySrc,
|
||||||
INT widthSrc, INT heightSrc, const void *bits,
|
INT widthSrc, INT heightSrc, const void *bits,
|
||||||
const BITMAPINFO *info, UINT wUsage, DWORD dwRop ) DECLSPEC_HIDDEN;
|
BITMAPINFO *info, UINT wUsage, DWORD dwRop ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
extern void PSDRV_MergeDevmodes(PSDRV_DEVMODEA *dm1, PSDRV_DEVMODEA *dm2,
|
extern void PSDRV_MergeDevmodes(PSDRV_DEVMODEA *dm1, PSDRV_DEVMODEA *dm2,
|
||||||
PRINTERINFO *pi) DECLSPEC_HIDDEN;
|
PRINTERINFO *pi) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -3719,7 +3719,7 @@ static int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr )
|
||||||
*/
|
*/
|
||||||
INT X11DRV_SetDIBitsToDevice( PHYSDEV dev, INT xDest, INT yDest, DWORD cx, DWORD cy,
|
INT X11DRV_SetDIBitsToDevice( PHYSDEV dev, INT xDest, INT yDest, DWORD cx, DWORD cy,
|
||||||
INT xSrc, INT ySrc, UINT startscan, UINT lines, LPCVOID bits,
|
INT xSrc, INT ySrc, UINT startscan, UINT lines, LPCVOID bits,
|
||||||
const BITMAPINFO *info, UINT coloruse )
|
BITMAPINFO *info, UINT coloruse )
|
||||||
{
|
{
|
||||||
X11DRV_PDEVICE *physDev = get_x11drv_dev( dev );
|
X11DRV_PDEVICE *physDev = get_x11drv_dev( dev );
|
||||||
X11DRV_DIB_IMAGEBITS_DESCR descr;
|
X11DRV_DIB_IMAGEBITS_DESCR descr;
|
||||||
|
@ -4359,7 +4359,7 @@ static Bool X11DRV_DIB_QueryXShm( Bool *pixmaps )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* X11DRV_CreateDIBSection (X11DRV.@)
|
* X11DRV_CreateDIBSection (X11DRV.@)
|
||||||
*/
|
*/
|
||||||
HBITMAP X11DRV_CreateDIBSection( PHYSDEV dev, HBITMAP hbitmap, const BITMAPINFO *bmi, UINT usage )
|
HBITMAP X11DRV_CreateDIBSection( PHYSDEV dev, HBITMAP hbitmap, BITMAPINFO *bmi, UINT usage )
|
||||||
{
|
{
|
||||||
X11DRV_PDEVICE *physDev = get_x11drv_dev( dev );
|
X11DRV_PDEVICE *physDev = get_x11drv_dev( dev );
|
||||||
X_PHYSBITMAP *physBitmap;
|
X_PHYSBITMAP *physBitmap;
|
||||||
|
|
|
@ -189,7 +189,7 @@ extern BOOL X11DRV_Chord( PHYSDEV dev, INT left, INT top, INT right, INT bottom,
|
||||||
INT xstart, INT ystart, INT xend, INT yend ) DECLSPEC_HIDDEN;
|
INT xstart, INT ystart, INT xend, INT yend ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL X11DRV_CreateBitmap( PHYSDEV dev, HBITMAP hbitmap ) DECLSPEC_HIDDEN;
|
extern BOOL X11DRV_CreateBitmap( PHYSDEV dev, HBITMAP hbitmap ) DECLSPEC_HIDDEN;
|
||||||
extern HBITMAP X11DRV_CreateDIBSection( PHYSDEV dev, HBITMAP hbitmap,
|
extern HBITMAP X11DRV_CreateDIBSection( PHYSDEV dev, HBITMAP hbitmap,
|
||||||
const BITMAPINFO *bmi, UINT usage ) DECLSPEC_HIDDEN;
|
BITMAPINFO *bmi, UINT usage ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL X11DRV_DeleteBitmap( HBITMAP hbitmap ) DECLSPEC_HIDDEN;
|
extern BOOL X11DRV_DeleteBitmap( HBITMAP hbitmap ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL X11DRV_Ellipse( PHYSDEV dev, INT left, INT top, INT right, INT bottom ) DECLSPEC_HIDDEN;
|
extern BOOL X11DRV_Ellipse( PHYSDEV dev, INT left, INT top, INT right, INT bottom ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL X11DRV_EnumDeviceFonts( PHYSDEV dev, LPLOGFONTW plf,
|
extern BOOL X11DRV_EnumDeviceFonts( PHYSDEV dev, LPLOGFONTW plf,
|
||||||
|
@ -237,7 +237,7 @@ extern void X11DRV_SetDeviceClipping( PHYSDEV dev, HRGN vis_rgn, HRGN clip_rgn )
|
||||||
extern BOOL X11DRV_SetDeviceGammaRamp( PHYSDEV dev, LPVOID ramp ) DECLSPEC_HIDDEN;
|
extern BOOL X11DRV_SetDeviceGammaRamp( PHYSDEV dev, LPVOID ramp ) DECLSPEC_HIDDEN;
|
||||||
extern UINT X11DRV_SetDIBColorTable( PHYSDEV dev, UINT start, UINT count, const RGBQUAD *colors ) DECLSPEC_HIDDEN;
|
extern UINT X11DRV_SetDIBColorTable( PHYSDEV dev, UINT start, UINT count, const RGBQUAD *colors ) DECLSPEC_HIDDEN;
|
||||||
extern INT X11DRV_SetDIBitsToDevice( PHYSDEV dev, INT xDest, INT yDest, DWORD cx, DWORD cy, INT xSrc, INT ySrc,
|
extern INT X11DRV_SetDIBitsToDevice( PHYSDEV dev, INT xDest, INT yDest, DWORD cx, DWORD cy, INT xSrc, INT ySrc,
|
||||||
UINT startscan, UINT lines, LPCVOID bits, const BITMAPINFO *info, UINT coloruse ) DECLSPEC_HIDDEN;
|
UINT startscan, UINT lines, LPCVOID bits, BITMAPINFO *info, UINT coloruse ) DECLSPEC_HIDDEN;
|
||||||
extern COLORREF X11DRV_SetPixel( PHYSDEV dev, INT x, INT y, COLORREF color ) DECLSPEC_HIDDEN;
|
extern COLORREF X11DRV_SetPixel( PHYSDEV dev, INT x, INT y, COLORREF color ) DECLSPEC_HIDDEN;
|
||||||
extern BOOL X11DRV_SetPixelFormat(PHYSDEV dev, int iPixelFormat, const PIXELFORMATDESCRIPTOR *ppfd) DECLSPEC_HIDDEN;
|
extern BOOL X11DRV_SetPixelFormat(PHYSDEV dev, int iPixelFormat, const PIXELFORMATDESCRIPTOR *ppfd) DECLSPEC_HIDDEN;
|
||||||
extern COLORREF X11DRV_SetTextColor( PHYSDEV dev, COLORREF color ) DECLSPEC_HIDDEN;
|
extern COLORREF X11DRV_SetTextColor( PHYSDEV dev, COLORREF color ) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -66,7 +66,7 @@ struct gdi_dc_funcs
|
||||||
BOOL (*pCloseFigure)(PHYSDEV);
|
BOOL (*pCloseFigure)(PHYSDEV);
|
||||||
BOOL (*pCreateBitmap)(PHYSDEV,HBITMAP);
|
BOOL (*pCreateBitmap)(PHYSDEV,HBITMAP);
|
||||||
BOOL (*pCreateDC)(HDC,PHYSDEV *,LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*);
|
BOOL (*pCreateDC)(HDC,PHYSDEV *,LPCWSTR,LPCWSTR,LPCWSTR,const DEVMODEW*);
|
||||||
HBITMAP (*pCreateDIBSection)(PHYSDEV,HBITMAP,const BITMAPINFO *,UINT);
|
HBITMAP (*pCreateDIBSection)(PHYSDEV,HBITMAP,BITMAPINFO *,UINT);
|
||||||
BOOL (*pDeleteBitmap)(HBITMAP);
|
BOOL (*pDeleteBitmap)(HBITMAP);
|
||||||
BOOL (*pDeleteDC)(PHYSDEV);
|
BOOL (*pDeleteDC)(PHYSDEV);
|
||||||
BOOL (*pDeleteObject)(PHYSDEV,HGDIOBJ);
|
BOOL (*pDeleteObject)(PHYSDEV,HGDIOBJ);
|
||||||
|
@ -141,7 +141,7 @@ struct gdi_dc_funcs
|
||||||
COLORREF (*pSetDCBrushColor)(PHYSDEV, COLORREF);
|
COLORREF (*pSetDCBrushColor)(PHYSDEV, COLORREF);
|
||||||
COLORREF (*pSetDCPenColor)(PHYSDEV, COLORREF);
|
COLORREF (*pSetDCPenColor)(PHYSDEV, COLORREF);
|
||||||
UINT (*pSetDIBColorTable)(PHYSDEV,UINT,UINT,const RGBQUAD*);
|
UINT (*pSetDIBColorTable)(PHYSDEV,UINT,UINT,const RGBQUAD*);
|
||||||
INT (*pSetDIBitsToDevice)(PHYSDEV,INT,INT,DWORD,DWORD,INT,INT,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT);
|
INT (*pSetDIBitsToDevice)(PHYSDEV,INT,INT,DWORD,DWORD,INT,INT,UINT,UINT,LPCVOID,BITMAPINFO*,UINT);
|
||||||
VOID (*pSetDeviceClipping)(PHYSDEV,HRGN,HRGN);
|
VOID (*pSetDeviceClipping)(PHYSDEV,HRGN,HRGN);
|
||||||
BOOL (*pSetDeviceGammaRamp)(PHYSDEV,LPVOID);
|
BOOL (*pSetDeviceGammaRamp)(PHYSDEV,LPVOID);
|
||||||
DWORD (*pSetLayout)(PHYSDEV,DWORD);
|
DWORD (*pSetLayout)(PHYSDEV,DWORD);
|
||||||
|
@ -165,7 +165,7 @@ struct gdi_dc_funcs
|
||||||
INT (*pStartDoc)(PHYSDEV,const DOCINFOW*);
|
INT (*pStartDoc)(PHYSDEV,const DOCINFOW*);
|
||||||
INT (*pStartPage)(PHYSDEV);
|
INT (*pStartPage)(PHYSDEV);
|
||||||
BOOL (*pStretchBlt)(PHYSDEV,struct bitblt_coords*,PHYSDEV,struct bitblt_coords*,DWORD);
|
BOOL (*pStretchBlt)(PHYSDEV,struct bitblt_coords*,PHYSDEV,struct bitblt_coords*,DWORD);
|
||||||
INT (*pStretchDIBits)(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT,const void*,const BITMAPINFO*,UINT,DWORD);
|
INT (*pStretchDIBits)(PHYSDEV,INT,INT,INT,INT,INT,INT,INT,INT,const void*,BITMAPINFO*,UINT,DWORD);
|
||||||
BOOL (*pStrokeAndFillPath)(PHYSDEV);
|
BOOL (*pStrokeAndFillPath)(PHYSDEV);
|
||||||
BOOL (*pStrokePath)(PHYSDEV);
|
BOOL (*pStrokePath)(PHYSDEV);
|
||||||
BOOL (*pSwapBuffers)(PHYSDEV);
|
BOOL (*pSwapBuffers)(PHYSDEV);
|
||||||
|
|
Loading…
Reference in New Issue