31 ok(
Trace->BaseAddress !=
NULL,
"Got no BaseAddress for %u\n",
n);
32 ok(
Trace->SizeOfImage != 0,
"Got no SizeOfImage for %u\n",
n);
33 ok(
Trace->Sequence == ExpectSequence,
34 "Wrong Sequence: %lu instead of %lu for %u\n",
Trace->Sequence, ExpectSequence,
n);
35 ok(
Trace->TimeDateStamp != 0,
"Got no TimeDateStamp for %u\n",
n);
36 ok(
Trace->CheckSum != 0,
"Got no CheckSum for %u\n",
n);
37 ok(!
wcscmp(
Trace->ImageName,
L"GetUName.dLl"),
"Wrong ImageName for %u: %S\n",
n,
Trace->ImageName);
41#define TESTDLL "GetUName.dLl"
std::map< E_MODULE, HMODULE > mod
static void Test_LoadUnload()
PRTL_UNLOAD_EVENT_TRACE NTAPI RtlGetUnloadEventTrace(VOID)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
HINSTANCE WINAPI DECLSPEC_HOTPATCH LoadLibraryA(LPCSTR lpLibFileName)
DWORD WINAPI GetModuleFileNameA(HINSTANCE hModule, LPSTR lpFilename, DWORD nSize)
#define RTL_UNLOAD_EVENT_TRACE_NUMBER
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)