headers/shlwapi: Change `QITAB.dwOffset` to `DWORD` for Windows 10 RS2+ It was an `int` up to Windows 10 RS1 (10.0.14393.0), but has been changed to `DWORD` since RS2 (10.0.15063.0). Reported-by: Cao GH <driver1998.ms@outlook.com> Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/include/shlwapi.h b/mingw-w64-headers/include/shlwapi.h index dc10c23..131f56a 100644 --- a/mingw-w64-headers/include/shlwapi.h +++ b/mingw-w64-headers/include/shlwapi.h
@@ -1177,7 +1177,11 @@ typedef struct { const IID *piid; +#if (NTDDI_VERSION >= NTDDI_WIN10_RS2) + DWORD dwOffset; +#else int dwOffset; +#endif } QITAB, *LPQITAB; typedef const QITAB *LPCQITAB;