Commit Graph

6467 Commits

Author SHA1 Message Date
Jacek Caban
518d3a79d2 headers: Regenerate with recent widl. 2021-12-25 23:25:37 +01:00
Jacek Caban
826215b4e0 widl: Update to Wine 7.0-rc2. 2021-12-25 23:25:37 +01:00
Jacek Caban
872c98be34 widl: Regenerate makefiles with autoconf 2.71. 2021-12-25 23:04:15 +01:00
Martin Storsjö
2194d504e5 crt: Regenerate Makefile.in
Signed-off-by: Martin Storsjö <martin@martin.st>
2021-12-22 14:09:44 +02:00
Martin Storsjö
ebd1269421 crt: Provide opengl32 and glu32 import libraries for arm32 and arm64
These DLLs are available out of the box on arm32 and arm64 since
Windows 11.

However these DLLs themselves are only the main interface (containing
the fallback, essentially unusable, OpenGL 1.1 GDI implementation);
without a separate ICD (installable client driver), it's near useless.

Currently (Dec 2021), such a driver (implementing OpenGL on top of
D3D12) is installable in the "OpenCL and OpenGL Compatibility Pack" in
Microsoft Store (but it's only available for regular third party
applications if you install the Windows Insider version of it).
And even then, it's not necessarily available for all architectures.
(In a brief test, it seems like the driver is available for i686 and
aarch64 processes, but not for x86_64 or armv7).

