Alex Henrie alexhenrie24@gmail.com writes:
- status = pLdrGetDllFullName(NULL, &path);
- ok(status == STATUS_SUCCESS, "Expected STATUS_SUCCESS, got %08x\n", status);
- extension = PathFindExtensionW(path_buffer);
- ok(lstrcmpW(extension, dot_exe) == 0, "Expected %s, got %s\n",
wine_dbgstr_w(dot_exe), wine_dbgstr_w(extension));
I'd suggest to test the full path against GetModuleFileNameW(0), instead of only the extension.