LVS_OWNERDRAWFIXED should only take effect in REPORT mode.
[wine/multimedia.git] / dlls / ttydrv / bitmap.c
blobd8b980d5f8b248e1ebe305ab5b98231231de7176
1 /*
2 * TTY bitmap driver
4 * Copyright 1999 Patrik Stridvall
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include "config.h"
23 #include <string.h>
25 #include "gdi.h"
26 #include "ttydrv.h"
27 #include "winbase.h"
28 #include "wine/debug.h"
30 WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
33 /***********************************************************************
34 * GetBitmapBits (TTYDRV.@)
36 LONG TTYDRV_GetBitmapBits(HBITMAP hbitmap, void *bits, LONG count)
38 FIXME("(%x, %p, %ld): stub\n", hbitmap, bits, count);
39 memset(bits, 0, count);
40 return count;
43 /***********************************************************************
44 * SetBitmapBits (TTYDRV.@)
46 LONG TTYDRV_SetBitmapBits(HBITMAP hbitmap, const void *bits, LONG count)
48 FIXME("(%x, %p, %ld): stub\n", hbitmap, bits, count);
49 return count;
52 /***********************************************************************
53 * TTYDRV_BITMAP_CreateDIBSection
55 HBITMAP TTYDRV_BITMAP_CreateDIBSection(
56 TTYDRV_PDEVICE *physDev, BITMAPINFO *bmi, UINT usage,
57 LPVOID *bits, HANDLE section, DWORD offset)
59 FIXME("(%x, %p, %u, %p, 0x%04x, %ld): stub\n",
60 physDev->hdc, bmi, usage, bits, section, offset);
62 return (HBITMAP) NULL;
65 /***********************************************************************
66 * TTYDRV_DC_SetDIBitsToDevice
68 INT TTYDRV_DC_SetDIBitsToDevice(TTYDRV_PDEVICE *physDev, INT xDest, INT yDest, DWORD cx,
69 DWORD cy, INT xSrc, INT ySrc,
70 UINT startscan, UINT lines, LPCVOID bits,
71 const BITMAPINFO *info, UINT coloruse)
73 FIXME("(%x, %d, %d, %ld, %ld, %d, %d, %u, %u, %p, %p, %u): stub\n",
74 physDev->hdc, xDest, yDest, cx, cy, xSrc, ySrc, startscan, lines, bits, info, coloruse);
76 return 0;