By providing these import libraries, we risk that people porting
software to Windows 10 on ARM accidentally end up making binaries that
use OpenGL, which don't load on Windows 10, only on Windows 11.
(Earlier, they got clear link errors showing that these libraries
really aren't available for these architectures.)

For some projects with existing support for Windows 10 on ARM, the
fact that OpenGL is unavailable is handled by entirely disabling
building of intermediate wrapper libraries such as glew or libepoxy;
then the main application only detects the presence of glew or
libepoxy, and disables OpenGL functionality if not found. (This has
been tested with VLC, where the glew dependency already is hardcoded
to not be built for these targets, so this doesn't change anything for
the build output of VLC.)

As an additional measure, one could consider adding version guards
in the OpenGL headers, making the declarations unavailable when
targeting an older version of Windows that don't have the functions.
That would allow applications to detect whether it's available or
not depending on what Windows version they target. However, that
doesn't seem to be necessary right now.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-12-22 14:05:12 +02:00
Martin Storsjö
17bae184d7 crt: Add timespec_get import lib aliases
Normally, timespec_get is aliased to either _timespec32_get or
_timespec64_get via an inline function in time.h. But by providing
a fallback alias in the import library, configure scripts that try
linking the function without actually including time.h will also
succeed - we also have other similar aliases added in
42aa3325fc.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-12-21 21:22:08 +02:00
Biswapriyo Nath
e62a0a987c headers/crt: Add timespec_get in time.h
Signed-off-by: Martin Storsjö <martin@martin.st>
2021-12-21 21:21:52 +02:00
Tom Ritter
09def642bf headers: Add missing KScategories
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-12-17 23:28:24 +08:00
Tom Ritter
86d7b3f7b4 headers: Reorder existing KSCategories to be aphabetical
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-12-17 23:28:18 +08:00
Michel Zou
5c8702bbb0 headers: Add htonll/ntohll
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-12-17 23:06:27 +08:00
Jonathan Yong
eac8c38c10 Remove accidentally added binary file
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-12-03 06:55:38 +00:00
Biswapriyo Nath
4fc52607b0 headers: Add missing names in windns.h
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-12-03 09:33:55 +08:00
Corinna Vinschen
75d4fe99ab
Add status and error codes for case sensitive dirs
Removing the "case-sensitive" flag from a directory containing files
which only differ by case (e.g.  "foo" and "Foo") is refused with the
status code STATUS_CASE_DIFFERING_NAMES_IN_DIR.  This patch adds the
status code and it's Windows subsystem error code.

Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-12-02 23:36:26 +00:00
Martin Storsjö
ae5b3b1122
crt: Remove commented out ordinal symbols from user32.def
This makes it easier to sync in changes from dumps from newer versions
of the DLL.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-11-28 23:56:34 +00:00
Martin Storsjö
4fbf7d4aef
crt: Update the decoration of the EditWndProc symbol to EditWndProc@20
This function seems to be undocumented (we don't have any declaration
of it in any header), but this is the form it gets dumped from current
user32.dll.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-11-28 23:56:34 +00:00
Martin Storsjö
ce493605bc
crt: Remove two duplicate symbols in lib32/user32.def
These were listed twice.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-11-28 23:56:34 +00:00
Martin Storsjö
0f647f09b9
crt: Add new APIs to lib32/user32.def
The new symbols are dumped from Windows 10 19043.

The current version of user32.dll there don't include all symbols
that are listed in our user32.def, but keeping them untouched for now.

This fixes building the latest dev branch of Qt for i686.

Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-11-28 23:56:29 +00:00
LIU Hao
19ecabd807 crt: Regenerate Makefile.in
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-28 15:26:00 +08:00
Biswapriyo Nath
e82b94ea45 crt: Add fontsub in lib32
Required for google/skia project

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-28 15:23:38 +08:00
LIU Hao
b628bd605d headers: Update to Wine master
'include/windows.foundation.collections.idl' contains an error at the
moment, so I have restored it by hand.

Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-24 14:00:04 +08:00
Biswapriyo Nath
3cf799a0a4 headers: Import fontsub.h from wine
Required for google/skia project

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-24 13:50:35 +08:00
LIU Hao
6cc97775a2 crt: Regenerate Makefile.in
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-07 22:35:05 +08:00
Biswapriyo Nath
f8aed76f34 crt: Add bits GUID library
Required for python-pywin32 project

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-07 22:35:05 +08:00
LIU Hao
c80b99123d headers: Update to Wine master
'include/windows.foundation.collections.idl' contains an error at the
moment, so I have restored it by hand.

Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-07 22:35:02 +08:00
Biswapriyo Nath
f5bd1f3a5a headers: Import bits IDL files from wine
Required for python-pywin32 project

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-07 22:21:09 +08:00
Jonathan Yong
7689dd68aa mingw-w64-headers: regenerate Makefile.in
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-11-04 23:26:30 +00:00
Jacek Caban
578aafddc4 winuser.h: Add PW_RENDERFULLCONTENT define.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-01 23:19:20 +08:00
Jacek Caban
978afe0d15 ksuser: Add KSCATEGORY_VIDEO_CAMERA declaration.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-01 23:18:45 +08:00
LIU Hao
4f35b21808 crt: Regenerate Makefile.in
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-01 23:18:22 +08:00
Jacek Caban
0fbc918f95 crt: Include windowscodecs.c in libuuid.a.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-11-01 23:17:47 +08:00
LIU Hao
0f24d21a67 headers: Update to wine master
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-28 21:51:05 +08:00
Biswapriyo Nath
572d27c819 headers: Import evr9.idl from Wine
Required for qt6-multimedia WMF plugin

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-28 21:48:52 +08:00
Biswapriyo Nath
c2df52806c headers: Import wmsecure.idl from wine
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-28 21:47:07 +08:00
LIU Hao
a2eb3ea3aa headers: Update to wine master
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-27 22:56:37 +08:00
Biswapriyo Nath
ff066df395 headers: Import wmsecure.idl from wine
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-27 22:47:56 +08:00
LIU Hao
403c83ce18 headers/mfidl: Regenerate .H from .IDL
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-27 22:45:04 +08:00
Biswapriyo Nath
cb05e10f46 headers: Add some interfaces in mfidl.idl
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-27 22:43:12 +08:00
Jeremy Drake
5e7b53ab3c crt: duplicate query.def in ntquery.def
The attempt to use ntquery.def.in to #include query.def didn't work
correctly for lib32.  For consistency, duplicate the version in
lib-common too.

Signed-off-by: Jeremy Drake <jeremyd2019@users.sourceforge.net>
Signed-off-by: Martin Storsjö <martin@martin.st>
2021-10-23 23:01:08 +03:00
Martin Storsjö
10d6d4e845 crt: Regenerate Makefile.in
Signed-off-by: Martin Storsjö <martin@martin.st>
2021-10-22 13:53:55 +03:00
Jeremy Drake
f33e6affb0 crt: add libntquery.a import library
There was a version already present as libquery.a for a couple of
arches, but the Windows SDK provides identical libquery.a and
libntquery.a, and the DLL on Windows 10 20H2 and 21H1 has much
fewer exports than the pre-existing def file.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-10-22 13:52:22 +03:00
LIU Hao
f29c1101f8 headers/mfidl: Regenerate H from IDL
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-21 22:04:22 +08:00
Biswapriyo Nath
7c5d85dc40 headers: Add missing WINAPI attribute in mfidl.idl
This fixes qt6-multimedia build in i686 mingw

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-21 22:03:35 +08:00
Jeremy Drake
5b6540650d adsiid: add missing GUIDs
Obtained from program that printed them out, linked to Windows SDK, and
then merging the output with the existing file.  A few of the GUIDs in
ADSIid.h were undefined in ADSIid.Lib:

IID_IADsSchema
IID_IDirectoryAttrMgmt
IID_IDSAttrMgmt
IID_IDSObject
IID_IDSSearch

Signed-off-by: Jeremy Drake <jeremyd2019@users.sourceforge.net>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-21 22:01:23 +08:00
Martin Storsjö
62adda80b8 crt: Regenerate Makefile.in
Signed-off-by: Martin Storsjö <martin@martin.st>
2021-10-18 14:32:27 +03:00
Martin Storsjö
54bbe83dfe crt: Split out the strtold/wcstold frontend aliases to separate object files
This avoids linker conflicts if object files refer to both 'strtold'
or 'wcstold' and include them from libucrt*.a before other object
files pull in the __mingw_* counterparts.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-10-18 14:32:23 +03:00
Biswapriyo Nath
da8fd9c538 crt: Add APIs in ntdll.def
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-17 22:34:54 +08:00
Biswapriyo Nath
833f0399ba headers: Add NTDDI_WIN10_CO in sdkddkver.h
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-16 23:07:09 +08:00
Biswapriyo Nath
c662c9c0b5 headers: Add ioringapi.h
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-16 23:07:09 +08:00
LIU Hao
fcb5a4eaa1 headers/mfidl: Regenerate from IDL
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-15 23:46:12 +08:00
Biswapriyo Nath
47a9f0deb3 headers: Add some names in mstcpip.h
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: LIU Hao <lh_mouse@126.com>
2021-10-14 23:32:05 +08:00