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
18VOID
21{
22 UNREFERENCED_PARAMETER( fatalCode );
23}
VOID SYMCRYPT_CALL SymCryptFatalIntercept(UINT32 fatalCode)
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:329
#define SYMCRYPT_CALL
uint32_t UINT32
Definition: typedefs.h:59