mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-15 08:12:45 -05:00
tst: fscrash: initial commit
This commit is contained in:
43
tst/fscrash/fscrash.h
Normal file
43
tst/fscrash/fscrash.h
Normal file
@ -0,0 +1,43 @@
|
||||
/**
|
||||
* @file fscrash.h
|
||||
*
|
||||
* @copyright 2015-2016 Bill Zissimopoulos
|
||||
*/
|
||||
/*
|
||||
* This file is part of WinFsp.
|
||||
*
|
||||
* You can redistribute it and/or modify it under the terms of the GNU
|
||||
* General Public License version 3 as published by the Free Software
|
||||
* Foundation.
|
||||
*
|
||||
* Licensees holding a valid commercial license may use this file in
|
||||
* accordance with the commercial license agreement provided with the
|
||||
* software.
|
||||
*/
|
||||
|
||||
#ifndef FSCRASH_H_INCLUDED
|
||||
#define FSCRASH_H_INCLUDED
|
||||
|
||||
#include <winfsp/winfsp.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum
|
||||
{
|
||||
FspCrashInterceptAccessViolation = 0x01,
|
||||
FspCrashInterceptTerminate = 0x02,
|
||||
FspCrashInterceptEnter = 0x10,
|
||||
FspCrashInterceptLeave = 0x20,
|
||||
};
|
||||
|
||||
VOID FspCrashIntercept(FSP_FILE_SYSTEM *FileSystem,
|
||||
ULONG CrashMask, ULONG CrashFlags, ULONG CrashPercent);
|
||||
VOID FspCrash(FSP_FILE_SYSTEM *FileSystem);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user