c++ - How do I get the upper half of the Volume id in Windows? -
this link @ ubuntu says "the option --new-half-serial changes upper part of serial number, keeping lower part used windows unchanged."
that suggests upper half of volume id exists on disk, there way @ in windows? (getvolumeinformation returns lower half). ubuntu shows entire 64-bit value blkid.
notes:
"this not volume uuid used windows locate files have been moved volume."
this refers volume uuid, not volume id talking here. volume uuid of form: \\.\volume{7e899cb7-0079-11e1-bc4e-002219f6e9d9}
i think want have @
ntfs_volume_data_buffer structure, , deviceio command:
fsctl_get_ntfs_volume_data and function deviceiocontrol(). think find looking in there. first member of nfts_volume_data_buffer defined large_integer, typedef to:
typedef union _large_integer { struct { dword lowpart; long highpart; }; struct { dword lowpart; long highpart; } u; longlong quadpart; } large_integer; let me know if helps @ all...
Comments
Post a Comment