59 Len = GetSystemWindowsDirectory(System, 255);
62 printf(
"GetSystemWindowsDirectory failed\n");
67 strcat(System,
"\\system32\\");
68 if (IsDriver)
strcat(System,
"drivers\\");
77 printf(
"IntGetImageBase failed\n");
84 printf(
"Not supported yet!\n");
134 skip(
"Couldn't find info about ntdll.dll\n");
146 skip(
"Couldn't find info about msvcrt.dll\n");
158 skip(
"Couldn't find info about psapi.dll\n");
193 skip(
"Couldn't find info about ntdll.dll\n");
205 skip(
"Couldn't find info about msvcrt.dll\n");
217 skip(
"Couldn't find info about psapi.dll\n");
PRTL_UNICODE_STRING_BUFFER Path
#define INVALID_HANDLE_VALUE
#define ERROR_INVALID_HANDLE
int WINAPI lstrcmpiA(LPCSTR str1, LPCSTR str2)
DWORD WINAPI GetDeviceDriverBaseNameA(LPVOID ImageBase, LPSTR lpBaseName, DWORD nSize)
DWORD WINAPI GetDeviceDriverFileNameA(LPVOID ImageBase, LPSTR lpFilename, DWORD nSize)
int WINAPI lstrlenA(LPCSTR lpString)
static BOOLEAN IntGetModuleInformation(LPCSTR Module, BOOLEAN IsDriver, BOOLEAN IsProcMod, BOOLEAN BaseName, TEST_MODULE_INFO *Info)
static LPVOID IntGetImageBase(LPCSTR Image)
#define GetDeviceDriverFileName
#define GetDeviceDriverBaseName
#define TH32CS_SNAPMODULE
struct tagMODULEENTRY32 MODULEENTRY32
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
DWORD WINAPI GetLastError(void)