mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-26 04:22:50 -05:00
tst: passthrough-cpp: FspLoad
This commit is contained in:
@@ -899,5 +899,8 @@ static 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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user