comctl32: Make Str* functions private.

Thomas Faber thomas.faber at reactos.org
Wed Mar 26 05:16:07 CDT 2014


When linking against the generated import library for comctl32, these
functions should not be used. They are unavailable in comctl32 in recent
versions of Windows.
shlwapi provides the supported and documented versions, and should be
linked against instead. If both import libraries contain them, this can
lead to the comctl32 versions accidentally being used, which breaks the
resulting application or dll.
-------------- next part --------------
From 3dc3ba2bd7bff455265697f258a60fb1779c7069 Mon Sep 17 00:00:00 2001
From: Thomas Faber <thomas.faber at reactos.org>
Date: Wed, 26 Mar 2014 11:03:49 +0100
Subject: comctl32: Make Str* functions private.

---
 dlls/comctl32/comctl32.spec | 52 ++++++++++++++++++++++-----------------------
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/dlls/comctl32/comctl32.spec b/dlls/comctl32/comctl32.spec
index ef638a4..0dff369 100644
--- a/dlls/comctl32/comctl32.spec
+++ b/dlls/comctl32/comctl32.spec
@@ -62,32 +62,32 @@
 341 stdcall -noname SendNotify(long long long ptr)
 342 stdcall -noname SendNotifyEx(long long long ptr long)
 345 stdcall -ordinal TaskDialogIndirect(ptr ptr ptr ptr)
-350 stdcall -noname StrChrA(str str)
-351 stdcall -noname StrRChrA(str str long)
-352 stdcall -noname StrCmpNA(str str long)
-353 stdcall -noname StrCmpNIA(str str long)
-354 stdcall -noname StrStrA(str str)
-355 stdcall -noname StrStrIA(str str)
-356 stdcall -noname StrCSpnA(str str)
-357 stdcall -noname StrToIntA(str)
-358 stdcall -noname StrChrW(wstr long)
-359 stdcall -noname StrRChrW(wstr wstr long)
-360 stdcall -noname StrCmpNW(wstr wstr long)
-361 stdcall -noname StrCmpNIW(wstr wstr long)
-362 stdcall -noname StrStrW(wstr wstr)
-363 stdcall -noname StrStrIW(wstr wstr)
-364 stdcall -noname StrCSpnW(wstr wstr)
-365 stdcall -noname StrToIntW(wstr)
-366 stdcall -noname StrChrIA(str long)
-367 stdcall -noname StrChrIW(wstr long)
-368 stdcall -noname StrRChrIA(str str long)
-369 stdcall -noname StrRChrIW(wstr wstr long)
-372 stdcall -noname StrRStrIA(str str str)
-373 stdcall -noname StrRStrIW(wstr wstr wstr)
-374 stdcall -noname StrCSpnIA(str str)
-375 stdcall -noname StrCSpnIW(wstr wstr)
-376 stdcall -noname IntlStrEqWorkerA(long str str long)
-377 stdcall -noname IntlStrEqWorkerW(long wstr wstr long)
+350 stdcall -noname -private StrChrA(str str)
+351 stdcall -noname -private StrRChrA(str str long)
+352 stdcall -noname -private StrCmpNA(str str long)
+353 stdcall -noname -private StrCmpNIA(str str long)
+354 stdcall -noname -private StrStrA(str str)
+355 stdcall -noname -private StrStrIA(str str)
+356 stdcall -noname -private StrCSpnA(str str)
+357 stdcall -noname -private StrToIntA(str)
+358 stdcall -noname -private StrChrW(wstr long)
+359 stdcall -noname -private StrRChrW(wstr wstr long)
+360 stdcall -noname -private StrCmpNW(wstr wstr long)
+361 stdcall -noname -private StrCmpNIW(wstr wstr long)
+362 stdcall -noname -private StrStrW(wstr wstr)
+363 stdcall -noname -private StrStrIW(wstr wstr)
+364 stdcall -noname -private StrCSpnW(wstr wstr)
+365 stdcall -noname -private StrToIntW(wstr)
+366 stdcall -noname -private StrChrIA(str long)
+367 stdcall -noname -private StrChrIW(wstr long)
+368 stdcall -noname -private StrRChrIA(str str long)
+369 stdcall -noname -private StrRChrIW(wstr wstr long)
+372 stdcall -noname -private StrRStrIA(str str str)
+373 stdcall -noname -private StrRStrIW(wstr wstr wstr)
+374 stdcall -noname -private StrCSpnIA(str str)
+375 stdcall -noname -private StrCSpnIW(wstr wstr)
+376 stdcall -noname -private IntlStrEqWorkerA(long str str long)
+377 stdcall -noname -private IntlStrEqWorkerW(long wstr wstr long)
 382 stdcall -noname SmoothScrollWindow(ptr)
 383 stub -noname DoReaderMode
 384 stdcall -noname SetPathWordBreakProc(ptr long)
-- 
1.9.0.msysgit.0



More information about the wine-patches mailing list