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
f54a8ab7
Commit
f54a8ab7
authored
Oct 30, 2008
by
Vincent Povirk
Committed by
Alexandre Julliard
Nov 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rundll32: Build with -mwindows.
parent
edae5d54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
programs/rundll32/Makefile.in
+1
-1
rundll32.c
programs/rundll32/rundll32.c
+2
-3
No files found.
programs/rundll32/Makefile.in
View file @
f54a8ab7
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
rundll32.exe
APPMODE
=
-m
console
APPMODE
=
-m
windows
IMPORTS
=
user32 kernel32
C_SRCS
=
\
...
...
programs/rundll32/rundll32.c
View file @
f54a8ab7
...
...
@@ -211,7 +211,7 @@ static LPWSTR GetNextArg(LPWSTR *cmdline)
return
arg
;
}
int
main
(
int
argc
,
char
*
argv
[]
)
int
WINAPI
WinMain
(
HINSTANCE
instance
,
HINSTANCE
hOldInstance
,
LPSTR
szCmdArgs
,
int
nCmdShow
)
{
HWND
hWnd
;
LPWSTR
szCmdLine
;
...
...
@@ -219,7 +219,7 @@ int main(int argc, char* argv[])
void
*
entry_point
;
BOOL
unicode
,
win16
;
STARTUPINFOW
info
;
HMODULE
hDll
,
instance
;
HMODULE
hDll
;
hWnd
=
NULL
;
hDll
=
NULL
;
...
...
@@ -281,7 +281,6 @@ int main(int argc, char* argv[])
GetStartupInfoW
(
&
info
);
if
(
!
(
info
.
dwFlags
&
STARTF_USESHOWWINDOW
))
info
.
wShowWindow
=
SW_SHOWDEFAULT
;
instance
=
GetModuleHandleW
(
NULL
);
/* Windows always uses that, not hDll */
if
(
unicode
)
{
...
...
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