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
15bcb63b
Commit
15bcb63b
authored
Nov 03, 2011
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
icinfo: Compile the IcInfo program as a command-line app.
parent
29295e98
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
Makefile.in
programs/icinfo/Makefile.in
+1
-1
icinfo.c
programs/icinfo/icinfo.c
+12
-6
No files found.
programs/icinfo/Makefile.in
View file @
15bcb63b
EXTRADEFS
=
-DWINE_NO_UNICODE_MACROS
MODULE
=
icinfo.exe
APPMODE
=
-m
windows
APPMODE
=
-m
console
IMPORTS
=
msvfw32
C_SRCS
=
icinfo.c
...
...
programs/icinfo/icinfo.c
View file @
15bcb63b
...
...
@@ -23,15 +23,21 @@
#include "vfw.h"
int
PASCAL
WinMain
(
HINSTANCE
hInstance
,
HINSTANCE
prev
,
LPSTR
cmdline
,
int
show
)
int
main
(
int
argc
,
char
*
argv
[]
)
{
int
n
=
0
,
doabout
=
0
,
doconfigure
=
0
;
int
i
,
n
=
0
,
doabout
=
0
,
doconfigure
=
0
;
char
buf
[
128
],
type
[
5
],
handler
[
5
];
if
(
strstr
(
cmdline
,
"-about"
))
doabout
=
1
;
if
(
strstr
(
cmdline
,
"-configure"
))
doconfigure
=
1
;
for
(
i
=
1
;
i
<
argc
;
i
++
)
{
if
(
!
strcmp
(
argv
[
i
],
"-about"
))
doabout
=
1
;
else
if
(
!
strcmp
(
argv
[
i
],
"-configure"
))
doconfigure
=
1
;
else
{
printf
(
"Unknown option: %s
\n
"
,
argv
[
i
]);
return
-
1
;
}
}
printf
(
"Currently installed Video Compressors:
\n
"
);
while
(
1
)
{
...
...
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