X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fwof.h;h=0d2cec26744bea22d102d41747f161479b341b6a;hb=5260cf0b5649fc25b9d69a97f9604a3be257e13e;hp=f87cb45488db381944eec9827644fb95f6ae277a;hpb=48cbaf483ce42242c30c61584e6808c05e705f7b;p=wimlib diff --git a/include/wimlib/wof.h b/include/wimlib/wof.h index f87cb454..0d2cec26 100644 --- a/include/wimlib/wof.h +++ b/include/wimlib/wof.h @@ -1,7 +1,7 @@ /* * wof.h * - * Definitions for the Windows Overlay File System Filter (WOF) ioctls, as well + * Definitions for the Windows Overlay Filesystem filter (WOF) ioctls, as well * some definitions for associated undocumented data structures. See * http://msdn.microsoft.com/en-us/library/windows/hardware/ff540367(v=vs.85).aspx * for more information about the documented ioctls. @@ -17,7 +17,7 @@ #include "wimlib/types.h" /* - * The Windows Overlay FileSystem Filter (WOF, a.k.a. wof.sys) is a filesystem + * The Windows Overlay Filesystem filter (WOF, a.k.a. wof.sys) is a filesystem * filter driver, available in Windows 8.1 and later, which allows files to be * "externally backed", meaning that their data is stored in another location, * possibly in compressed form. @@ -170,16 +170,12 @@ struct WimOverlay_dat_header { /* Set to 0x00000028 */ le32 unknown_0x08; - /* Set to number of WIMs registered; - * also the number of 'struct WimOverlay_dat_entry_1' that follow. */ - le32 num_entries_1; + /* Set to number of WIMs registered (listed in the file) */ + le32 num_entries; - /* Set to number of WIMs registered; - * also the number of 'struct WimOverlay_dat_entry_2' that follow. */ - le32 num_entries_2; - - /* Set to 0 */ - le32 unknown_0x14; + /* The next available data source ID. This is tracked so that data + * source IDs are never reused, even if a WIM is unregistered. */ + le64 next_data_source_id; struct WimOverlay_dat_entry_1 entry_1s[]; } _packed_attribute; @@ -291,7 +287,7 @@ struct WimOverlay_dat_entry_2 { } _packed_attribute; } _packed_attribute; -static inline void +static _unused_attribute void wof_check_structs(void) { STATIC_ASSERT(sizeof(struct WimOverlay_dat_header) == 24);