https://bugs.winehq.org/show_bug.cgi?id=49775
--- Comment #3 from KOLANICH kolan_n@mail.ru ---
There is no sapi51.idl or sapi53.idl on Windows SDK, the corresponding header files are generated using sapi.idl. May be the header files are generated by midl by passing _SAPI_BUILD_VER argument.
Have already figured it out ;)
Are you reporting a bug against the Windows headers, the mingw-w64 headers, or the wine headers?
I am trying to build some software without using VisualStudio. So I used MinGW-w64. The Windows SDK is not considered a part of Visual Studio (and compilers used with it) since it can be installed separately.
So, since there were no the needed headers in MinGW-w64, the first my attempt was to search in Wine. Since I haven't found, my second attempt was to use the stuff from Windows SDK (recompiling them with WIDL have removed most of the compile errors).
Only the latter warrants a report here, and we don't ship sapi51.h at all.
I understand.
BTW, they are not the only headers missing. `sapiddk.h` and `sapi5ddk.h` were also needed (again, solved with compiling from IDLs in Windows SDK).
But there was 1 file missing, `sperror.h` (Wine has one, but it doesn't have most of enums definitions found in the original one), but again the one from Windows SDK worked well (luckily it is just a bunch of defines (why don't they use enums for that?)).