[MUP] Use _SEH2_AbnormalTermination() instead of _abnormal_termination()

We're already using SEH2 macros, so also use SEH2 functions
This commit is contained in:
Hervé Poussineau 2019-04-07 18:59:13 +02:00
parent 2baf7b5220
commit 33cf2c44c5

View file

@ -1248,7 +1248,7 @@ RegisterUncProvider(PDEVICE_OBJECT DeviceObject,
} }
_SEH2_FINALLY _SEH2_FINALLY
{ {
if (_abnormal_termination()) if (_SEH2_AbnormalTermination())
{ {
Status = STATUS_INVALID_USER_BUFFER; Status = STATUS_INVALID_USER_BUFFER;
} }
@ -2153,7 +2153,7 @@ CreateRedirectedFile(PIRP Irp,
} }
_SEH2_FINALLY _SEH2_FINALLY
{ {
if (_abnormal_termination()) if (_SEH2_AbnormalTermination())
{ {
MasterQueryContext->LatestStatus = STATUS_INSUFFICIENT_RESOURCES; MasterQueryContext->LatestStatus = STATUS_INSUFFICIENT_RESOURCES;
} }