mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
launcher: testing
This commit is contained in:
parent
0c6300b97c
commit
c322a4b14a
@ -424,7 +424,7 @@ NTSTATUS SvcInstanceGetInfo(HANDLE ClientToken,
|
|||||||
memcpy(P, SvcInstance->InstanceName, InstanceNameSize * sizeof(WCHAR)); P += InstanceNameSize;
|
memcpy(P, SvcInstance->InstanceName, InstanceNameSize * sizeof(WCHAR)); P += InstanceNameSize;
|
||||||
memcpy(P, SvcInstance->CommandLine, CommandLineSize * sizeof(WCHAR)); P += CommandLineSize;
|
memcpy(P, SvcInstance->CommandLine, CommandLineSize * sizeof(WCHAR)); P += CommandLineSize;
|
||||||
|
|
||||||
*PSize = (ULONG)(P - Buffer);
|
*PSize = (ULONG)(P - Buffer) * sizeof(WCHAR);
|
||||||
|
|
||||||
Result = STATUS_SUCCESS;
|
Result = STATUS_SUCCESS;
|
||||||
|
|
||||||
@ -462,7 +462,7 @@ NTSTATUS SvcInstanceGetNameList(HANDLE ClientToken,
|
|||||||
|
|
||||||
LeaveCriticalSection(&SvcInstanceLock);
|
LeaveCriticalSection(&SvcInstanceLock);
|
||||||
|
|
||||||
*PSize = (ULONG)(P - Buffer);
|
*PSize = (ULONG)(P - Buffer) * sizeof(WCHAR);
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user