[CLASS2]: - In ScsiClassCreateDeviceObject() don't drop received object name and store it in the device extension

- Implement support for the IOCTL_MOUNTDEV_QUERY_DEVICE_NAME IOCTL; return the store device name
This commit is contained in:
Pierre Schweitzer 2017-10-03 20:57:50 +02:00
parent 6882d62790
commit fdb72d7f85
2 changed files with 39 additions and 10 deletions

View file

@ -132,6 +132,7 @@ typedef struct _DEVICE_EXTENSION
HANDLE MediaChangeEventHandle;
BOOLEAN MediaChangeNoMedia;
ULONG MediaChangeCount;
UNICODE_STRING DeviceName;
} DEVICE_EXTENSION, *PDEVICE_EXTENSION;