Remove unnecessary WNDPROC casts.
This commit is contained in:
parent
6d653ab02a
commit
8d28e0314c
|
@ -950,7 +950,7 @@ void ANIMATE_Register(void)
|
|||
|
||||
ZeroMemory(&wndClass, sizeof(WNDCLASSA));
|
||||
wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)ANIMATE_WindowProc;
|
||||
wndClass.lpfnWndProc = ANIMATE_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(ANIMATE_INFO *);
|
||||
wndClass.hCursor = LoadCursorA(0, (LPSTR)IDC_ARROW);
|
||||
|
|
|
@ -2252,7 +2252,7 @@ void COMBOEX_Register (void)
|
|||
|
||||
ZeroMemory (&wndClass, sizeof(WNDCLASSW));
|
||||
wndClass.style = CS_GLOBALCLASS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)COMBOEX_WindowProc;
|
||||
wndClass.lpfnWndProc = COMBOEX_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(COMBOEX_INFO *);
|
||||
wndClass.hCursor = LoadCursorW (0, (LPWSTR)IDC_ARROW);
|
||||
|
|
|
@ -1037,7 +1037,7 @@ DATETIME_Register (void)
|
|||
|
||||
ZeroMemory (&wndClass, sizeof(WNDCLASSW));
|
||||
wndClass.style = CS_GLOBALCLASS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)DATETIME_WindowProc;
|
||||
wndClass.lpfnWndProc = DATETIME_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(DATETIME_INFO *);
|
||||
wndClass.hCursor = LoadCursorW (0, (LPCWSTR)IDC_ARROW);
|
||||
|
|
|
@ -274,7 +274,7 @@ FLATSB_Register (void)
|
|||
|
||||
ZeroMemory (&wndClass, sizeof(WNDCLASSA));
|
||||
wndClass.style = CS_GLOBALCLASS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)FlatSB_WindowProc;
|
||||
wndClass.lpfnWndProc = FlatSB_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(FLATSB_INFO *);
|
||||
wndClass.hCursor = LoadCursorA (0, (LPSTR)IDC_ARROW);
|
||||
|
|
|
@ -1842,7 +1842,7 @@ HEADER_Register (void)
|
|||
|
||||
ZeroMemory (&wndClass, sizeof(WNDCLASSA));
|
||||
wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)HEADER_WindowProc;
|
||||
wndClass.lpfnWndProc = HEADER_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(HEADER_INFO *);
|
||||
wndClass.hCursor = LoadCursorA (0, (LPSTR)IDC_ARROW);
|
||||
|
|
|
@ -9279,7 +9279,7 @@ void LISTVIEW_Register(void)
|
|||
|
||||
ZeroMemory(&wndClass, sizeof(WNDCLASSW));
|
||||
wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)LISTVIEW_WindowProc;
|
||||
wndClass.lpfnWndProc = LISTVIEW_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(LISTVIEW_INFO *);
|
||||
wndClass.hCursor = LoadCursorW(0, (LPWSTR)IDC_ARROW);
|
||||
|
|
|
@ -2068,7 +2068,7 @@ MONTHCAL_Register(void)
|
|||
|
||||
ZeroMemory(&wndClass, sizeof(WNDCLASSA));
|
||||
wndClass.style = CS_GLOBALCLASS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)MONTHCAL_WindowProc;
|
||||
wndClass.lpfnWndProc = MONTHCAL_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(MONTHCAL_INFO *);
|
||||
wndClass.hCursor = LoadCursorA(0, (LPSTR)IDC_ARROW);
|
||||
|
|
|
@ -117,7 +117,7 @@ NATIVEFONT_Register (void)
|
|||
|
||||
ZeroMemory (&wndClass, sizeof(WNDCLASSW));
|
||||
wndClass.style = CS_GLOBALCLASS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)NATIVEFONT_WindowProc;
|
||||
wndClass.lpfnWndProc = NATIVEFONT_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(NATIVEFONT_INFO *);
|
||||
wndClass.hCursor = LoadCursorW (0, (LPWSTR)IDC_ARROW);
|
||||
|
|
|
@ -4710,7 +4710,7 @@ REBAR_Register (void)
|
|||
|
||||
ZeroMemory (&wndClass, sizeof(WNDCLASSA));
|
||||
wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)REBAR_WindowProc;
|
||||
wndClass.lpfnWndProc = REBAR_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(REBAR_INFO *);
|
||||
wndClass.hCursor = 0;
|
||||
|
|
|
@ -1662,7 +1662,7 @@ VOID SYSLINK_Register (void)
|
|||
|
||||
ZeroMemory (&wndClass, sizeof(wndClass));
|
||||
wndClass.style = CS_GLOBALCLASS | CS_VREDRAW | CS_HREDRAW;
|
||||
wndClass.lpfnWndProc = (WNDPROC)SysLinkWindowProc;
|
||||
wndClass.lpfnWndProc = SysLinkWindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof (SYSLINK_INFO *);
|
||||
wndClass.hCursor = LoadCursorW (0, (LPWSTR)IDC_ARROW);
|
||||
|
|
|
@ -5399,7 +5399,7 @@ TREEVIEW_Register(void)
|
|||
|
||||
ZeroMemory(&wndClass, sizeof(WNDCLASSA));
|
||||
wndClass.style = CS_GLOBALCLASS | CS_DBLCLKS;
|
||||
wndClass.lpfnWndProc = (WNDPROC)TREEVIEW_WindowProc;
|
||||
wndClass.lpfnWndProc = TREEVIEW_WindowProc;
|
||||
wndClass.cbClsExtra = 0;
|
||||
wndClass.cbWndExtra = sizeof(TREEVIEW_INFO *);
|
||||
|
||||
|
|
Loading…
Reference in New Issue