mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
dll: WIP
This commit is contained in:
parent
567cf3e8eb
commit
47b1ba13e6
@ -32,8 +32,7 @@ FSP_API NTSTATUS FspFsctlCreateVolume(PWSTR DevicePath,
|
|||||||
|
|
||||||
GlobalDevicePath(DevicePathBuf, sizeof DevicePathBuf, DevicePath);
|
GlobalDevicePath(DevicePathBuf, sizeof DevicePathBuf, DevicePath);
|
||||||
|
|
||||||
SecurityDescriptorSize = 0;
|
SecurityDescriptorSize = GetSecurityDescriptorLength(SecurityDescriptor);
|
||||||
MakeSelfRelativeSD(SecurityDescriptor, 0, &SecurityDescriptorSize);
|
|
||||||
ParamsBuf = malloc(sizeof *ParamsBuf + SecurityDescriptorSize);
|
ParamsBuf = malloc(sizeof *ParamsBuf + SecurityDescriptorSize);
|
||||||
if (0 == ParamsBuf)
|
if (0 == ParamsBuf)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user