Get the LUN(Logical Unit Number)

Hi All

I wrote Win32 Application about USB Mass Storage running on the Windwos 2K.

I can open my storage device like below.

CreateFile(“\.\F:”,…).

But i don’t know how can i get the LUN(Logical Unit Number).

So, how can i get the LUN?.

Thanks ard regards
Andrew

Use IOCTL_STORAGE_xxx described in the DDK.

----- Original Message -----
From: gimme
To: NT Developers Interest List
Sent: Wednesday, February 05, 2003 4:25 AM
Subject: [ntdev] Get the LUN(Logical Unit Number)

Hi All

I wrote Win32 Application about USB Mass Storage running on the Windwos 2K.

I can open my storage device like below.

CreateFile(“\.\F:”,…).

But i don’t know how can i get the LUN(Logical Unit Number).

So, how can i get the LUN?.

Thanks ard regards
Andrew

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

I used that already.

But i can’t find LUN.

Thanks .
Andrew
----- Original Message -----
From: Maxim S. Shatskih
To: NT Developers Interest List
Sent: Thursday, February 06, 2003 3:30 AM
Subject: [ntdev] Re: Get the LUN(Logical Unit Number)

Use IOCTL_STORAGE_xxx described in the DDK.

----- Original Message -----
From: gimme
To: NT Developers Interest List
Sent: Wednesday, February 05, 2003 4:25 AM
Subject: [ntdev] Get the LUN(Logical Unit Number)

Hi All

I wrote Win32 Application about USB Mass Storage running on the Windwos 2K.

I can open my storage device like below.

CreateFile(“\.\F:”,…).

But i don’t know how can i get the LUN(Logical Unit Number).

So, how can i get the LUN?.

Thanks ard regards
Andrew

You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

You are currently subscribed to ntdev as: xxxxx@pointchips.com
To unsubscribe send a blank email to xxxxx@lists.osr.com