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