disk.sys display name query

Hi All,

This question is regarding the display name of the disk.sys in the device manager. For a non NVMe drive it will show as “*** SCSI Disk Device” for example in a VM it shows as “Vmware Virtual Disk SCSI Disk Device”. For an NVMe drive it shows just the drive name without SCSI Disk Device string for example in my laptop I have a samsung NVMe drive it shows as “Samsung SSD 980 500GB”.
I am debugging a vendor specific Storage driver for a NVMe device. For me the display name for the disk is coming as “* SCSI Disk Device” in the device manager. Since this is a NVMe drive my display name should not have “SCSI Disk Device” string.
I want to know, how disk.sys gets the display name? Is it through one of the PnP events received in the Storport Miniport driver or is there a Storport support routines or is it from one of the SCSI commands received in the Storport Miniport driver?

Thanks,
Prem