No longer directly accessing debuggee memory.
[wine] / graphics / ttydrv / dib.c
1 /*
2  * TTY DC dib
3  *
4  * Copyright 1999 Patrik Stridvall
5  */
6
7 #include "bitmap.h"
8 #include "dc.h"
9 #include "ttydrv.h"
10 #include "winbase.h"
11 #include "debugtools.h"
12
13 DEFAULT_DEBUG_CHANNEL(ttydrv)
14
15 /***********************************************************************
16  *              TTYDRV_BITMAP_CreateDIBSection
17  */
18 HBITMAP TTYDRV_BITMAP_CreateDIBSection(
19   DC *dc, BITMAPINFO *bmi, UINT usage,
20   LPVOID *bits, HANDLE section, DWORD offset)
21 {
22   FIXME("(%p, %p, %u, %p, 0x%04x, %ld): stub\n",
23         dc, bmi, usage, bits, section, offset);
24
25   return (HBITMAP) NULL;
26 }
27
28 /**********************************************************************
29  *              TTYDRV_BITMAP_CreateDIBSection16
30  */
31 HBITMAP16 TTYDRV_DIB_CreateDIBSection16(
32   DC *dc, BITMAPINFO *bmi, UINT16 usage,
33   SEGPTR *bits, HANDLE section, DWORD offset)
34 {
35   FIXME("(%p, %p, %u, %p, 0x%04x, %ld): stub\n",
36         dc, bmi, usage, bits, section, offset);
37
38   return (HBITMAP16) NULL;
39 }
40
41 /***********************************************************************
42  *              TTYDRV_BITMAP_DeleteDIBSection
43  */
44 void TTYDRV_BITMAP_DeleteDIBSection(BITMAPOBJ *bmp)
45 {
46   FIXME("(%p): stub\n", bmp);
47 }
48
49 /***********************************************************************
50  *              TTYDRV_BITMAP_GetDIBits
51  */
52 INT TTYDRV_BITMAP_GetDIBits(
53   BITMAPOBJ *bmp, DC *dc, UINT startscan, UINT lines, 
54   LPVOID bits, BITMAPINFO *info, UINT coloruse, HBITMAP hbitmap)
55 {
56   FIXME("(%p, %p, %u, %u, %p, %p, %u, 0x%04x): stub\n",
57         bmp, dc, startscan, lines, bits, info, coloruse, hbitmap);
58
59   return 0;
60 }
61
62
63 /***********************************************************************
64  *              TTYDRV_BITMAP_SetDIBits
65  */
66 INT TTYDRV_BITMAP_SetDIBits(
67   BITMAPOBJ *bmp, DC *dc, UINT startscan, UINT lines, 
68   LPCVOID bits, const BITMAPINFO *info, UINT coloruse, HBITMAP hbitmap)
69 {
70   FIXME("(%p, %p, %u, %u, %p, %p, %u, 0x%04x): stub\n",
71         bmp, dc, startscan, lines, bits, info, coloruse, hbitmap);
72
73   return 0;
74 }
75
76 /***********************************************************************
77  *              TTYDRV_DC_SetDIBitsToDevice
78  */
79 INT TTYDRV_DC_SetDIBitsToDevice(DC *dc, INT xDest, INT yDest, DWORD cx,
80                                 DWORD cy, INT xSrc, INT ySrc,
81                                 UINT startscan, UINT lines, LPCVOID bits,
82                                 const BITMAPINFO *info, UINT coloruse)
83 {
84   FIXME("(%p, %d, %d, %ld, %ld, %d, %d, %u, %u, %p, %p, %u): stub\n",
85         dc, xDest, yDest, cx, cy, xSrc, ySrc, startscan, lines, bits, info, coloruse);
86
87   return 0;
88 }
89