ntdll: Make sure we don't return from a stub exception.
This commit is contained in:
parent
edb852308c
commit
d75b0ce452
|
@ -601,5 +601,5 @@ void __wine_spec_unimplemented_stub( const char *module, const char *function )
|
|||
record.NumberParameters = 2;
|
||||
record.ExceptionInformation[0] = (ULONG_PTR)module;
|
||||
record.ExceptionInformation[1] = (ULONG_PTR)function;
|
||||
RtlRaiseException( &record );
|
||||
for (;;) RtlRaiseException( &record );
|
||||
}
|
||||
|
|
|
@ -32,5 +32,5 @@ void DECLSPEC_HIDDEN __wine_spec_unimplemented_stub( const char *module, const c
|
|||
|
||||
args[0] = (ULONG_PTR)module;
|
||||
args[1] = (ULONG_PTR)function;
|
||||
RaiseException( EXCEPTION_WINE_STUB, EXCEPTION_NONCONTINUABLE, 2, args );
|
||||
for (;;) RaiseException( EXCEPTION_WINE_STUB, EXCEPTION_NONCONTINUABLE, 2, args );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue