I didn't look at each function in each path, but in principile it should be OK.

I originally added the functions based on what the WACK expects. But windowsapp only link to a single DLL in all versions of the Windows SDK and apparently always the same.

On 2023-10-25 2:15, Mark Harmstone wrote:
Signed-off-by: Mark Harmstone <m...@harmstone.com>
---
  .../lib-common/api-ms-win-core-com-l1-1-1.def | 53 -------------------
  .../api-ms-win-core-com-l1-1-1_windowsapp.def | 53 -------------------
  .../lib32/api-ms-win-core-com-l1-1-1.def      | 53 -------------------
  .../api-ms-win-core-com-l1-1-1_windowsapp.def | 53 -------------------
  4 files changed, 212 deletions(-)

diff --git a/mingw-w64-crt/lib-common/api-ms-win-core-com-l1-1-1.def 
b/mingw-w64-crt/lib-common/api-ms-win-core-com-l1-1-1.def
index b6c7448df..2b7189440 100644
--- a/mingw-w64-crt/lib-common/api-ms-win-core-com-l1-1-1.def
+++ b/mingw-w64-crt/lib-common/api-ms-win-core-com-l1-1-1.def
@@ -2,58 +2,5 @@ LIBRARY api-ms-win-core-com-l1-1-1
EXPORTS -CLSIDFromProgID
-CLSIDFromString
-CoAddRefServerProcess
-CoCreateFreeThreadedMarshaler
-CoCreateGuid
-CoCreateInstance
-CoCreateInstanceEx
-CoCreateInstanceFromApp
-CoDecrementMTAUsage
-CoDisconnectObject
-CoFreeUnusedLibraries
-CoFreeUnusedLibrariesEx
-CoGetApartmentType
-CoGetClassObject
-CoGetContextToken
-CoGetCurrentLogicalThreadId
-CoGetInterfaceAndReleaseStream
-CoGetMalloc
-CoGetMarshalSizeMax
-CoGetObjectContext
-CoGetStandardMarshal
-CoIncrementMTAUsage
-CoInitializeEx
-CoInitializeSecurity
-CoLockObjectExternal
-CoMarshalInterface
-CoMarshalInterThreadInterfaceInStream
  CoRegisterActivationFilter
-CoRegisterClassObject
-CoRegisterPSClsid
-CoReleaseMarshalData
-CoReleaseServerProcess
-CoResumeClassObjects
-CoRevokeClassObject
-CoSetProxyBlanket
-CoSuspendClassObjects
-CoSwitchCallContext
-CoTaskMemAlloc
-CoTaskMemFree
-CoTaskMemRealloc
-CoUninitialize
-CoUnmarshalInterface
-CoWaitForMultipleHandles
-CoWaitForMultipleObjects
-CreateStreamOnHGlobal
-FreePropVariantArray
-GetHGlobalFromStream
-IIDFromString
-ProgIDFromCLSID
-PropVariantClear
-PropVariantCopy
  RoGetAgileReference
-StringFromCLSID
-StringFromGUID2
-StringFromIID
diff --git a/mingw-w64-crt/lib-common/api-ms-win-core-com-l1-1-1_windowsapp.def 
b/mingw-w64-crt/lib-common/api-ms-win-core-com-l1-1-1_windowsapp.def
index 2382640c8..98f5d0b44 100644
--- a/mingw-w64-crt/lib-common/api-ms-win-core-com-l1-1-1_windowsapp.def
+++ b/mingw-w64-crt/lib-common/api-ms-win-core-com-l1-1-1_windowsapp.def
@@ -2,57 +2,4 @@ LIBRARY api-ms-win-core-com-l1-1-1
EXPORTS -CLSIDFromProgID
-CLSIDFromString
-CoAddRefServerProcess
-CoCreateFreeThreadedMarshaler
-CoCreateGuid
-CoCreateInstance
-CoCreateInstanceEx
-CoCreateInstanceFromApp
-CoDecrementMTAUsage
-CoDisconnectObject
-CoFreeUnusedLibraries
-CoFreeUnusedLibrariesEx
-CoGetApartmentType
-CoGetClassObject
-CoGetContextToken
-CoGetCurrentLogicalThreadId
-CoGetInterfaceAndReleaseStream
-CoGetMalloc
-CoGetMarshalSizeMax
-CoGetObjectContext
-CoGetStandardMarshal
-CoIncrementMTAUsage
-CoInitializeEx
-CoInitializeSecurity
-CoLockObjectExternal
-CoMarshalInterface
-CoMarshalInterThreadInterfaceInStream
-CoRegisterClassObject
-CoRegisterPSClsid
-CoReleaseMarshalData
-CoReleaseServerProcess
-CoResumeClassObjects
-CoRevokeClassObject
-CoSetProxyBlanket
-CoSuspendClassObjects
-CoSwitchCallContext
-CoTaskMemAlloc
-CoTaskMemFree
-CoTaskMemRealloc
-CoUninitialize
-CoUnmarshalInterface
-CoWaitForMultipleHandles
-CoWaitForMultipleObjects
-CreateStreamOnHGlobal
-FreePropVariantArray
-GetHGlobalFromStream
-IIDFromString
-ProgIDFromCLSID
-PropVariantClear
-PropVariantCopy
  RoGetAgileReference
-StringFromCLSID
-StringFromGUID2
-StringFromIID
diff --git a/mingw-w64-crt/lib32/api-ms-win-core-com-l1-1-1.def 
b/mingw-w64-crt/lib32/api-ms-win-core-com-l1-1-1.def
index e59e1d0dc..15bd76222 100644
--- a/mingw-w64-crt/lib32/api-ms-win-core-com-l1-1-1.def
+++ b/mingw-w64-crt/lib32/api-ms-win-core-com-l1-1-1.def
@@ -2,58 +2,5 @@ LIBRARY api-ms-win-core-com-l1-1-1
EXPORTS -CLSIDFromProgID@8
-CLSIDFromString@8
-CoAddRefServerProcess@0
-CoCreateFreeThreadedMarshaler@8
-CoCreateGuid@4
-CoCreateInstance@20
-CoCreateInstanceEx@24
-CoCreateInstanceFromApp@24
-CoDecrementMTAUsage@4
-CoDisconnectObject@8
-CoFreeUnusedLibraries@0
-CoFreeUnusedLibrariesEx@8
-CoGetApartmentType@8
-CoGetClassObject@20
-CoGetContextToken@4
-CoGetCurrentLogicalThreadId@4
-CoGetInterfaceAndReleaseStream@12
-CoGetMalloc@8
-CoGetMarshalSizeMax@24
-CoGetObjectContext@8
-CoGetStandardMarshal@24
-CoIncrementMTAUsage@4
-CoInitializeEx@8
-CoInitializeSecurity@36
-CoLockObjectExternal@12
-CoMarshalInterface@24
-CoMarshalInterThreadInterfaceInStream@12
  CoRegisterActivationFilter@4
-CoRegisterClassObject@20
-CoRegisterPSClsid@8
-CoReleaseMarshalData@4
-CoReleaseServerProcess@0
-CoResumeClassObjects@0
-CoRevokeClassObject@4
-CoSetProxyBlanket@32
-CoSuspendClassObjects@0
-CoSwitchCallContext@8
-CoTaskMemAlloc@4
-CoTaskMemFree@4
-CoTaskMemRealloc@8
-CoUninitialize@0
-CoUnmarshalInterface@12
-CoWaitForMultipleHandles@20
-CoWaitForMultipleObjects@20
-CreateStreamOnHGlobal@12
-FreePropVariantArray@8
-GetHGlobalFromStream@8
-IIDFromString@8
-ProgIDFromCLSID@8
-PropVariantClear@4
-PropVariantCopy@8
  RoGetAgileReference@16
-StringFromCLSID@8
-StringFromGUID2@12
-StringFromIID@8
diff --git a/mingw-w64-crt/lib32/api-ms-win-core-com-l1-1-1_windowsapp.def 
b/mingw-w64-crt/lib32/api-ms-win-core-com-l1-1-1_windowsapp.def
index 76cc5f4c6..a34f2c3ed 100644
--- a/mingw-w64-crt/lib32/api-ms-win-core-com-l1-1-1_windowsapp.def
+++ b/mingw-w64-crt/lib32/api-ms-win-core-com-l1-1-1_windowsapp.def
@@ -2,57 +2,4 @@ LIBRARY api-ms-win-core-com-l1-1-1
EXPORTS -CLSIDFromProgID@8
-CLSIDFromString@8
-CoAddRefServerProcess@0
-CoCreateFreeThreadedMarshaler@8
-CoCreateGuid@4
-CoCreateInstance@20
-CoCreateInstanceEx@24
-CoCreateInstanceFromApp@24
-CoDecrementMTAUsage@4
-CoDisconnectObject@8
-CoFreeUnusedLibraries@0
-CoFreeUnusedLibrariesEx@8
-CoGetApartmentType@8
-CoGetClassObject@20
-CoGetContextToken@4
-CoGetCurrentLogicalThreadId@4
-CoGetInterfaceAndReleaseStream@12
-CoGetMalloc@8
-CoGetMarshalSizeMax@24
-CoGetObjectContext@8
-CoGetStandardMarshal@24
-CoIncrementMTAUsage@4
-CoInitializeEx@8
-CoInitializeSecurity@36
-CoLockObjectExternal@12
-CoMarshalInterface@24
-CoMarshalInterThreadInterfaceInStream@12
-CoRegisterClassObject@20
-CoRegisterPSClsid@8
-CoReleaseMarshalData@4
-CoReleaseServerProcess@0
-CoResumeClassObjects@0
-CoRevokeClassObject@4
-CoSetProxyBlanket@32
-CoSuspendClassObjects@0
-CoSwitchCallContext@8
-CoTaskMemAlloc@4
-CoTaskMemFree@4
-CoTaskMemRealloc@8
-CoUninitialize@0
-CoUnmarshalInterface@12
-CoWaitForMultipleHandles@20
-CoWaitForMultipleObjects@20
-CreateStreamOnHGlobal@12
-FreePropVariantArray@8
-GetHGlobalFromStream@8
-IIDFromString@8
-ProgIDFromCLSID@8
-PropVariantClear@4
-PropVariantCopy@8
  RoGetAgileReference@16
-StringFromCLSID@8
-StringFromGUID2@12
-StringFromIID@8
--
2.41.0



_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to