airfs: FspLoad: dynamic loading of WinFsp DLL

This commit is contained in:
Bill Zissimopoulos 2018-07-14 07:38:30 -07:00
parent f79db6a3db
commit c1f4606683
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -2031,6 +2031,9 @@ NTSTATUS SvcStop(FSP_SERVICE *Service)
int wmain(int argc, wchar_t **argv) int wmain(int argc, wchar_t **argv)
{ {
if (!NT_SUCCESS(FspLoad(0)))
return ERROR_DELAY_LOAD_FAILED;
return FspServiceRun(L"" PROGNAME, SvcStart, SvcStop, 0); return FspServiceRun(L"" PROGNAME, SvcStart, SvcStop, 0);
} }