Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
28fc36d3
Commit
28fc36d3
authored
Jul 23, 2000
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 23, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed WinMain's signature.
parent
49d251ff
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
hello.c
libtest/hello.c
+1
-1
hello2.c
libtest/hello2.c
+1
-1
hello3.c
libtest/hello3.c
+1
-1
hello4.c
libtest/hello4.c
+1
-1
hello5.c
libtest/hello5.c
+1
-1
new.c
libtest/new.c
+1
-1
rolex.c
libtest/rolex.c
+1
-1
vartest.c
libtest/vartest.c
+1
-1
main.c
programs/notepad/main.c
+1
-1
winver.c
programs/winver/winver.c
+1
-1
No files found.
libtest/hello.c
View file @
28fc36d3
...
@@ -4,7 +4,7 @@ char szAppName[] = "Hello";
...
@@ -4,7 +4,7 @@ char szAppName[] = "Hello";
long
FAR
PASCAL
WndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
long
FAR
PASCAL
WndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
int
PASCAL
WinMain
(
H
ANDLE
hInstance
,
HANDL
E
hPrevInst
,
LPSTR
lpszCmdLine
,
int
PASCAL
WinMain
(
H
INSTANCE
hInstance
,
HINSTANC
E
hPrevInst
,
LPSTR
lpszCmdLine
,
int
nCmdShow
)
int
nCmdShow
)
{
{
HWND
hwnd
;
HWND
hwnd
;
...
...
libtest/hello2.c
View file @
28fc36d3
#include "windows.h"
#include "windows.h"
int
PASCAL
WinMain
(
H
ANDLE
inst
,
HANDL
E
prev
,
LPSTR
cmdline
,
int
show
)
int
PASCAL
WinMain
(
H
INSTANCE
inst
,
HINSTANC
E
prev
,
LPSTR
cmdline
,
int
show
)
{
{
return
MessageBox
((
HWND
)
0
,
return
MessageBox
((
HWND
)
0
,
(
LPSTR
)
"Hello, hello!"
,
(
LPSTR
)
"Hello, hello!"
,
...
...
libtest/hello3.c
View file @
28fc36d3
...
@@ -82,7 +82,7 @@ LRESULT CALLBACK WndProc (HWND wnd, UINT msg, WPARAM w, LPARAM l)
...
@@ -82,7 +82,7 @@ LRESULT CALLBACK WndProc (HWND wnd, UINT msg, WPARAM w, LPARAM l)
return
0l
;
return
0l
;
}
}
int
PASCAL
WinMain
(
H
ANDLE
inst
,
HANDL
E
prev
,
LPSTR
cmdline
,
int
show
)
int
PASCAL
WinMain
(
H
INSTANCE
inst
,
HINSTANC
E
prev
,
LPSTR
cmdline
,
int
show
)
{
{
MSG
msg
;
MSG
msg
;
WNDCLASS
class
;
WNDCLASS
class
;
...
...
libtest/hello4.c
View file @
28fc36d3
...
@@ -99,7 +99,7 @@ LRESULT CALLBACK WndProc2 (HWND wnd, UINT msg, WPARAM w, LPARAM l)
...
@@ -99,7 +99,7 @@ LRESULT CALLBACK WndProc2 (HWND wnd, UINT msg, WPARAM w, LPARAM l)
return
0l
;
return
0l
;
}
}
int
PASCAL
WinMain
(
H
ANDLE
inst
,
HANDL
E
prev
,
LPSTR
cmdline
,
int
show
)
int
PASCAL
WinMain
(
H
INSTANCE
inst
,
HINSTANC
E
prev
,
LPSTR
cmdline
,
int
show
)
{
{
HWND
wnd
,
wnd2
;
HWND
wnd
,
wnd2
;
MSG
msg
;
MSG
msg
;
...
...
libtest/hello5.c
View file @
28fc36d3
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#include <stdio.h>
#include <stdio.h>
#include <windows.h>
#include <windows.h>
int
PASCAL
WinMain
(
H
ANDLE
inst
,
HANDL
E
prev
,
LPSTR
cmdline
,
int
show
)
int
PASCAL
WinMain
(
H
INSTANCE
inst
,
HINSTANC
E
prev
,
LPSTR
cmdline
,
int
show
)
{
{
SYSTEM_INFO
si
;
SYSTEM_INFO
si
;
void
(
CALLBACK
*
fnGetSystemInfo
)(
LPSYSTEM_INFO
si
);
void
(
CALLBACK
*
fnGetSystemInfo
)(
LPSYSTEM_INFO
si
);
...
...
libtest/new.c
View file @
28fc36d3
...
@@ -6,7 +6,7 @@ HANDLE ghInstance;
...
@@ -6,7 +6,7 @@ HANDLE ghInstance;
LRESULT
CALLBACK
WndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
LRESULT
CALLBACK
WndProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
LRESULT
CALLBACK
ChildProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
LRESULT
CALLBACK
ChildProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
int
PASCAL
WinMain
(
H
ANDLE
hInstance
,
HANDL
E
hPrevInstance
,
int
PASCAL
WinMain
(
H
INSTANCE
hInstance
,
HINSTANC
E
hPrevInstance
,
LPSTR
lpszCmdParam
,
int
nCmdShow
)
LPSTR
lpszCmdParam
,
int
nCmdShow
)
{
{
char
szAppName
[]
=
"ClassLook"
;
char
szAppName
[]
=
"ClassLook"
;
...
...
libtest/rolex.c
View file @
28fc36d3
...
@@ -220,7 +220,7 @@ WPARAM MessageLoop()
...
@@ -220,7 +220,7 @@ WPARAM MessageLoop()
}
}
}
}
int
PASCAL
WinMain
(
H
ANDLE
inst
,
HANDL
E
prev
,
LPSTR
cmdline
,
int
show
)
int
PASCAL
WinMain
(
H
INSTANCE
inst
,
HINSTANC
E
prev
,
LPSTR
cmdline
,
int
show
)
{
{
WNDCLASS
class
;
WNDCLASS
class
;
if
(
!
prev
)
if
(
!
prev
)
...
...
libtest/vartest.c
View file @
28fc36d3
...
@@ -101,7 +101,7 @@ OLECHAR* AtoW( char* p )
...
@@ -101,7 +101,7 @@ OLECHAR* AtoW( char* p )
#endif
#endif
int
PASCAL
WinMain
(
H
ANDLE
inst
,
HANDL
E
prev
,
LPSTR
cmdline
,
int
show
)
int
PASCAL
WinMain
(
H
INSTANCE
inst
,
HINSTANC
E
prev
,
LPSTR
cmdline
,
int
show
)
{
{
VARIANTARG
va
;
VARIANTARG
va
;
VARIANTARG
vb
;
VARIANTARG
vb
;
...
...
programs/notepad/main.c
View file @
28fc36d3
...
@@ -854,7 +854,7 @@ LRESULT NOTEPAD_WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
...
@@ -854,7 +854,7 @@ LRESULT NOTEPAD_WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
* WinMain
* WinMain
*/
*/
int
PASCAL
WinMain
(
H
ANDLE
hInstance
,
HANDL
E
prev
,
LPSTR
cmdline
,
int
show
)
int
PASCAL
WinMain
(
H
INSTANCE
hInstance
,
HINSTANC
E
prev
,
LPSTR
cmdline
,
int
show
)
{
{
MSG
msg
;
MSG
msg
;
WNDCLASS
class
;
WNDCLASS
class
;
...
...
programs/winver/winver.c
View file @
28fc36d3
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
#include "windows.h"
#include "windows.h"
#include "version.h"
#include "version.h"
int
PASCAL
WinMain
(
H
ANDLE
inst
,
HANDL
E
prev
,
LPSTR
cmdline
,
int
show
)
int
PASCAL
WinMain
(
H
INSTANCE
inst
,
HINSTANC
E
prev
,
LPSTR
cmdline
,
int
show
)
{
{
return
ShellAbout
((
HWND
)
0
,
"WINE"
,
WINE_RELEASE_INFO
,
0
);
return
ShellAbout
((
HWND
)
0
,
"WINE"
,
WINE_RELEASE_INFO
,
0
);
}
}
...
...
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