name in device manager;

I have created a prototype class driver which claims certain IDE/SCSI disks. It currently has no entry points (DriverObject->MajorFunction[IRP_MJ_*] not set). It works fine except that the name of the disk under my class in device manager appears as the one picked from my class driver inf file. I need to name that device same as it would appear when under the normal “Disk Drives” as claimed by disk.sys. e.g, a Hitachi drive will appear as “HITACHI ZS74652”. Any pointers? Thank you.

I tried using IoSetDevicePropertyData (PdoCreatedByPortDriver, …) - even though the function suceeds and IoGetDevicePropertyData returned the new value set by my driver but device manager still presents the name from the inf file.

Do I need to create a co-installer to achieve this?

help? Thank you.

Since you claim you are not processing any pnp IRPs (or any other
IRPs) there is no other information available about your device. I
think you have to process pnp irps at a minimum.

Mark Roddy

On Thu, Oct 7, 2010 at 9:46 PM, wrote:
> I tried using IoSetDevicePropertyData (PdoCreatedByPortDriver, …) - even though the function suceeds and IoGetDevicePropertyData returned the new value set by my driver but device manager still presents the name from the inf file.
>
> Do I need to create a co-installer to achieve this?
>
> help? Thank you.
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
>

Thank you. which pnp irp has the “friendly name” information or the information that is used to display name in device manager ?