Commit Graph

166 Commits

Author SHA1 Message Date
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
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
Jonathan Yong
c4616eab1f
wofutil: new import lib
Signed-off-by: Jonathan Yong <10walls@gmail.com>
2021-05-13 17:49:24 +00:00
Liu Hao
e4396da318 crt: Add deprecated _{str,wcs}lwrt aliases in DEF
This was done with the following commands:

  sed -Ei 's/^_(str|wcs)lwr\>.*$/&\n\1lwr == _\1lwr/' `grep -Elr '\<_strlwr\>' mingw-w64-crt`
  git checkout mingw-w64-crt/lib-common/api-ms-win-crt-string-l1-1-0.def

Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-02-05 20:12:58 +08:00
Biswapriyo Nath
019ace6ba7 crt: Add mfsensorgroup export library.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-01-05 23:02:16 +08:00
Biswapriyo Nath
a0fc560390 crt: Move mfplay export library to lib-common.
Comment out DLL initialization symbols.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-01-05 23:02:03 +08:00
Biswapriyo Nath
b7adfcc0fc crt: Move mfcore export library to lib-common.
Comment out DLL initialization symbols.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2021-01-05 23:02:01 +08:00
Andrew Eikum
6bd71e1d92 crt: Create pathcch link library
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-10-09 00:01:55 +08:00
Biswapriyo Nath
86a22fd1bd crt: add htmlhelp export library
library name is libhtmlhelp.a but functions exported from hhcrtl.ocx

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-09-09 22:15:26 +08:00
Biswapriyo Nath
93a47c29b5 crt: add prntvpt export library
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-09-08 21:57:20 +08:00
Biswapriyo Nath
7b4b28c1db crt: move wimgapi to lib-common
Use the shared one for lib64 and libarm64, and add a new def file for
lib32.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-07-03 22:19:34 +03:00
Biswapriyo Nath
aca21f934d crt: move dismapi to lib-common
Use the shared one for lib64 and libarm64, and add a new def file for
lib32.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-07-03 22:18:22 +03:00
Steve Lhomme
01e37e0c28 headers: add ActivateAudioInterfaceAsync API's in mmdeviceapi
The ActivateAudioInterfaceAsync function is added to mmdeviceapi.dll for all
platforms.

See https://docs.microsoft.com/en-us/windows/win32/api/mmdeviceapi/nf-mmdeviceapi-activateaudiointerfaceasync
and https://docs.microsoft.com/en-us/windows/desktop/api/mmdeviceapi/nn-mmdeviceapi-iactivateaudiointerfaceasyncoperation

The libarm32 version is removed in favor of the one in common.

Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-06-30 23:28:49 +08:00
Martin Storsjö
b60434b505 crt: Share ntdll.def across architectures, provide it for arm64
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-06-27 19:00:53 +03:00
Martin Storsjö
9aa393d1aa crt: Share ntdllcrt.def across architectures, provide it for arm64
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-06-27 19:00:53 +03:00
Martin Storsjö
d44a2a030c crt: Move vDbgPrintEx functions from ntdllcrt to ntdll
These can't really be considered crt functions, they just
lexicographically happened to be in the same range in ntdll.def
originally.

Signed-off-by: Martin Storsjö <martin@martin.st>
2020-06-27 19:00:53 +03:00
Martin Storsjö
bd529f4d4f crt: Update the arm32 ntdll def files based on a current arm32 ntdll.dll
The removed lines seem to have been added blindly(?) by syncing
in functions that exist in the x86 versions of ntdll.dll in
ce5078c95f and
c26aade157.

Signed-off-by: Martin Storsjö <martin@martin.st>
2020-06-27 19:00:53 +03:00
Biswapriyo Nath
23275a7d2d crt: add bluetoothapis export library
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-06-13 21:35:24 +08:00
Martin Storsjö
dd44d893fd crt: ucrt.mri: Use one shared mri file for all architectures
This requires adding libucrt.a to a DATA target in automake, instead
of LIBRARIES.

Signed-off-by: Martin Storsjö <martin@martin.st>
2020-06-05 15:46:36 +03:00
Biswapriyo Nath
fbf9730c01 crt: add missing apiset exports to runtimeobject library
also move the related _DATA variable to libarm32/Makefile.am

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-06-03 21:54:12 +08:00
Liu Hao
621d33d92e crt: Add __ms_* aliases for *printf and *scanf functions
These were generated using the following commands:

  _files=$(find . -name "msvcr*.def*")
  sed -Ei '/^__ms_fwprintf/d' $_files
  sed -Ei 's/^(v?[fs]?w?printf)$/\1\n__ms_\1 == \1/' $_files
  sed -Ei 's/^([fs]?w?scanf)$/\1\n__ms_\1 == \1/' $_files

This adds an exhaustive list of functions provided by MSVCRT.DLL
from Windows XP SP3.

