oliverhu Posted February 17, 2017 Share Posted February 17, 2017 Attached is script quoted from example code.When it runs in my machine, I get a blank bus type while I expect "NVME" . The disk of my computer is NVME SSD which is popular now.It seems that the DriveGetType() function did NOT support it. ReadBusType.au3 Link to comment Share on other sites More sharing options...
Subz Posted February 17, 2017 Share Posted February 17, 2017 What does the following return? #include <WinAPIFiles.au3> $iBus = _WinAPI_GetDriveBusType('C:') MsgBox(0, '', $iBus) Link to comment Share on other sites More sharing options...
oliverhu Posted February 20, 2017 Author Share Posted February 20, 2017 On 2017/2/17 at 8:20 PM, Subz said: What does the following return? #include <WinAPIFiles.au3> $iBus = _WinAPI_GetDriveBusType('C:') MsgBox(0, '', $iBus) It returns 17. Link to comment Share on other sites More sharing options...
Subz Posted February 20, 2017 Share Posted February 20, 2017 Bustype 17 reports to be NVME - https://msdn.microsoft.com/en-us/library/windows/desktop/hh830493(v=vs.85).aspx, Link to comment Share on other sites More sharing options...
oliverhu Posted February 20, 2017 Author Share Posted February 20, 2017 Thank you for your quick response.I get my answer now. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now