kernel32: Make CopyFile() call CopyFileEx() instead of the other way around.
[wine] / dlls / dispdib.dll16 / dispdib.c
1 /*
2  * DISPDIB.dll
3  *
4  * Copyright 1998 Ove Kåven (with some help from Marcus Meissner)
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #include <stdarg.h>
22 #include <string.h>
23 #include "windef.h"
24 #include "winbase.h"
25 #include "wingdi.h"
26 #include "wine/wingdi16.h"
27 #include "dispdib.h"
28 #include "wine/debug.h"
29
30 WINE_DEFAULT_DEBUG_CHANNEL(ddraw);
31
32
33 /*********************************************************************
34  *      DisplayDib      (DISPDIB.1)
35  *
36  *  Disables GDI and takes over the VGA screen to show DIBs in full screen.
37  *
38  * FLAGS
39  *
40  *  DISPLAYDIB_NOPALETTE: don't change palette
41  *  DISPLAYDIB_NOCENTER: don't center bitmap
42  *  DISPLAYDIB_NOWAIT: don't wait (for keypress) before returning
43  *  DISPLAYDIB_BEGIN: start of multiple calls (does not restore the screen)
44  *  DISPLAYDIB_END: end of multiple calls (restores the screen)
45  *  DISPLAYDIB_MODE_DEFAULT: default display mode
46  *  DISPLAYDIB_MODE_320x200x8: Standard VGA 320x200 256 colors
47  *  DISPLAYDIB_MODE_320x240x8: Tweaked VGA 320x240 256 colors
48  *
49  * RETURNS
50  *
51  *  DISPLAYDIB_NOERROR: success
52  *  DISPLAYDIB_NOTSUPPORTED: function not supported
53  *  DISPLAYDIB_INVALIDDIB: null or invalid DIB header
54  *  DISPLAYDIB_INVALIDFORMAT: invalid DIB format
55  *  DISPLAYDIB_INVALIDTASK: not called from current task
56  *
57  * BUGS
58  *
59  *  Waiting for keypresses is not implemented.
60  */
61 WORD WINAPI DisplayDib(
62                 LPBITMAPINFO lpbi, /* [in] DIB header with resolution and palette */
63                 LPSTR lpBits,      /* [in] Bitmap bits to show */
64                 WORD wFlags        /* [in] */
65         )
66 {
67     FIXME( "broken, should be rewritten using ddraw\n" );
68     return DISPLAYDIB_NOERROR;
69 }