From 96f6c288854f6701c328e3398510dd810827911d Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Wed, 29 Mar 2017 14:37:19 -0700 Subject: [PATCH] inc: winfsp.hpp: FSP_CPP_EXCEPTION_GUARD --- inc/winfsp/winfsp.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/winfsp/winfsp.hpp b/inc/winfsp/winfsp.hpp index e7f9aaf9..47a5f5c5 100644 --- a/inc/winfsp/winfsp.hpp +++ b/inc/winfsp/winfsp.hpp @@ -820,7 +820,11 @@ public: } protected: - /* virtuals */ + /* start/stop */ + virtual NTSTATUS ExceptionHandler() + { + return 0xE06D7363/*STATUS_CPP_EH_EXCEPTION*/; + } virtual NTSTATUS OnStart(ULONG Argc, PWSTR *Argv) { return STATUS_SUCCESS; @@ -832,10 +836,6 @@ protected: private: /* callbacks */ - virtual NTSTATUS ExceptionHandler() - { - return 0xE06D7363/*STATUS_CPP_EH_EXCEPTION*/; - } static NTSTATUS OnStart(FSP_SERVICE *Service0, ULONG Argc, PWSTR *Argv) { Service *self = (Service *)Service0->UserContext;