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
7b1e3315
Commit
7b1e3315
authored
Sep 19, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Sep 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedump: Add more subsystem descriptions.
parent
deb71974
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
winnt.h
include/winnt.h
+1
-0
pe.c
tools/winedump/pe.c
+8
-0
No files found.
include/winnt.h
View file @
7b1e3315
...
...
@@ -2773,6 +2773,7 @@ typedef struct _IMAGE_VXD_HEADER {
#define IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12
#define IMAGE_SUBSYSTEM_EFI_ROM 13
#define IMAGE_SUBSYSTEM_XBOX 14
#define IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION 16
/* DLL Characteristics */
#define IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE 0x0040
...
...
tools/winedump/pe.c
View file @
7b1e3315
...
...
@@ -193,6 +193,14 @@ static inline void print_subsys(const char *title, WORD value)
case
IMAGE_SUBSYSTEM_WINDOWS_CUI
:
str
=
"Windows CUI"
;
break
;
case
IMAGE_SUBSYSTEM_OS2_CUI
:
str
=
"OS/2 CUI"
;
break
;
case
IMAGE_SUBSYSTEM_POSIX_CUI
:
str
=
"Posix CUI"
;
break
;
case
IMAGE_SUBSYSTEM_NATIVE_WINDOWS
:
str
=
"native Win9x driver"
;
break
;
case
IMAGE_SUBSYSTEM_WINDOWS_CE_GUI
:
str
=
"Windows CE GUI"
;
break
;
case
IMAGE_SUBSYSTEM_EFI_APPLICATION
:
str
=
"EFI application"
;
break
;
case
IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER
:
str
=
"EFI driver (boot)"
;
break
;
case
IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER
:
str
=
"EFI driver (runtime)"
;
break
;
case
IMAGE_SUBSYSTEM_EFI_ROM
:
str
=
"EFI ROM"
;
break
;
case
IMAGE_SUBSYSTEM_XBOX
:
str
=
"Xbox application"
;
break
;
case
IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION
:
str
=
"Boot application"
;
break
;
}
printf
(
" %-34s 0x%X (%s)
\n
"
,
title
,
value
,
str
);
}
...
...
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