ntdll: Make sure we don't return from a stub exception.

This commit is contained in:
Alexandre Julliard 2008-12-29 12:43:59 +01:00
parent edb852308c
commit d75b0ce452
2 changed files with 2 additions and 2 deletions

View File

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

View File

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