Jody Belka <lists-p5p@pimb.org> writes: > >dwVolumeSerialNumber > Serial number of the volume that contains the file. Roughly dev. > >nFileIndexHigh > High-order part of a unique identifier associated with the file. > >nFileIndexLow > Low-order part of a unique identifier associated with the file. > Roughly inode - but at least twice the size. I toyed with having Win32's stat return inode as a BigInt at one point. (A string would be easy but too much code uses == which forces it back to numeric.) >To quote on FileIndex from the BY_HANDLE_FILE_INFORMATION reference, > >[[ >Note that this value is useful only while the file is open by at least one >process. If no processes have it open, the index may change the next time >the file is opened. > >The identifier (low and high parts) and the volume serial number uniquely >identify a file on a single computer. To determine whether two open >handles represent the same file, combine this identifier and the volume >serial number for each file and compare them. >]] > > >References for all of the above: > >CreateFile - http://xrl.us/CreateFile >GetFileInformationByHandle - http://xrl.us/GetFileInformationByHandle >BY_HANDLE_FILE_INFORMATION - http://xrl.us/ByHandleFileInformation > > >HTHThread Previous | Thread Next