Implement SHCreateStreamOnFileA/W/Ex, ordinals @166,184,212-214.
[wine] / dlls / ttydrv / bitmap.c
1 /*
2  * TTY bitmap driver
3  *
4  * Copyright 1999 Patrik Stridvall
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #include "config.h"
22
23 #include <string.h>
24
25 #include "gdi.h"
26 #include "ttydrv.h"
27 #include "winbase.h"
28 #include "wine/debug.h"
29
30 WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
31
32
33 /***********************************************************************
34  *           GetBitmapBits   (TTYDRV.@)
35  */
36 LONG TTYDRV_GetBitmapBits(HBITMAP hbitmap, void *bits, LONG count)
37 {
38     FIXME("(%x, %p, %ld): stub\n", hbitmap, bits, count);
39     memset(bits, 0, count);
40     return count;
41 }
42
43 /***********************************************************************
44  *           SetBitmapBits   (TTYDRV.@)
45  */
46 LONG TTYDRV_SetBitmapBits(HBITMAP hbitmap, const void *bits, LONG count)
47 {
48     FIXME("(%x, %p, %ld): stub\n", hbitmap, bits, count);
49     return count;
50 }
51
52 /***********************************************************************
53  *              TTYDRV_BITMAP_CreateDIBSection
54  */
55 HBITMAP TTYDRV_BITMAP_CreateDIBSection(
56   TTYDRV_PDEVICE *physDev, BITMAPINFO *bmi, UINT usage,
57   LPVOID *bits, HANDLE section, DWORD offset)
58 {
59   FIXME("(%x, %p, %u, %p, 0x%04x, %ld): stub\n",
60         physDev->hdc, bmi, usage, bits, section, offset);
61
62   return (HBITMAP) NULL;
63 }
64
65 /***********************************************************************
66  *              TTYDRV_DC_SetDIBitsToDevice
67  */
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)
72 {
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);
75
76   return 0;
77 }