From 2ad4e30754d046c01b7e43f7f6c93ed5d97048ba Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Wed, 7 Dec 2016 16:43:55 -0800 Subject: [PATCH] inc: fsctl: add FSP_FSCTL_FILE_INFO::HardLinks field --- inc/winfsp/fsctl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/winfsp/fsctl.h b/inc/winfsp/fsctl.h index 7dcc92e6..f9d9dd70 100644 --- a/inc/winfsp/fsctl.h +++ b/inc/winfsp/fsctl.h @@ -173,6 +173,7 @@ typedef struct UINT64 LastWriteTime; UINT64 ChangeTime; UINT64 IndexNumber; + UINT32 HardLinks; /* currently unused: set to 0 */ } FSP_FSCTL_FILE_INFO; typedef struct { @@ -185,7 +186,7 @@ typedef struct UINT16 Size; FSP_FSCTL_FILE_INFO FileInfo; UINT64 NextOffset; - UINT8 Padding[24]; + UINT8 Padding[16]; /* make struct as big as FILE_ID_BOTH_DIR_INFORMATION; allows for in-place copying */ WCHAR FileNameBuf[]; } FSP_FSCTL_DIR_INFO;