user32: Remove WINAPI/CALLBACK on static functions where not needed.
This commit is contained in:
parent
c0e271c4de
commit
31df4d42b7
|
@ -229,8 +229,8 @@ static void setup_clipping( HWND hwnd, HDC hdc )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ButtonWndProc_common
|
* 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 )
|
WPARAM wParam, LPARAM lParam, BOOL unicode )
|
||||||
{
|
{
|
||||||
RECT rect;
|
RECT rect;
|
||||||
POINT pt;
|
POINT pt;
|
||||||
|
|
|
@ -223,7 +223,7 @@ static void EDIT_AdjustFormatRect(EDITSTATE *es);
|
||||||
static void EDIT_SetRectNP(EDITSTATE *es, const RECT *lprc);
|
static void EDIT_SetRectNP(EDITSTATE *es, const RECT *lprc);
|
||||||
static void EDIT_UnlockBuffer(EDITSTATE *es, BOOL force);
|
static void EDIT_UnlockBuffer(EDITSTATE *es, BOOL force);
|
||||||
static void EDIT_UpdateScrollInfo(EDITSTATE *es);
|
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
|
* EM_XXX message handlers
|
||||||
*/
|
*/
|
||||||
|
@ -449,8 +449,8 @@ static inline INT get_vertical_line_count(EDITSTATE *es)
|
||||||
* names).
|
* names).
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
static LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
|
static LRESULT EditWndProc_common( HWND hwnd, UINT msg,
|
||||||
WPARAM wParam, LPARAM lParam, BOOL unicode )
|
WPARAM wParam, LPARAM lParam, BOOL unicode )
|
||||||
{
|
{
|
||||||
EDITSTATE *es = (EDITSTATE *)GetWindowLongPtrW( hwnd, 0 );
|
EDITSTATE *es = (EDITSTATE *)GetWindowLongPtrW( hwnd, 0 );
|
||||||
LRESULT result = 0;
|
LRESULT result = 0;
|
||||||
|
@ -2602,7 +2602,7 @@ static void EDIT_UpdateScrollInfo(EDITSTATE *es)
|
||||||
* internally, so we can decide this for ourselves.
|
* 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;
|
INT ret = 0;
|
||||||
|
|
||||||
|
|
|
@ -2606,8 +2606,8 @@ static BOOL LISTBOX_Destroy( LB_DESCR *descr )
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* ListBoxWndProc_common
|
* 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 )
|
WPARAM wParam, LPARAM lParam, BOOL unicode )
|
||||||
{
|
{
|
||||||
LB_DESCR *descr = (LB_DESCR *)GetWindowLongPtrW( hwnd, 0 );
|
LB_DESCR *descr = (LB_DESCR *)GetWindowLongPtrW( hwnd, 0 );
|
||||||
LPHEADCOMBO lphc = 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
|
/* test registering a dialog box created by using the CLASS directive in a
|
||||||
resource file, then test creating the dialog using CreateDialogParam. */
|
resource file, then test creating the dialog using CreateDialogParam. */
|
||||||
static void WINAPI CreateDialogParamTest(HINSTANCE hInstance)
|
static void CreateDialogParamTest(HINSTANCE hInstance)
|
||||||
{
|
{
|
||||||
HWND hWndMain;
|
HWND hWndMain;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue