Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
cba8763c
Commit
cba8763c
authored
Dec 06, 2004
by
Robert Shearman
Committed by
Alexandre Julliard
Dec 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary WNDPROC casts.
parent
8d019114
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
9 additions
and
9 deletions
+9
-9
clipboard.c
dlls/ole32/clipboard.c
+1
-1
ole2.c
dlls/ole32/ole2.c
+1
-1
richedit.c
dlls/richedit/richedit.c
+1
-1
virtcopy.c
dlls/setupapi/virtcopy.c
+1
-1
shlview.c
dlls/shell32/shlview.c
+1
-1
systray.c
dlls/shell32/systray.c
+1
-1
input.c
dlls/user/tests/input.c
+1
-1
rundll32.c
programs/rundll32/rundll32.c
+1
-1
init.c
programs/view/init.c
+1
-1
No files found.
dlls/ole32/clipboard.c
View file @
cba8763c
...
...
@@ -736,7 +736,7 @@ static HWND OLEClipbrd_CreateWindow()
* We don't bother doing this since the FindClassByAtom code
* would have to be changed to deal with this idiosyncrasy. */
wcex
.
style
=
CS_GLOBALCLASS
;
wcex
.
lpfnWndProc
=
(
WNDPROC
)
OLEClipbrd_WndProc
;
wcex
.
lpfnWndProc
=
OLEClipbrd_WndProc
;
wcex
.
hInstance
=
0
;
wcex
.
lpszClassName
=
OLEClipbrd_WNDCLASS
;
...
...
dlls/ole32/ole2.c
View file @
cba8763c
...
...
@@ -1602,7 +1602,7 @@ static void OLEDD_Initialize()
ZeroMemory
(
&
wndClass
,
sizeof
(
WNDCLASSA
));
wndClass
.
style
=
CS_GLOBALCLASS
;
wndClass
.
lpfnWndProc
=
(
WNDPROC
)
OLEDD_DragTrackerWindowProc
;
wndClass
.
lpfnWndProc
=
OLEDD_DragTrackerWindowProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
sizeof
(
TrackerWindowInfo
*
);
wndClass
.
hCursor
=
0
;
...
...
dlls/richedit/richedit.c
View file @
cba8763c
...
...
@@ -778,7 +778,7 @@ VOID RICHED32_Register(void)
ZeroMemory
(
&
wndClass
,
sizeof
(
WNDCLASSA
));
wndClass
.
style
=
CS_HREDRAW
|
CS_VREDRAW
|
CS_GLOBALCLASS
;
wndClass
.
lpfnWndProc
=
(
WNDPROC
)
RICHED32_WindowProc
;
wndClass
.
lpfnWndProc
=
RICHED32_WindowProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
RTFInfoOffset
+
sizeof
(
RTFControl_Info
*
);
wndClass
.
hCursor
=
LoadCursorA
(
0
,
(
LPSTR
)
IDC_ARROW
);
...
...
dlls/setupapi/virtcopy.c
View file @
cba8763c
...
...
@@ -658,7 +658,7 @@ void VCP_UI_RegisterProgressClass(void)
registered
=
TRUE
;
ZeroMemory
(
&
wndClass
,
sizeof
(
WNDCLASSA
));
wndClass
.
style
=
CS_GLOBALCLASS
|
CS_DBLCLKS
|
CS_HREDRAW
|
CS_VREDRAW
;
wndClass
.
lpfnWndProc
=
(
WNDPROC
)
VCP_UI_FileCopyWndProc
;
wndClass
.
lpfnWndProc
=
VCP_UI_FileCopyWndProc
;
wndClass
.
cbClsExtra
=
0
;
wndClass
.
cbWndExtra
=
0
;
wndClass
.
hCursor
=
LoadCursorA
(
0
,
(
LPSTR
)
IDC_ARROW
);
...
...
dlls/shell32/shlview.c
View file @
cba8763c
...
...
@@ -1819,7 +1819,7 @@ static HRESULT WINAPI IShellView_fnCreateViewWindow(
{
ZeroMemory
(
&
wc
,
sizeof
(
wc
));
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wc
.
lpfnWndProc
=
(
WNDPROC
)
ShellView_WndProc
;
wc
.
lpfnWndProc
=
ShellView_WndProc
;
wc
.
cbClsExtra
=
0
;
wc
.
cbWndExtra
=
0
;
wc
.
hInstance
=
shell32_hInstance
;
...
...
dlls/shell32/systray.c
View file @
cba8763c
...
...
@@ -162,7 +162,7 @@ BOOL SYSTRAY_RegisterClass(void)
WNDCLASSA
wc
;
wc
.
style
=
CS_SAVEBITS
|
CS_DBLCLKS
;
wc
.
lpfnWndProc
=
(
WNDPROC
)
SYSTRAY_WndProc
;
wc
.
lpfnWndProc
=
SYSTRAY_WndProc
;
wc
.
cbClsExtra
=
0
;
wc
.
cbWndExtra
=
0
;
wc
.
hInstance
=
0
;
...
...
dlls/user/tests/input.c
View file @
cba8763c
...
...
@@ -344,7 +344,7 @@ START_TEST(input)
wclass
.
lpszClassName
=
"InputSysKeyTestClass"
;
wclass
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wclass
.
lpfnWndProc
=
(
WNDPROC
)
WndProc
;
wclass
.
lpfnWndProc
=
WndProc
;
wclass
.
hInstance
=
hInstance
;
wclass
.
hIcon
=
LoadIconA
(
0
,
(
LPSTR
)
IDI_APPLICATION
);
wclass
.
hCursor
=
LoadCursorA
(
NULL
,
IDC_ARROW
);
...
...
programs/rundll32/rundll32.c
View file @
cba8763c
...
...
@@ -68,7 +68,7 @@ static ATOM MyRegisterClass(HINSTANCE hInstance)
wcex
.
cbSize
=
sizeof
(
WNDCLASSEX
);
wcex
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
wcex
.
lpfnWndProc
=
(
WNDPROC
)
DefWindowProc
;
wcex
.
lpfnWndProc
=
DefWindowProc
;
wcex
.
cbClsExtra
=
0
;
wcex
.
cbWndExtra
=
0
;
wcex
.
hInstance
=
hInstance
;
...
...
programs/view/init.c
View file @
cba8763c
...
...
@@ -48,7 +48,7 @@ BOOL InitApplication(HINSTANCE hInstance)
0
);
wc
.
style
=
CS_HREDRAW
|
CS_VREDRAW
;
/* Class style(s) */
wc
.
lpfnWndProc
=
(
WNDPROC
)
WndProc
;
/* Window Procedure */
wc
.
lpfnWndProc
=
WndProc
;
/* Window Procedure */
wc
.
cbClsExtra
=
0
;
/* No per-class extra data */
wc
.
cbWndExtra
=
0
;
/* No per-window extra data */
wc
.
hInstance
=
hInstance
;
/* Owner of this class */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment