ntdll: Fix return value when failed to locate resource.

This commit is contained in:
Nikolay Sivov 2013-12-30 00:25:38 +04:00 committed by Alexandre Julliard
parent 031c027262
commit aa4ebeb57c
2 changed files with 1 additions and 2 deletions

View file

@ -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());
}

View file

@ -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;
}