Improved the stubs.
[wine.git] / graphics / ttydrv / bitmap.c
bloba6be6c8f85968396b22b61e15a2c33a3b1b31549
1 /*
2 * TTY bitmap driver
4 * Copyright 1999 Patrik Stridvall
5 */
7 #include "bitmap.h"
8 #include "dc.h"
9 #include "debugtools.h"
10 #include "ttydrv.h"
12 DEFAULT_DEBUG_CHANNEL(ttydrv)
14 /**********************************************************************
15 * TTYDRV_BITMAP_CreateDIBSection
17 HBITMAP TTYDRV_BITMAP_CreateDIBSection(
18 DC *dc, BITMAPINFO *bmi, UINT usage,
19 LPVOID *bits, HANDLE section, DWORD offset)
21 return (HBITMAP) NULL;
24 /**********************************************************************
25 * TTYDRV_BITMAP_CreateDIBSection16
27 HBITMAP16 TTYDRV_DIB_CreateDIBSection16(
28 DC *dc, BITMAPINFO *bmi, UINT16 usage,
29 SEGPTR *bits, HANDLE section, DWORD offset)
31 return (HBITMAP16) NULL;
34 /**********************************************************************
35 * TTYDRV_BITMAP_SetDIBits
37 INT TTYDRV_BITMAP_SetDIBits(
38 BITMAPOBJ *bmp, DC *dc, UINT startscan, UINT lines,
39 LPCVOID bits, const BITMAPINFO *info, UINT coloruse, HBITMAP hbitmap)
41 return 0;
44 /**********************************************************************
45 * TTYDRV_BITMAP_GetDIBits
47 INT TTYDRV_BITMAP_GetDIBits(
48 BITMAPOBJ *bmp, DC *dc, UINT startscan, UINT lines,
49 LPVOID bits, BITMAPINFO *info, UINT coloruse, HBITMAP hbitmap)
51 return 0;
54 /**********************************************************************
55 * TTYDRV_BITMAP_DeleteDIBSection
57 void TTYDRV_BITMAP_DeleteDIBSection(BITMAPOBJ *bmp)
61 /***********************************************************************
62 * TTYDRV_DC_CreateBitmap
64 BOOL TTYDRV_DC_CreateBitmap(HBITMAP hbitmap)
66 FIXME("(0x%04x): stub\n", hbitmap);
68 return TRUE;
71 /***********************************************************************
72 * TTYDRV_DC_BITMAP_DeleteObject
74 BOOL TTYDRV_DC_BITMAP_DeleteObject(HBITMAP hbitmap, BITMAPOBJ *bitmap)
76 FIXME("(0x%04x, %p): stub\n", hbitmap, bitmap);
78 return TRUE;
81 /***********************************************************************
82 * TTYDRV_DC_BITMAP_SelectObject
84 HBITMAP TTYDRV_DC_BITMAP_SelectObject(DC *dc, HBITMAP hbitmap, BITMAPOBJ *bitmap)
86 FIXME("(%p, 0x%04x, %p): stub\n", dc, hbitmap, bitmap);
88 if(!(dc->w.flags & DC_MEMORY))
89 return NULL;
91 return NULL;