mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
tst: passthrough-cpp: FspLoad
This commit is contained in:
parent
0795774e9e
commit
9657ae31c3
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user