These symbols make it possible to request MS behavior even when
<stdio.h> is included and __USE_MINGW_ANSI_STDIO is defined to 1.

Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-05-15 21:06:22 +08:00
Martin Storsjö
6890670385 crt: Share powrprof.def between lib64 and libarm32, use it for libarm64
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-04-20 19:50:35 +03:00
Biswapriyo Nath
297b37995f crt: propsys add def files
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-03-31 10:24:38 +08:00
Martin Storsjö
0db16e38b0 crt: Merge cfgmgr32.def and provide it for arm64
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-03-14 23:42:04 +02:00
Martin Storsjö
153c2808eb crt: Make evr.def shared, make it available for arm64
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-03-09 09:18:43 +02:00
Martin Storsjö
6c3fd730c9 crt: Build libks.a, libksecdd.a and libnetio.a for arm32 as well
They do exist for arm32 just like for other platforms in the
Windows Driver Kit.

Signed-off-by: Martin Storsjö <martin@martin.st>
2020-03-04 20:52:23 +02:00
Biswapriyo Nath
90d097a1cb crt: update and move ndis to lib-common
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2020-03-04 21:59:43 +08:00
Martin Storsjö
403165c2c6 crt: Share setupapi.def between x64 and arm32, provide for arm64
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-02-03 23:28:54 +02:00
Martin Storsjö
251659fdf6 crt: Share dinput.def and dinput8.def with arm32 and arm64
These DLLs might not have been present in the version of windows
where libarm32 was dumped from originally, but they're available
in current versions of Windows 10, for both arm32 and arm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2020-02-03 23:28:12 +02:00
Martin Storsjö
f2489543dd crt: Sync comments about libraries handled specially in Makefile.am
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-02-03 23:22:34 +02:00
Alex Henrie
f424dc7d1c crt: Fix typo in rstrtmgr importlib.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2020-02-01 10:49:47 +01:00
Biswapriyo Nath
c26610bacc crt: move mfreadwrite to lib-common
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-12-30 23:16:19 +08:00
Biswapriyo Nath
0e8f3b948d crt/d3d12: add d3d12 export library
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-12-10 19:25:05 +08:00
Biswapriyo Nath
9585e4f2c5 crt/d3d10: move d3d10 to lib-common
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-12-09 23:39:40 +08:00
Biswapriyo Nath
7cfd6ff6df crt/websocket: move websocket to lib-common
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-12-08 15:56:07 +08:00
Biswapriyo Nath
103ead245d crt/shcore: move shcore to lib-common
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-10-27 16:33:39 +08:00
Biswapriyo Nath
561388cba1 crt/urlmon: move to lib-common
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
2019-08-21 18:44:13 +03:00
Liu Hao
8331eb0512 crt/math: Implement standard-conforming frexp().
Our `frexpl()` prior to this commit did not handle infinities and NaNs
correctly. These functions now return the source value verbatim.

The `frexp()` function from all MSVCR* DLLs returns a NaN if the first
argument is an infinity. We override it in our CRT.

Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-07-19 19:32:25 +08:00
Biswapriyo Nath
c26aade157 crt: Update ntdll library
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-06-13 22:44:51 +08:00
Biswapriyo Nath
ce5078c95f Update ntdll export definition
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-02-24 16:47:50 +08:00
Biswapriyo Nath
24842d45e0 Update Kernel32 and KernelBase export definition
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
2019-02-23 20:58:09 +08:00
Pierre Lamot
92ad484079 crt: add def for dcomp.dll and update dcomp.h
This provides access to DirectComposition functions

  dcomp.h is updated to expose thoses functions

Signed-off-by: Pierre Lamot <pierre@videolabs.io>
Signed-off-by: Martin Storsjö <martin@martin.st>
2019-02-13 14:51:31 +02:00
Martin Storsjö
671dc841cd crt: Share authz.def between libarm32 and lib64, use for libarm64
Two functions that existed in lib64 but didn't exist in the libarm32
(AuthziQueryAuditPolicy, AuthziSetAuditPolicy, that probably only
existed in older windows version), were added to the shared file
which otherwise is the libarm32 version (dumped from a Windows 8.x
version).

Signed-off-by: Martin Storsjö <martin@martin.st>
2019-01-28 14:46:08 +02:00
Martin Storsjö
0e178e50e7 crt: Share mswsock.def between libarm32 and lib64, use for libarm64
The arm32 version of this def file was a superset of the functions
in lib64, except for entry points that aren't used for linking.

