106 trace(
"Tls not active\n");
117 ok(0,
"Unable to load it normally\n");
151 ok(0,
"Unable to execute test\n");
178 ok(0,
"Unable to execute test\n");
205 ok(0,
"Unable to execute test\n");
232 ok(0,
"Unable to execute test\n");
268 ok(dwWritten ==
Size,
"WriteFile wrote %lu bytes instead of %lu\n", dwWritten,
Size);
322 ok(0,
"Ldr didnt handle exception\n");
328 ok(0,
"Failed to extract resource\n");
std::map< E_MODULE, HMODULE > mod
#define InterlockedIncrement
#define ok_hex(expression, result)
#define ok_int(expression, result)
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
#define INVALID_HANDLE_VALUE
#define FILE_ATTRIBUTE_NORMAL
VOID WINAPI RaiseException(_In_ DWORD dwExceptionCode, _In_ DWORD dwExceptionFlags, _In_ DWORD nNumberOfArguments, _In_opt_ const ULONG_PTR *lpArguments)
BOOL WINAPI DeleteFileW(IN LPCWSTR lpFileName)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
DWORD WINAPI GetTempPathW(IN DWORD count, OUT LPWSTR path)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
DWORD WINAPI SizeofResource(HINSTANCE hModule, HRSRC hRsrc)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
static xmlCharEncodingHandlerPtr * handlers
IN PVCB IN PBCB OUT PDIRENT IN USHORT IN POEM_STRING Filename
UINT WINAPI GetTempFileNameW(IN LPCWSTR lpPathName, IN LPCWSTR lpPrefixString, IN UINT uUnique, OUT LPWSTR lpTempFileName)
#define EXCEPTION_EXECUTE_HANDLER
#define InterlockedCompareExchange
static IN DWORD IN LPVOID lpvReserved
BOOL extract_resource(const WCHAR *Filename, LPCWSTR ResourceName)
BOOL WINAPI notify_DllMain(IN HINSTANCE hDllHandle, IN DWORD dwReason, IN LPVOID lpvReserved)
static void execute_test(void)
VOID WINAPI notify_TlsCallback(IN HINSTANCE hDllHandle, IN DWORD dwReason, IN LPVOID lpvReserved)
ULONG CountHandlers(VOID)
static char workdir[MAX_PATH]
_In_ ULONG _In_ ULONG _In_ ULONG Length
#define _SEH2_EXCEPT(...)
#define _WIN32_WINNT_WS03
#define _WIN32_WINNT_WINBLUE
#define _WIN32_WINNT_WS08
#define _WIN32_WINNT_WIN7
struct _EXCEPTION_REGISTRATION_RECORD * Next
#define EXCEPTION_NONCONTINUABLE
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
DWORD WINAPI GetLastError(void)
#define EXCEPTION_DATATYPE_MISALIGNMENT
#define UnlockResource(handle)
#define ERROR_DLL_INIT_FAILED