title: Does QueryDosDevice and IOCTL_STORAGE_GET_DEVICE_NUM treat LUNs as separate devices?
body: <p>Can someone confirm whether <code>QueryDosDevice()</code> and <code>IOCTL_STORAGE_GET_DEVICE_NUMBER</code> considers <code>LUN</code>s on the same physical USB storage device as a single device, or is each LUN considered as a separate device?</p>
  
  <p>For example, if I have a USB thumb drive that has multiple <code>LUN</code>s, and each LUN has been allocated a logical DOS "letter", such as <code>C</code>:, <code>D:</code>, etc, if I call <code>QueryDosDevice()</code> will it return the same <code>DeviceName</code> for all the <code>LUN</code>s? Or will each <code>LUN</code> have a different <code>DeviceName</code>?</p>
  
  <p>Similarly, if I use <code>IOCTL_STORAGE_GET_DEVICE_NUMBER</code> for each of the <code>LUN</code>s, will the returned <code>DeviceNumber</code> be the same for all the <code>LUN</code>s?</p>
  
  <p>Thanks for your help!</p>