Commit 6501d7b1 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

kernel: DelayLoadFailureHook crash fix.

parent 0ae2c69c
......@@ -992,7 +992,10 @@ FARPROC WINAPI DelayLoadFailureHook( LPCSTR name, LPCSTR function )
{
ULONG_PTR args[2];
ERR( "failed to delay load %s.%s\n", name, function );
if ((ULONG_PTR)function >> 16)
ERR( "failed to delay load %s.%s\n", name, function );
else
ERR( "failed to delay load %s.%u\n", name, LOWORD(function) );
args[0] = (ULONG_PTR)name;
args[1] = (ULONG_PTR)function;
RaiseException( EXCEPTION_WINE_STUB, EH_NONCONTINUABLE, 2, args );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment