From 9657ae31c3c30cd1c59ef3e740649e0363986828 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 27 Mar 2017 17:39:24 -0700 Subject: [PATCH] tst: passthrough-cpp: FspLoad --- tst/passthrough-cpp/passthrough-cpp.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tst/passthrough-cpp/passthrough-cpp.cpp b/tst/passthrough-cpp/passthrough-cpp.cpp index 54b03c23..fbbec469 100644 --- a/tst/passthrough-cpp/passthrough-cpp.cpp +++ b/tst/passthrough-cpp/passthrough-cpp.cpp @@ -899,5 +899,8 @@ static 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); }