Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wine-mirror
GitHub Repository: wine-mirror/wine
Path: blob/master/libs/symcrypt/lib/FatalIntercept.c
15010 views
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
}
24
25