Commit 31df4d42 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent c0e271c4
......@@ -229,8 +229,8 @@ static void setup_clipping( HWND hwnd, HDC hdc )
/***********************************************************************
* ButtonWndProc_common
*/
static LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
static LRESULT ButtonWndProc_common(HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
{
RECT rect;
POINT pt;
......
......@@ -223,7 +223,7 @@ static void EDIT_AdjustFormatRect(EDITSTATE *es);
static void EDIT_SetRectNP(EDITSTATE *es, const RECT *lprc);
static void EDIT_UnlockBuffer(EDITSTATE *es, BOOL force);
static void EDIT_UpdateScrollInfo(EDITSTATE *es);
static INT CALLBACK EDIT_WordBreakProc(LPWSTR s, INT index, INT count, INT action);
static INT EDIT_WordBreakProc(LPWSTR s, INT index, INT count, INT action);
/*
* EM_XXX message handlers
*/
......@@ -449,8 +449,8 @@ static inline INT get_vertical_line_count(EDITSTATE *es)
* names).
*
*/
static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
static LRESULT EditWndProc_common( HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
{
EDITSTATE *es = (EDITSTATE *)GetWindowLongPtrW( hwnd, 0 );
LRESULT result = 0;
......@@ -2602,7 +2602,7 @@ static void EDIT_UpdateScrollInfo(EDITSTATE *es)
* internally, so we can decide this for ourselves.
*
*/
static INT CALLBACK EDIT_WordBreakProc(LPWSTR s, INT index, INT count, INT action)
static INT EDIT_WordBreakProc(LPWSTR s, INT index, INT count, INT action)
{
INT ret = 0;
......
......@@ -2606,8 +2606,8 @@ static BOOL LISTBOX_Destroy( LB_DESCR *descr )
/***********************************************************************
* ListBoxWndProc_common
*/
static LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
static LRESULT ListBoxWndProc_common( HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
{
LB_DESCR *descr = (LB_DESCR *)GetWindowLongPtrW( hwnd, 0 );
LPHEADCOMBO lphc = 0;
......
......@@ -814,7 +814,7 @@ static BOOL RegisterTestDialog(HINSTANCE hInstance)
/* test registering a dialog box created by using the CLASS directive in a
resource file, then test creating the dialog using CreateDialogParam. */
static void WINAPI CreateDialogParamTest(HINSTANCE hInstance)
static void CreateDialogParamTest(HINSTANCE hInstance)
{
HWND hWndMain;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment