Francois Gouget : shell32: Remove WINAPI/ CALLBACK on static functions where not needed.

Alexandre Julliard julliard at winehq.org
Wed Nov 26 07:32:30 CST 2008


Module: wine
Branch: master
Commit: 36e195a18568c65d42cae6bf4a35006102e6c959
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=36e195a18568c65d42cae6bf4a35006102e6c959

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Nov 25 16:41:52 2008 +0100

shell32: Remove WINAPI/CALLBACK on static functions where not needed.

---

 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;




More information about the wine-cvs mailing list