msi: Do not return ERROR_* constant in HRESULT function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
03d301cc74
commit
feb986ac5b
|
@ -2543,7 +2543,7 @@ HRESULT WINAPI MsiGetFileSignatureInformationA( LPCSTR path, DWORD flags, PCCERT
|
||||||
|
|
||||||
TRACE("%s %08x %p %p %p\n", debugstr_a(path), flags, cert, hash, hashlen);
|
TRACE("%s %08x %p %p %p\n", debugstr_a(path), flags, cert, hash, hashlen);
|
||||||
|
|
||||||
if (path && !(pathW = strdupAtoW( path ))) return ERROR_OUTOFMEMORY;
|
if (path && !(pathW = strdupAtoW( path ))) return E_OUTOFMEMORY;
|
||||||
r = MsiGetFileSignatureInformationW( pathW, flags, cert, hash, hashlen );
|
r = MsiGetFileSignatureInformationW( pathW, flags, cert, hash, hashlen );
|
||||||
msi_free( pathW );
|
msi_free( pathW );
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Reference in New Issue