Added a few DirectInput 7 definitions and C++ fixes.
[wine.git] / win32 / kernel32.c
blob74fe4da3599e8d6fb1ffbc33eb81ec8760d76fa5
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;
54 /***********************************************************************
55 * WaitNamedPipeA [KERNEL32.725]
57 BOOL WINAPI WaitNamedPipeA (LPCSTR lpNamedPipeName, DWORD nTimeOut)
58 { FIXME("%s 0x%08lx\n",lpNamedPipeName,nTimeOut);
59 SetLastError(ERROR_PIPE_NOT_CONNECTED);
60 return FALSE;
62 /***********************************************************************
63 * WaitNamedPipeW [KERNEL32.726]
65 BOOL WINAPI WaitNamedPipeW (LPCWSTR lpNamedPipeName, DWORD nTimeOut)
66 { FIXME("%s 0x%08lx\n",debugstr_w(lpNamedPipeName),nTimeOut);
67 SetLastError(ERROR_PIPE_NOT_CONNECTED);
68 return FALSE;