mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
dll: FspFsctlUnregister: do FspFsctlStopService prior to unregister
This commit is contained in:
parent
de9112f6e6
commit
b43d1f5502
@ -828,6 +828,8 @@ NTSTATUS FspFsctlUnregister(VOID)
|
||||
|
||||
FspSxsAppendSuffix(DriverName, sizeof DriverName, L"" FSP_FSCTL_DRIVER_NAME);
|
||||
|
||||
FspFsctlStopService();
|
||||
|
||||
ScmHandle = OpenSCManagerW(0, 0, SC_MANAGER_CREATE_SERVICE);
|
||||
/*
|
||||
* The SC_MANAGER_CREATE_SERVICE access right is not strictly needed here,
|
||||
|
Loading…
x
Reference in New Issue
Block a user