ntdll: Return correct status when manifest could not be loaded from file.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6e754202bf
commit
33bc90e687
|
@ -2683,7 +2683,6 @@ todo_wine
|
|||
SetLastError(0xdeadbeef);
|
||||
handle = CreateActCtxA(&actctx);
|
||||
ok(handle == INVALID_HANDLE_VALUE, "got handle %p\n", handle);
|
||||
todo_wine
|
||||
ok(GetLastError() == ERROR_RESOURCE_NAME_NOT_FOUND, "got error %d\n", GetLastError());
|
||||
|
||||
/* load manifest from lpAssemblyDirectory directory */
|
||||
|
|
|
@ -3020,7 +3020,7 @@ static NTSTATUS get_manifest_in_associated_manifest( struct actctx_loader* acl,
|
|||
status = get_manifest_in_manifest_file( acl, ai, nameW.Buffer, directory, FALSE, file );
|
||||
NtClose( file );
|
||||
}
|
||||
else status = STATUS_RESOURCE_TYPE_NOT_FOUND;
|
||||
else status = STATUS_RESOURCE_NAME_NOT_FOUND;
|
||||
RtlFreeUnicodeString( &nameW );
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue