The argv array passed to the app needs to be in the Ansi codepage, not
[wine/multimedia.git] / dlls / ttydrv / bitmap.c
blob9969a2ca2038eefe9a4fd1ad440ac0f65959156a
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 "ttydrv.h"
26 #include "winbase.h"
27 #include "wine/debug.h"
29 WINE_DEFAULT_DEBUG_CHANNEL(ttydrv);
32 /***********************************************************************
33 * GetBitmapBits (TTYDRV.@)
35 LONG TTYDRV_GetBitmapBits(HBITMAP hbitmap, void *bits, LONG count)
37 FIXME("(%p, %p, %ld): stub\n", hbitmap, bits, count);
38 memset(bits, 0, count);
39 return count;
42 /***********************************************************************
43 * SetBitmapBits (TTYDRV.@)
45 LONG TTYDRV_SetBitmapBits(HBITMAP hbitmap, const void *bits, LONG count)
47 FIXME("(%p, %p, %ld): stub\n", hbitmap, bits, count);
48 return count;
51 /***********************************************************************
52 * TTYDRV_BITMAP_CreateDIBSection
54 HBITMAP TTYDRV_BITMAP_CreateDIBSection(
55 TTYDRV_PDEVICE *physDev, BITMAPINFO *bmi, UINT usage,
56 LPVOID *bits, HANDLE section, DWORD offset)
58 FIXME("(%p, %p, %u, %p, %p, %ld): stub\n",
59 physDev->hdc, bmi, usage, bits, section, offset);
61 return NULL;
64 /***********************************************************************
65 * TTYDRV_DC_SetDIBitsToDevice
67 INT TTYDRV_DC_SetDIBitsToDevice(TTYDRV_PDEVICE *physDev, INT xDest, INT yDest, DWORD cx,
68 DWORD cy, INT xSrc, INT ySrc,
69 UINT startscan, UINT lines, LPCVOID bits,
70 const BITMAPINFO *info, UINT coloruse)
72 FIXME("(%p, %d, %d, %ld, %ld, %d, %d, %u, %u, %p, %p, %u): stub\n",
73 physDev->hdc, xDest, yDest, cx, cy, xSrc, ySrc, startscan, lines, bits, info, coloruse);
75 return 0;