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
74d85364
Commit
74d85364
authored
Jan 26, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Track unknown lnk flags and dump them.
parent
85eac20a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
lnk.c
tools/winedump/lnk.c
+12
-1
No files found.
tools/winedump/lnk.c
View file @
74d85364
...
...
@@ -352,6 +352,7 @@ enum FileSig get_kind_lnk(void)
void
lnk_dump
(
void
)
{
const
LINK_HEADER
*
hdr
;
DWORD
dwFlags
;
offset
=
0
;
hdr
=
fetch_block
();
...
...
@@ -371,7 +372,15 @@ void lnk_dump(void)
/* dump out all the flags */
printf
(
"Flags: %04x ( "
,
hdr
->
dwFlags
);
#define FLAG(x) if(hdr->dwFlags & SLDF_##x) printf("%s ",#x)
dwFlags
=
hdr
->
dwFlags
;
#define FLAG(x) do \
{ \
if (dwFlags & SLDF_##x) \
{ \
printf("%s ", #x); \
dwFlags&=~SLDF_##x; \
} \
} while (0)
FLAG
(
HAS_ID_LIST
);
FLAG
(
HAS_LINK_INFO
);
FLAG
(
HAS_NAME
);
...
...
@@ -395,6 +404,8 @@ void lnk_dump(void)
FLAG
(
DISABLE_KNOWNFOLDER_RELATIVE_TRACKING
);
FLAG
(
RESERVED
);
#undef FLAG
if
(
dwFlags
)
printf
(
"+%04x"
,
dwFlags
);
printf
(
")
\n
"
);
printf
(
"Length: %04x
\n
"
,
hdr
->
dwFileLength
);
...
...
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