Signed-off-by: Martin Storsjö <martin@martin.st>
2019-01-28 14:46:08 +02:00
Johannes Pfau
6a5c1535fb Add _ftime aliases for all msvcr versions.
Signed-off-by: Johannes Pfau <johannespfau@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2019-01-03 16:48:38 +01:00
Jacek Caban
99d13399bf ntdllcrt: Use separated import library for ntdll.dll C runtime exports.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2018-11-27 15:24:04 +01:00
Jacek Caban
21b6366dd9 windowsapp.mri: Use common .mri file for all architectures. 2018-09-23 21:12:24 +02:00
Jacek Caban
a7f2b2b9dc synchronization.mri: Use common .mri file for all architectures. 2018-09-23 21:11:24 +02:00
Jacek Caban
03ca1a601b runtimeobject.mri: Use common .mri file for all architectures. 2018-09-23 21:11:03 +02:00
Jacek Caban
b9a6ba0cdd libmincore.a: Add new importlib.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2018-08-27 21:08:23 +02:00
Jacek Caban
10204318fb dhcpcsvc.def: Use lib-common for importlib. 2018-08-06 18:38:08 +02:00
Martin Storsjö
787a53a001 crt: Share libwindowsapp.a, libruntimeobject.a and libsynchronization.a between lib64, libarm32 and libarm64
Signed-off-by: Martin Storsjö <martin@martin.st>
2018-07-10 23:26:07 +03:00
Martin Storsjö
1ace9ddd61 crt: Add a new separate library libucrt.a, linking to api-ms-win-crt-*.dll instead of ucrtbase.dll
This adds def files for all the api-ms-win-crt-* dll files. I've tried to
add all the manual modifications from ucrtbase.def.in into these files, so
that linking to libucrt.a should work pretty much the same as linking to
libucrtbase.a, but ending up linking to the api sets dlls.

Signed-off-by: Martin Storsjö <martin@martin.st>
2018-06-28 11:01:04 +03:00
Jacek Caban
fdcc1e82d0 Moved wscapi.def to lib-common and use it for x86_64.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2018-06-13 15:10:49 +02:00
Martin Storsjö
e8583c20bd crt: Share odbc32.def between lib64 and libarm32
Also provide it for libarm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2018-03-20 10:50:26 +02:00
Martin Storsjö
1bdc5b2a54 crt: Share userenv.def between lib64 and libarm32
Also provide the shared version for libarm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2018-01-04 11:24:29 +02:00
Martin Storsjö
54ffd4532b crt: Share dwmapi.def between lib64 and libarm32
Also provide the shared version for libarm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2018-01-04 11:24:29 +02:00
Martin Storsjö
d1994078ff crt: Share uxtheme.def between lib64 and libarm32
Also provide the shared version for libarm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2018-01-04 11:24:29 +02:00
Martin Storsjö
0babfc218d crt: Share version.def between lib64 and libarm32
Also provide the shared version for libarm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2018-01-04 10:59:01 +02:00
Martin Storsjö
6295e0b49d crt: Share winscard.def between lib64 and libarm32
Also provide it for arm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-12-19 12:36:36 +02:00
Martin Storsjö
546ad0b734 crt: Share iphlpapi.def between lib64 and libarm32
Also provide this import library for libarm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-12-04 11:12:04 +02:00
Martin Storsjö
d5043b5583 crt: Share mpr.def between lib64 and libarm32
Also provide this import library for libarm64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-12-04 11:12:02 +02:00
Martin Storsjö
37f99e5a56 crt: Share shlwapi.def between lib64 and libarm32
Use the new shared def file for arm64 as well.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-11-21 12:33:52 +02:00
Martin Storsjö
031be25265 crt: Allow overriding libmsvcrt.a to point to another library
Install the import library for msvcrt.dll under the name libmsvcrt-os.a,
and install the one that is chosen as default as libmsvcrt.a
(which is what all toolchains link to implicitly).

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-11-12 13:16:35 +02:00
Martin Storsjö
d3a74e38ba crt: Unify oleaut32.def for lib64 and libarm32, use on libarm64
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-28 22:55:16 +03:00
Martin Storsjö
5a9fa9ea1e crt: Build libwinspool.a for arm32 and arm64 as well
Use the lib64 version of the def file for this - nothing in the
def file seems like it would be architecture specific.

