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,7 +229,7 @@ static void setup_clipping( HWND hwnd, HDC hdc )
/***********************************************************************
* ButtonWndProc_common
*/
static LRESULT WINAPI ButtonWndProc_common(HWND hWnd, UINT uMsg,
static LRESULT ButtonWndProc_common(HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
{
RECT rect;
......
......@@ -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,7 +449,7 @@ static inline INT get_vertical_line_count(EDITSTATE *es)
* names).
*
*/
static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
static LRESULT EditWndProc_common( HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
{
EDITSTATE *es = (EDITSTATE *)GetWindowLongPtrW( hwnd, 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,7 +2606,7 @@ static BOOL LISTBOX_Destroy( LB_DESCR *descr )
/***********************************************************************
* ListBoxWndProc_common
*/
static LRESULT WINAPI ListBoxWndProc_common( HWND hwnd, UINT msg,
static LRESULT ListBoxWndProc_common( HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam, BOOL unicode )
{
LB_DESCR *descr = (LB_DESCR *)GetWindowLongPtrW( hwnd, 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