shell32: Remove WINAPI/CALLBACK on static functions where not needed.
Francois Gouget
fgouget at codeweavers.com
Tue Nov 25 09:41:52 CST 2008
---
If you know other places where the functions touched by this patch
are used, please let me know. For more details, see:
http://www.winehq.org/pipermail/wine-patches/2008-November/064995.html
dlls/shell32/pidl.c | 2 +-
dlls/shell32/shlfileop.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/shell32/pidl.c b/dlls/shell32/pidl.c
index af299d5..12e148c 100644
--- a/dlls/shell32/pidl.c
+++ b/dlls/shell32/pidl.c
@@ -985,7 +985,7 @@ LPITEMIDLIST WINAPI ILCreateFromPathAW (LPCVOID path)
* is used to avoid having to verify the current path element on disk, so
* that creating an ItemIDList from a nonexistent path still can work.
*/
-static HRESULT WINAPI _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile,
+static HRESULT _ILParsePathW(LPCWSTR path, LPWIN32_FIND_DATAW lpFindFile,
BOOL bBindCtx, LPITEMIDLIST *ppidl, LPDWORD prgfInOut)
{
LPSHELLFOLDER pSF = NULL;
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index d2514f0..77402ca 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -112,7 +112,7 @@ static void confirm_msg_move_button(HWND hDlg, INT iId, INT *xPos, INT yOffset,
/* Note: we paint the text manually and don't use the static control to make
* sure the text has the same height as the one computed in WM_INITDIALOG
*/
-static INT_PTR CALLBACK ConfirmMsgBox_Paint(HWND hDlg)
+static INT_PTR ConfirmMsgBox_Paint(HWND hDlg)
{
PAINTSTRUCT ps;
HFONT hOldFont;
@@ -132,7 +132,7 @@ static INT_PTR CALLBACK ConfirmMsgBox_Paint(HWND hDlg)
return TRUE;
}
-static INT_PTR CALLBACK ConfirmMsgBox_Init(HWND hDlg, LPARAM lParam)
+static INT_PTR ConfirmMsgBox_Init(HWND hDlg, LPARAM lParam)
{
struct confirm_msg_info *info = (struct confirm_msg_info *)lParam;
INT xPos, yOffset;
--
1.5.6.5
More information about the wine-patches
mailing list