diff options
Diffstat (limited to 'zen/file_id_def.h')
-rw-r--r-- | zen/file_id_def.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zen/file_id_def.h b/zen/file_id_def.h index a96e978b..7a2059a6 100644 --- a/zen/file_id_def.h +++ b/zen/file_id_def.h @@ -23,7 +23,8 @@ namespace zen typedef DWORD DeviceId; typedef ULONGLONG FileIndex; -typedef std::pair<DeviceId, FileIndex> FileId; +typedef std::pair<DeviceId, FileIndex> FileId; //optional! (however, always set on Linux, and *generally* available on Windows) + inline FileId extractFileId(const BY_HANDLE_FILE_INFORMATION& fileInfo) |