09cca69d75214b38bb8f84889fe8238fbcee17b1
2 * DIB driver bitmap objects
4 * Copyright 2009 Massimo Del Fedele
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include "wine/port.h"
26 WINE_DEFAULT_DEBUG_CHANNEL(dibdrv
);
29 /****************************************************************************
30 * SelectBitmap (WINEDIB.DRV.@)
32 HBITMAP
DIBDRV_SelectBitmap( DIBDRVPHYSDEV
*physDev
, HBITMAP hbitmap
)
34 TRACE("physDev:%p, hbitmap:%p\n", physDev
, hbitmap
);
35 ONCE(FIXME("stub\n"));
36 return _DIBDRV_GetDisplayDriver()->pSelectBitmap(physDev
->X11PhysDev
, hbitmap
);
39 /****************************************************************************
42 BOOL
DIBDRV_CreateBitmap( DIBDRVPHYSDEV
*physDev
, HBITMAP hbitmap
, LPVOID bmBits
)
44 TRACE("physDev:%p, hbitmap:%p, bmBits:%p\n", physDev
, hbitmap
, bmBits
);
45 ONCE(FIXME("stub\n"));
46 return _DIBDRV_GetDisplayDriver()->pCreateBitmap(physDev
->X11PhysDev
, hbitmap
, bmBits
);
49 /***********************************************************************
52 BOOL
DIBDRV_DeleteBitmap( HBITMAP hbitmap
)
54 TRACE("hbitmap:%p\n", hbitmap
);
55 ONCE(FIXME("stub\n"));
56 return _DIBDRV_GetDisplayDriver()->pDeleteBitmap(hbitmap
);
59 /***********************************************************************
60 * DIBDRV_GetBitmapBits
62 LONG
DIBDRV_GetBitmapBits( HBITMAP hbitmap
, void *buffer
, LONG count
)
64 TRACE("hbitmap:%p, buffer:%p, count:%d\n", hbitmap
, buffer
, count
);
65 ONCE(FIXME("stub\n"));
66 return _DIBDRV_GetDisplayDriver()->pGetBitmapBits(hbitmap
, buffer
, count
);
69 /******************************************************************************
70 * DIBDRV_SetBitmapBits
72 LONG
DIBDRV_SetBitmapBits( HBITMAP hbitmap
, const void *bits
, LONG count
)
74 TRACE("hbitmap:%p, bits:%p, count:%d\n", hbitmap
, bits
, count
);
75 ONCE(FIXME("stub\n"));
76 return _DIBDRV_GetDisplayDriver()->pSetBitmapBits(hbitmap
, bits
, count
);