CMake has some linking tests where it by default links a number of
"standard libraries", and -lwinspool are among them. Make sure
this library at least exists, in order not to fail such tests
pointlessly.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-25 23:18:15 +03:00
Martin Storsjö
9e3339879c crt: Add a missed DLL for libarm32
The def file existed for libarm32 before (originally in the libarm32
directory, later shared into lib-common), but wasn't actully built
for libarm32, only for lib64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-20 11:46:30 +03:00
Martin Storsjö
2146d75d7f crt: Unify msvcrt.def.in for lib64 and libarm32
Some math functions were marked DATA (to avoid linking to them, when
libmingwex provides a replacement) in lib64. Keep that annotation
only while targeting x86 platforms, for the math functions that we
don't provide for arm (where we intend to link to msvcrt for them).

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:25 +03:00
Martin Storsjö
c17a481f16 crt: Unify ws2_32.def for lib64 and libarm32
Keep 64 bit specific functions (like WSCDeinstallProvider32) only
when building for 64 bit mode.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:24 +03:00
Martin Storsjö
8d449b92ef crt: Unify winmm.def for lib64 and libarm32
Keeping all function definitions from both previous versions.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:23 +03:00
Martin Storsjö
49b2f7419f crt: Unify user32.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:23 +03:00
Martin Storsjö
ea9e3e53a1 crt: Unify shell32.def for lib64 and libarm32
Keeping all function definitions from both previous versions, since
there's no clear indication that they would be architecture specific.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:22 +03:00
Martin Storsjö
ea29ab40c8 crt: Unify schannel.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:21 +03:00
Martin Storsjö
3c04ffa8db crt: Unify rpcrt4.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:21 +03:00
Martin Storsjö
012ea5e570 crt: Unify ole32.def for lib64 and libarm32
Base the new one on the libarm32 one, which has got more/newer functions.
Include functions that seem to be specific to 64 bit mode (*_UserFree64,
*_UserMarshal64, *_UserSize64, *_UserUnmarshal64) only when building for
win64.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:21 +03:00
Martin Storsjö
becfc87d37 crt: Unify netapi32.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:21 +03:00
Martin Storsjö
dd2908ff1f crt: Unify mfplat.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:21 +03:00
Martin Storsjö
9bd6bca15d crt: Unify kernel32.def for lib64 and libarm32
Keep functions from both versions that were missing on the other
ones.

Include *Ums* functions only for x86_64, based on annotations
in kernel32.spec in wine.

Keep manually commented out functions as they were. Include
__chkstk on arm though.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:20 +03:00
Martin Storsjö
96fe9ec413 crt: Unify dxva2.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
fc56574dfe crt: Unify dxgi.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
ff58fe66ef crt: Unify duser.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
c8386b12d3 crt: Unify dmutil.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
86c7a84cfa crt: Unify cryptui.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
4fc3579bbb crt: Unify cryptnet.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
dde55eeecf crt: Unify cryptext.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
fef77f3c82 crt: Unify crypt32.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
0f88392e2a crt: Unify comctl32.def for lib64 and libarm32
Keep functions from both.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:19 +03:00
Martin Storsjö
d895f2ec7d crt: Unify bcrypt.def for lib64 and libarm32
Keep functions from both previous versions.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:18 +03:00
Martin Storsjö
5508fa761a crt: Unify advpack.def for lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:18 +03:00
Martin Storsjö
abc82d2be2 crt: Unify advapi32.def for lib64 and libarm32
All functions seem to be architecture independent except one.

Keep MD5Update marked as DATA, as it was in lib64 before.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:18 +03:00
Martin Storsjö
a69956321f crt: Share a def file where lib64 has got a superset of the functions in libarm32
Include the C++ function definitions only on x86_64, since they were
only present in the lib64 def file.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:17 +03:00
Martin Storsjö
5ca321bcd2 crt: Include the def file in libwindowscodecs.a
Previously, we didn't actually ever include the def file in this library.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-19 23:26:15 +03:00
Martin Storsjö
774ddc1483 crt: Share defs where libarm32 has got a superset of the functions in lib64
In these cases, use the libarm32 version for both. None of the
differences should be architecture specific.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-16 16:50:17 +03:00
Martin Storsjö
bb8556c1fa crt: Share defs where lib64 has got a superset of the functions in libarm32
In these cases, use the lib64 version for both. None of the differences
should be architecture specific.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-16 16:50:17 +03:00
Martin Storsjö
072088076e crt: Share defs that only differ in dll entry points between lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-16 16:50:17 +03:00
Martin Storsjö
d5bb6422ea crt: Share def files that only differ in unnamed ordinals between lib64 and libarm32
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-16 16:50:16 +03:00
Martin Storsjö
75dfad09b4 crt: Share identical def files between lib64 and libarm32
These were missed before due to the differing line endings.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-16 16:50:15 +03:00
Martin Storsjö
8758080774 crt: Remove defs that only contain C++ functions
Since the mingw C++ runtime isn't compatible with the MSVC C++
runtime (and uses a completely different name mangling), these
def files aren't of much use.

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-16 16:50:14 +03:00
Martin Storsjö
57099e6e7e crt: Remove even more def files that only contain DLL hooks or similar
These defs only export DLL hooks, and one of the following entry points:
- GetProxyDllInfo
- GetResourceString
- InitHelperDll
- ServiceEntry
- ServiceMain

Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-16 16:50:13 +03:00
Martin Storsjö
a6027b9e16 crt: Remove printer monitor DLL def files
Signed-off-by: Martin Storsjö <martin@martin.st>
2017-08-16 16:50:13 +03:00