在 2026-9-29 18:23, Frank Lichtenheld 写道:
From: Frank Lichtenheld <[email protected]>newdev.h declares DiInstallDevice, DiInstallDriverA/W, DiRollbackDriver, DiShowUpdateDevice (all Vista+) and DiUninstallDevice (Win7+), but the lib32 and lib64 import libraries do not export them, so any program calling them fails to link with "undefined reference". The lib64 def file was generated in 2007 from a pre-Vista newdev.dll, and the lib32 one only ever contained UpdateDriverForPlugAndPlayDevices{A,W}. libarm32/newdev.def, generated from the Windows RT 8.1 DLL, already lists all of these functions. Signed-off-by: Frank Lichtenheld <[email protected]> --- mingw-w64-crt/lib32/newdev.def | 6 ++++++ mingw-w64-crt/lib64/newdev.def | 6 ++++++ 2 files changed, 12 insertions(+)
Thanks for the patch. I have pushed it now. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
