mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-03 17:32:57 -05:00
sys: HasDbgBreakPoint and flesh out IRP handlers (to return STATUS_INVALID_REQUEST)
This commit is contained in:
@ -30,9 +30,11 @@
|
||||
#define FSP_DEBUGLOG(rfmt, r, fmt, ...) ((void)0)
|
||||
#endif
|
||||
#if DBG
|
||||
BOOLEAN HasDbgBreakPoint(const char *Function);
|
||||
const char *NtStatusSym(NTSTATUS Status);
|
||||
#define FSP_ENTER_(...) \
|
||||
try { DbgBreakPoint(); } except(EXCEPTION_EXECUTE_HANDLER) {}\
|
||||
if (HasDbgBreakPoint(__FUNCTION__)) \
|
||||
try { DbgBreakPoint(); } except(EXCEPTION_EXECUTE_HANDLER) {}\
|
||||
__VA_ARGS__; \
|
||||
try \
|
||||
{
|
||||
|
Reference in New Issue
Block a user