merge the formfield patch from ooo-build
[ooovba.git] / sal / systools / win32 / uwinapi / toolhelp.cpp
blob7b651581bae7daf25c8b7d0b0db40acdf6b92591
1 #include "macros.h"
2 #include <tlhelp32.h>
5 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32First, (HANDLE hSnapshot, LPMODULEENTRY32 lpme ) )
7 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
8 return FALSE;
11 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32FirstW, (HANDLE hSnapshot, LPMODULEENTRY32W lpme ) )
13 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
14 return FALSE;
17 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32Next, (HANDLE hSnapshot, LPMODULEENTRY32 lpme ) )
19 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
20 return FALSE;
23 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32NextW, (HANDLE hSnapshot, LPMODULEENTRY32W lpme ) )
25 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
26 return FALSE;
29 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32First, (HANDLE hSnapshot, LPPROCESSENTRY32 lppe ) )
31 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
32 return FALSE;
35 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32FirstW, (HANDLE hSnapshot, LPPROCESSENTRY32W lppe ) )
37 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
38 return FALSE;
41 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32Next, (HANDLE hSnapshot, LPPROCESSENTRY32 lppe ) )
43 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
44 return FALSE;
47 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32NextW, (HANDLE hSnapshot, LPPROCESSENTRY32W lppe ) )
49 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
50 return FALSE;
53 IMPLEMENT_THUNK( kernel32, TRYLOAD, HANDLE, WINAPI, CreateToolhelp32Snapshot, (DWORD dwFlags, DWORD th32ProcessID ) )
55 SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
56 return NULL;