ReactOS
0.4.17-dev-1005-g171e1de
FatalIntercept.c
Go to the documentation of this file.
1
//
2
// FatalIntercept.C
3
//
4
// Copyright (c) Microsoft Corporation. Licensed under the MIT license.
5
//
6
7
//
8
// Empty function which our test code can replace to intercept any Fatal calls.
9
// Used in Kernel-mode tests so that an error doesn't bugcheck the machine.
10
// Rather, it can kill the current thread and not take down the machine.
11
//
12
// This is in its own C file so that it is only linked in when the caller doesn't have
13
// a function by this name.
14
//
15
16
#include "
precomp.h
"
17
18
VOID
19
SYMCRYPT_CALL
20
SymCryptFatalIntercept
(
UINT32
fatalCode )
21
{
22
UNREFERENCED_PARAMETER
( fatalCode );
23
}
SymCryptFatalIntercept
VOID SYMCRYPT_CALL SymCryptFatalIntercept(UINT32 fatalCode)
Definition:
FatalIntercept.c:20
void
Definition:
nsiface.idl:2307
UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(P)
Definition:
ntbasedef.h:329
SYMCRYPT_CALL
#define SYMCRYPT_CALL
Definition:
symcrypt_internal.h:167
UINT32
uint32_t UINT32
Definition:
typedefs.h:59
precomp.h
sdk
lib
3rdparty
symcrypt
lib
FatalIntercept.c
Generated on Tue Oct 6 2026 06:20:06 for ReactOS by
1.9.6