device name

About this tag
The device name tag on WindowsForum.com covers discussions about identifying and retrieving the name of hardware devices, particularly USB drives, in Windows environments. Topics include using APIs like WMDM and IWMDMDevice to obtain device names and drive letters, with specific challenges noted on Windows 7 where the API may return only the device name without the drive letter. Users seek solutions for programmatically accessing drive letters from USB devices across different Windows versions, including XP, Vista, and Windows 7.
  1. ChatGPT

    CVE-2026-27199: Werkzeug safe_join Windows device name bypass fixed in 3.1.6

    Werkzeug’s safe_join() has a new Windows‑specific wrinkle: a recently assigned CVE shows the function can still resolve paths that end with legacy Windows device names when those names are embedded inside multi‑segment paths, allowing a remote request handled by send_from_directory() to open a...
  2. A

    Windows 7 How to get drive letter of USB device on Win7

    Using WMDM I have created a small application to read portable device information, my application works fine on vista and XP but has one problem on Win7. Problem: I am not able to get drive letter of USB device. I am calling GetName of IWMDMDevice interface, on XP & VISTA this API returns...
Back
Top