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
18590bb2
Commit
18590bb2
authored
Apr 22, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add more fields to LDR_MODULE.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cd1a09be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
76 additions
and
0 deletions
+76
-0
winternl.h
include/winternl.h
+76
-0
No files found.
include/winternl.h
View file @
18590bb2
...
...
@@ -2255,6 +2255,68 @@ typedef struct _NLSTABLEINFO
*
* Those are not part of standard Winternl.h
*/
typedef
struct
_LDR_SERVICE_TAG_RECORD
{
struct
_LDR_SERVICE_TAG_RECORD
*
Next
;
ULONG
ServiceTag
;
}
LDR_SERVICE_TAG_RECORD
,
*
PLDR_SERVICE_TAG_RECORD
;
typedef
struct
_LDRP_CSLIST
{
SINGLE_LIST_ENTRY
*
Tail
;
}
LDRP_CSLIST
,
*
PLDRP_CSLIST
;
typedef
enum
_LDR_DDAG_STATE
{
LdrModulesMerged
=
-
5
,
LdrModulesInitError
=
-
4
,
LdrModulesSnapError
=
-
3
,
LdrModulesUnloaded
=
-
2
,
LdrModulesUnloading
=
-
1
,
LdrModulesPlaceHolder
=
0
,
LdrModulesMapping
=
1
,
LdrModulesMapped
=
2
,
LdrModulesWaitingForDependencies
=
3
,
LdrModulesSnapping
=
4
,
LdrModulesSnapped
=
5
,
LdrModulesCondensed
=
6
,
LdrModulesReadyToInit
=
7
,
LdrModulesInitializing
=
8
,
LdrModulesReadyToRun
=
9
,
}
LDR_DDAG_STATE
;
typedef
struct
_LDR_DDAG_NODE
{
LIST_ENTRY
Modules
;
LDR_SERVICE_TAG_RECORD
*
ServiceTagList
;
ULONG
LoadCount
;
ULONG
ReferenceCount
;
ULONG
DependencyCount
;
union
{
LDRP_CSLIST
Dependencies
;
SINGLE_LIST_ENTRY
RemovalLink
;
};
LDRP_CSLIST
IncomingDependencies
;
LDR_DDAG_STATE
State
;
SINGLE_LIST_ENTRY
CondenseLink
;
ULONG
PreorderNumber
;
ULONG
LowestLink
;
}
LDR_DDAG_NODE
,
*
PLDR_DDAG_NODE
;
typedef
enum
_LDR_DLL_LOAD_REASON
{
LoadReasonStaticDependency
,
LoadReasonStaticForwarderDependency
,
LoadReasonDynamicForwarderDependency
,
LoadReasonDelayloadDependency
,
LoadReasonDynamicLoad
,
LoadReasonAsImageLoad
,
LoadReasonAsDataLoad
,
LoadReasonUnknown
=
-
1
}
LDR_DLL_LOAD_REASON
,
*
PLDR_DLL_LOAD_REASON
;
typedef
struct
_LDR_MODULE
{
LIST_ENTRY
InLoadOrderModuleList
;
...
...
@@ -2272,6 +2334,20 @@ typedef struct _LDR_MODULE
ULONG
CheckSum
;
ULONG
TimeDateStamp
;
HANDLE
ActivationContext
;
void
*
Lock
;
LDR_DDAG_NODE
*
DdagNode
;
LIST_ENTRY
NodeModuleLink
;
struct
_LDRP_LOAD_CONTEXT
*
LoadContext
;
void
*
ParentDllBase
;
void
*
SwitchBackContext
;
RTL_BALANCED_NODE
BaseAddressIndexNode
;
RTL_BALANCED_NODE
MappingInfoIndexNode
;
ULONG_PTR
OriginalBase
;
LARGE_INTEGER
LoadTime
;
ULONG
BaseNameHashValue
;
LDR_DLL_LOAD_REASON
LoadReason
;
ULONG
ImplicitPathOptions
;
ULONG
ReferenceCount
;
}
LDR_MODULE
,
*
PLDR_MODULE
;
typedef
struct
_LDR_DLL_LOADED_NOTIFICATION_DATA
...
...
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