---
 kernel/windows/netuio/netuio_dev.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/kernel/windows/netuio/netuio_dev.c 
b/kernel/windows/netuio/netuio_dev.c
index f5d41cb65..1f01e2324 100644
--- a/kernel/windows/netuio/netuio_dev.c
+++ b/kernel/windows/netuio/netuio_dev.c
@@ -33,6 +33,9 @@ netuio_create_device(_Inout_ PWDFDEVICE_INIT DeviceInit)
 
     PAGED_CODE();
 
+    // Need to set a name for the device for SDDL string to work
+    WdfDeviceInitSetCharacteristics(DeviceInit, 
FILE_AUTOGENERATED_DEVICE_NAME, TRUE);
+
     // Ensure that only administrators can access our device object.
     status = WdfDeviceInitAssignSDDLString(DeviceInit, 
&SDDL_DEVOBJ_SYS_ALL_ADM_ALL);
 
-- 
2.18.0.windows.1

Reply via email to