Fixed a couple of recent bugs, and added some more safeguards (could
[wine.git] / win32 / kernel32.c
blob0bbc94f42ad16edf5d700643de924201781a6226
1 /*
2 * KERNEL32 thunks and other undocumented stuff
4 * Copyright 1997-1998 Marcus Meissner
5 * Copyright 1998 Ulrich Weigand
7 */
9 #include <string.h>
10 #include <sys/types.h>
11 #include <unistd.h>
13 #include "windef.h"
14 #include "winbase.h"
15 #include "wine/winbase16.h"
16 #include "winerror.h"
17 #include "debugtools.h"
19 DEFAULT_DEBUG_CHANNEL(win32);
21 /***********************************************************************
22 * UpdateResourceA (KERNEL32.707)
24 BOOL WINAPI UpdateResourceA(
25 HANDLE hUpdate,
26 LPCSTR lpType,
27 LPCSTR lpName,
28 WORD wLanguage,
29 LPVOID lpData,
30 DWORD cbData) {
32 FIXME(": stub\n");
33 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
34 return FALSE;
37 /***********************************************************************
38 * UpdateResourceW (KERNEL32.708)
40 BOOL WINAPI UpdateResourceW(
41 HANDLE hUpdate,
42 LPCWSTR lpType,
43 LPCWSTR lpName,
44 WORD wLanguage,
45 LPVOID lpData,
46 DWORD cbData) {
48 FIXME(": stub\n");
49 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
50 return FALSE;