Re: do not use CM_xxx function call

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

I found used the same function call with SPDRP_PHYSICAL_DEVICE_OBJECT_NAME
property can get all of them.

Ken

"KenH" wrote:

Kalle,

Thanks, it works. May I ask for how to get the scsi port number for the disk
enclosure? I can get the bus/target/lun now, I need the scsi port# also.

Ken

"Kalle Olavi Niemitalo" wrote:

KenH <KenHwang@xxxxxxxxxxxxxxxx> writes:

May someone hint me how to get the parameters used in SetupDixxx from
the CM_xx device instance handle?

Perhaps you could use CM_Get_Device_ID, then SetupDiOpenDeviceInfo.
SP_DEVINFO_DATA::DevInst is for the opposite direction.

.



Relevant Pages

  • Re: do not use CM_xxx function call
    ... in \Device\xxxx format. ... address of a enclosure. ... "KenH" wrote: ... May I ask for how to get the scsi port number for the disk ...
    (microsoft.public.development.device.drivers)
  • Re: do not use CM_xxx function call
    ... May I ask for how to get the scsi port number for the disk ... I can get the bus/target/lun now, I need the scsi port# also. ...
    (microsoft.public.development.device.drivers)