mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
ntdll: Fix return value when failed to locate resource.
This commit is contained in:
parent
031c027262
commit
aa4ebeb57c
2 changed files with 1 additions and 2 deletions
|
@ -2146,7 +2146,6 @@ todo_wine
|
|||
SetLastError(0xdeadbeef);
|
||||
handle = pCreateActCtxA(&actctx);
|
||||
ok(handle == INVALID_HANDLE_VALUE, "got handle %p\n", handle);
|
||||
todo_wine
|
||||
ok(GetLastError() == ERROR_RESOURCE_TYPE_NOT_FOUND, "got error %d\n", GetLastError());
|
||||
}
|
||||
|
||||
|
|
|
@ -2633,7 +2633,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_DATA_NOT_FOUND;
|
||||
else status = STATUS_RESOURCE_TYPE_NOT_FOUND;
|
||||
RtlFreeUnicodeString( &nameW );
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue