From c1f4606683da2351b9701241bf389bb05d3cf874 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Sat, 14 Jul 2018 07:38:30 -0700 Subject: [PATCH] airfs: FspLoad: dynamic loading of WinFsp DLL --- tst/airfs/airfs.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tst/airfs/airfs.cpp b/tst/airfs/airfs.cpp index 4d83b658..be78abb9 100644 --- a/tst/airfs/airfs.cpp +++ b/tst/airfs/airfs.cpp @@ -2031,6 +2031,9 @@ NTSTATUS SvcStop(FSP_SERVICE *Service) int wmain(int argc, wchar_t **argv) { + if (!NT_SUCCESS(FspLoad(0))) + return ERROR_DELAY_LOAD_FAILED; + return FspServiceRun(L"" PROGNAME, SvcStart, SvcStop, 0); }