inc: fsctl: FSP_FSCTL_VOLUME_PARAMS changes:

- increase size of VolumePrefix
- add FileSystemName field (currently unused)
This commit is contained in:
Bill Zissimopoulos
2016-09-20 15:37:42 -07:00
parent b7a2b5e17a
commit 817beebb63
4 changed files with 18 additions and 12 deletions

View File

@@ -776,14 +776,8 @@ typedef struct _FSP_FILE_SYSTEM_INTERFACE
*/
NTSTATUS (*Reserved[41])();
} FSP_FILE_SYSTEM_INTERFACE;
#if defined(WINFSP_DLL_INTERNAL)
/*
* Static_assert is a C++11 feature, but seems to work with C on MSVC 2015.
* Use it to verify that FSP_FILE_SYSTEM_INTERFACE has the right size.
*/
static_assert(sizeof(FSP_FILE_SYSTEM_INTERFACE) == 64 * sizeof(NTSTATUS (*)()),
FSP_FSCTL_STATIC_ASSERT(sizeof(FSP_FILE_SYSTEM_INTERFACE) == 64 * sizeof(NTSTATUS (*)()),
"FSP_FILE_SYSTEM_INTERFACE must have 64 entries.");
#endif
typedef struct _FSP_FILE_SYSTEM
{
UINT16 Version;