- paranoia: eliminate some global variables
[wine/wine64.git] / win32 / kernel32.c
blob64788194942e3e7dbc06a4b8f1fd5e24b8da3e2e
1 /*
2 * KERNEL32 thunks and other undocumented stuff
4 * Copyright 1997-1998 Marcus Meissner
5 * Copyright 1998 Ulrich Weigand
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 #include "config.h"
24 #include <string.h>
25 #include <sys/types.h>
26 #ifdef HAVE_UNISTD_H
27 # include <unistd.h>
28 #endif
30 #include "windef.h"
31 #include "winbase.h"
32 #include "wine/winbase16.h"
33 #include "winerror.h"
34 #include "wine/debug.h"
36 WINE_DEFAULT_DEBUG_CHANNEL(win32);
38 /***********************************************************************
39 * BeginUpdateResourceA (KERNEL32.@)
41 HANDLE WINAPI BeginUpdateResourceA( LPCSTR pFileName, BOOL bDeleteExistingResources )
43 FIXME("(%s,%d): stub\n",debugstr_a(pFileName),bDeleteExistingResources);
44 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
45 return 0;
48 /***********************************************************************
49 * BeginUpdateResourceW (KERNEL32.@)
51 HANDLE WINAPI BeginUpdateResourceW( LPCWSTR pFileName, BOOL bDeleteExistingResources )
54 FIXME("(%s,%d): stub\n",debugstr_w(pFileName),bDeleteExistingResources);
55 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
56 return 0;
59 /***********************************************************************
60 * EndUpdateResourceA (KERNEL32.@)
62 BOOL WINAPI EndUpdateResourceA( HANDLE hUpdate, BOOL fDiscard )
65 FIXME("(%p,%d): stub\n",hUpdate, fDiscard);
66 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
67 return FALSE;
70 /***********************************************************************
71 * EndUpdateResourceW (KERNEL32.@)
73 BOOL WINAPI EndUpdateResourceW( HANDLE hUpdate, BOOL fDiscard )
75 FIXME("(%p,%d): stub\n",hUpdate, fDiscard);
76 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
77 return FALSE;
80 /***********************************************************************
81 * UpdateResourceA (KERNEL32.@)
83 BOOL WINAPI UpdateResourceA(
84 HANDLE hUpdate,
85 LPCSTR lpType,
86 LPCSTR lpName,
87 WORD wLanguage,
88 LPVOID lpData,
89 DWORD cbData) {
91 FIXME(": stub\n");
92 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
93 return FALSE;
96 /***********************************************************************
97 * UpdateResourceW (KERNEL32.@)
99 BOOL WINAPI UpdateResourceW(
100 HANDLE hUpdate,
101 LPCWSTR lpType,
102 LPCWSTR lpName,
103 WORD wLanguage,
104 LPVOID lpData,
105 DWORD cbData) {
107 FIXME(": stub\n");
108 SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
109 return FALSE;