RtlInitUnicodeString(&sddl, _T("D:P(A;;GA;;;SY)(A;;GA;;;LS)(A;;GA;;;BA)(A;;GA;;;BU)(A;;GA;;;WD)(A;;GA;;;RC)(A;;GA;;;AU)(A;;GA;;;BG)(A;;GA;;;IU)")); // here i try to list all and give access to all status = IoCreateDeviceSecure( DriverObject, sizeof(DEVICE_EXTENSION), &device_name, DeviceType, FILE_DEVICE_SECURE_OPEN | FILE_REMOVABLE_MEDIA, FALSE, &sddl, NULL, &device_object );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)