From ACSL to Hardware Instance ID

Hi all,

If I have the ACSL scsi id of device, how can I retrieve the hardware
instance id (the relative path to Enum)? Either in user mode or kernel mode
is ok. Thanks!