HKEY_LOCAL_MACHINE\SYSTEM\DISK
-
How to interpret the content of the key "HKEY_LOCAL_MACHINE\SYSTEM\DISK\Information"? I want it to locate all volumes under Windows NT 4.0. If the content of this key was not documented, what is the other way to locate a specific volume under WinNT 4.0? Thanks. Best regards.
-
How to interpret the content of the key "HKEY_LOCAL_MACHINE\SYSTEM\DISK\Information"? I want it to locate all volumes under Windows NT 4.0. If the content of this key was not documented, what is the other way to locate a specific volume under WinNT 4.0? Thanks. Best regards.
Are either of these what you are looking for:
GetLogicalDriveStrings()
GetLogicalDrives()
GetVolumeInformation()
FindFirstVolume()
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
Are either of these what you are looking for:
GetLogicalDriveStrings()
GetLogicalDrives()
GetVolumeInformation()
FindFirstVolume()
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
Thanks for your reply, However, what I need is the location of each volume. For example, what is the starting offset and length of the volumn C: and, of course, which physical disk this volume belongs to. In other words, I want a similar function (works in WinNT 4.0) with IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS, which does not work under Windows NT 4.0 I think the approach to key HKEY_LOCAL_MACHINE\SYSTEM\DISK\Information is correct. But the content of this REG_BIN value is still unknown. Best regards.
-
Thanks for your reply, However, what I need is the location of each volume. For example, what is the starting offset and length of the volumn C: and, of course, which physical disk this volume belongs to. In other words, I want a similar function (works in WinNT 4.0) with IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS, which does not work under Windows NT 4.0 I think the approach to key HKEY_LOCAL_MACHINE\SYSTEM\DISK\Information is correct. But the content of this REG_BIN value is still unknown. Best regards.
Tuan Dang wrote: I think the approach to key HKEY_LOCAL_MACHINE\SYSTEM\DISK\Information is correct. Except that that key does not always exist. The two machines on my desk do not have that key.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow