1 #include "macros.h"
2 #include <tlhelp32.h>
3 
4 
5 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32First, (HANDLE hSnapshot, LPMODULEENTRY32 lpme ) )
6 {
7 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
8 	return FALSE;
9 }
10 
11 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32FirstW, (HANDLE hSnapshot, LPMODULEENTRY32W lpme ) )
12 {
13 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
14 	return FALSE;
15 }
16 
17 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32Next, (HANDLE hSnapshot, LPMODULEENTRY32 lpme ) )
18 {
19 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
20 	return FALSE;
21 }
22 
23 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32NextW, (HANDLE hSnapshot, LPMODULEENTRY32W lpme ) )
24 {
25 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
26 	return FALSE;
27 }
28 
29 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32First, (HANDLE hSnapshot, LPPROCESSENTRY32 lppe ) )
30 {
31 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
32 	return FALSE;
33 }
34 
35 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32FirstW, (HANDLE hSnapshot, LPPROCESSENTRY32W lppe ) )
36 {
37 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
38 	return FALSE;
39 }
40 
41 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32Next, (HANDLE hSnapshot, LPPROCESSENTRY32 lppe ) )
42 {
43 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
44 	return FALSE;
45 }
46 
47 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32NextW, (HANDLE hSnapshot, LPPROCESSENTRY32W lppe ) )
48 {
49 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
50 	return FALSE;
51 }
52 
53 IMPLEMENT_THUNK( kernel32, TRYLOAD, HANDLE, WINAPI, CreateToolhelp32Snapshot, (DWORD dwFlags, DWORD th32ProcessID ) )
54 {
55 	SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
56 	return NULL;
57 }
58