ReactOS 0.4.16-dev-91-g764881a
historic.c
Go to the documentation of this file.
1/*
2 * reactos/lib/gdi32/misc/historic.c
3 *
4 * GDI32.DLL Stubs
5 *
6 * Apis that do basically nothing, but are here for backwards compatibility with older Windows
7 *
8 */
9
10#include <precomp.h>
11
12/*
13 * @implemented
14 */
15BOOL
18 EMFINFO *pEMFInfo)
19{
20 return FALSE;
21}
22
23/*
24 * @implemented
25 */
26BOOL
29 DWORD a1,
30 DWORD a2,
31 DWORD a3,
32 DWORD a4,
33 DWORD a5)
34{
35 /* FIXME fix the prototype right */
36 return FALSE;
37}
38
39/*
40 * @implemented
41 */
42BOOL
45 DWORD a1,
46 DWORD a2,
47 DWORD a3,
48 DWORD a4)
49{
50 /* FIXME fix the prototype right */
51 return FALSE;
52}
53
54/*
55 * @implemented
56 */
57BOOL
60 DWORD a1,
61 DWORD a2,
62 DWORD a3,
63 DWORD a4,
64 DWORD a5,
65 DWORD a6)
66{
67 /* FIXME fix the prototype right */
68 return FALSE;
69}
70
71/*
72 * @implemented
73 */
77{
78 /* Note Windows 2000/XP/VISTA always returns hbm */
79 return hbm;
80}
81
82/*
83 * @implemented
84 */
85HBRUSH
87GdiConvertBrush(HBRUSH hbr)
88{
89 /* Note Windows 2000/XP/VISTA always returns hbr */
90 return hbr;
91}
92
93/*
94 * @implemented
95 */
96HDC
99{
100 /* Note Windows 2000/XP/VISTA always returns hdc */
101 return hdc;
102}
103
104/*
105 * @implemented
106 */
107HFONT
108WINAPI
110{
111 /* Note Windows 2000/XP/VISTA always returns hfont */
112 return hfont;
113}
114
115/*
116 * @implemented
117 */
118HPALETTE
119WINAPI
120GdiConvertPalette(HPALETTE hpal)
121{
122 /* Note Windows 2000/XP/VISTA always returns hpal */
123 return hpal;
124}
125
126/*
127 * @implemented
128 */
129HRGN
130WINAPI
131GdiConvertRegion(HRGN hregion)
132{
133 /* Note Windows 2000/XP/VISTA always returns hregion */
134 return hregion;
135}
136
137/*
138 * @implemented
139 */
140BOOL
141WINAPI
143{
144 /* Note Windows 2000/XP/VISTA always returns TRUE */
145 return TRUE;
146}
147
148/*
149 * @implemented
150 */
151BOOL
152WINAPI
154{
155 /* Note Windows 2000/XP/VISTA always returns TRUE */
156 return TRUE;
157}
158
159
160/*
161 * @implemented
162 */
163VOID
164WINAPI
166{
167 /* it does do nothing */
168}
169
170
171/*
172 * @implemented
173 */
174int
175WINAPI
177 LPCSTR pPort,
178 WORD fwCapability,
179 LPSTR pOutput,
180 CONST DEVMODEA *pDevMode)
181{
182 /* Note Windows 2000/XP/VISTA always returns -1 */
183 return -1;
184}
185
186/*
187 * @implemented
188 */
189int
190WINAPI
192 LPCWSTR pPort,
193 WORD fwCapability,
194 LPWSTR pOutput,
195 CONST DEVMODEW *pDevMode)
196{
197 /* Note Windows 2000/XP/VISTA always returns -1 */
198 return -1;
199}
200
201/*
202 * @implemented
203 */
204BOOL
205WINAPI
207 INT nXOrg,
208 INT nYOrg,
209 LPPOINT lpPoint)
210{
211 /* Note Windows 2000/XP/VISTA always returns FALSE */
212 return FALSE;
213}
214
215/*
216 * @implemented
217 *
218 * GDIEntry 16
219 */
220DWORD
221WINAPI
225{
226 /* Note Windows 2000/XP/VISTA always returns success */
227 return TRUE;
228}
229
230/*
231 * @implemented
232 */
233BOOL
234WINAPI
236{
237 /* Note Windows 2000/XP/VISTA always returns TRUE */
238 return TRUE;
239}
240
241/*
242 * @implemented
243 */
244HBRUSH
245WINAPI
246SelectBrushLocal(HBRUSH Currenthbm,
247 HBRUSH Newhbm)
248{
249 return Newhbm;
250}
251
252/*
253 * @implemented
254 */
255HFONT
256WINAPI
258 HFONT newhfnt)
259{
260 return newhfnt;
261}
262
263/*
264 * @implemented
265 */
266HBRUSH
267WINAPI
269{
270 return hbr;
271}
272
273/*
274 * @implemented
275 */
276HDC
277WINAPI
279{
280 return hdc;
281}
282
283/*
284 * @implemented
285 */
286HFONT
287WINAPI
289{
290 return hfont;
291}
292
static HDC hDC
Definition: 3dtext.c:33
static HFONT hfont
struct _DDRAWI_DIRECTDRAW_LCL FAR * LPDDRAWI_DIRECTDRAW_LCL
Definition: d3dhal.h:40
struct _DDRAWI_DDRAWSURFACE_LCL FAR * LPDDRAWI_DDRAWSURFACE_LCL
Definition: d3dhal.h:45
#define DdSwapTextureHandles
Definition: ddrawgdi.h:39
#define TRUE
Definition: types.h:120
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
FxDevice * pDevice
HBRUSH WINAPI GdiGetLocalBrush(HBRUSH hbr)
Definition: historic.c:268
HBRUSH WINAPI SelectBrushLocal(HBRUSH Currenthbm, HBRUSH Newhbm)
Definition: historic.c:246
BOOL WINAPI GdiSetAttrs(HDC hdc)
Definition: historic.c:142
HFONT WINAPI GdiConvertFont(HFONT hfont)
Definition: historic.c:109
BOOL WINAPI GdiPlayDCScript(DWORD a0, DWORD a1, DWORD a2, DWORD a3, DWORD a4, DWORD a5)
Definition: historic.c:28
HBITMAP WINAPI GdiConvertBitmap(HBITMAP hbm)
Definition: historic.c:76
int WINAPI DeviceCapabilitiesExW(LPCWSTR pDevice, LPCWSTR pPort, WORD fwCapability, LPWSTR pOutput, CONST DEVMODEW *pDevMode)
Definition: historic.c:191
HDC WINAPI GdiConvertDC(HDC hdc)
Definition: historic.c:98
BOOL WINAPI GdiPlayJournal(DWORD a0, DWORD a1, DWORD a2, DWORD a3, DWORD a4)
Definition: historic.c:44
VOID WINAPI GdiSetServerAttr(HDC hdc, DWORD attr)
Definition: historic.c:165
HFONT WINAPI SelectFontLocal(HFONT Currenthfnt, HFONT newhfnt)
Definition: historic.c:257
BOOL WINAPI GdiPlayScript(DWORD a0, DWORD a1, DWORD a2, DWORD a3, DWORD a4, DWORD a5, DWORD a6)
Definition: historic.c:59
BOOL WINAPI GdiDeleteLocalDC(HDC hdc)
Definition: historic.c:153
HFONT WINAPI GdiGetLocalFont(HFONT hfont)
Definition: historic.c:288
BOOL WINAPI GdiReleaseLocalDC(HDC hdc)
Definition: historic.c:235
BOOL WINAPI FixBrushOrgEx(HDC hDC, INT nXOrg, INT nYOrg, LPPOINT lpPoint)
Definition: historic.c:206
HBRUSH WINAPI GdiConvertBrush(HBRUSH hbr)
Definition: historic.c:87
HDC WINAPI GdiGetLocalDC(HDC hdc)
Definition: historic.c:278
BOOL WINAPI EngQueryEMFInfo(HDEV hdev, EMFINFO *pEMFInfo)
Definition: historic.c:17
HPALETTE WINAPI GdiConvertPalette(HPALETTE hpal)
Definition: historic.c:120
HRGN WINAPI GdiConvertRegion(HRGN hregion)
Definition: historic.c:131
int WINAPI DeviceCapabilitiesExA(LPCSTR pDevice, LPCSTR pPort, WORD fwCapability, LPSTR pOutput, CONST DEVMODEA *pDevMode)
Definition: historic.c:176
HDC hdc
Definition: main.c:9
static HBITMAP
Definition: button.c:44
static HDC
Definition: imagelist.c:88
static const struct update_accum a1
Definition: msg.c:578
static const struct update_accum a2
Definition: msg.c:586
static const struct update_accum a3
Definition: msg.c:600
static const struct update_accum a4
Definition: msg.c:2285
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
_In_ HBITMAP hbm
Definition: ntgdi.h:2776
#define CONST
Definition: pedump.c:81
Definition: cookie.c:202
int32_t INT
Definition: typedefs.h:58
_In_ HDEV hdev
Definition: winddi.h:3449
#define WINAPI
Definition: msvc.h:6
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185