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
9cd889af
Commit
9cd889af
authored
Feb 15, 2002
by
Ron Gage
Committed by
Alexandre Julliard
Feb 15, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added several structures.
parent
6748e699
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
130 additions
and
16 deletions
+130
-16
ntddk.h
include/ntddk.h
+130
-16
No files found.
include/ntddk.h
View file @
9cd889af
...
...
@@ -147,6 +147,21 @@ typedef enum _THREADINFOCLASS
MaxThreadInfoClass
}
THREADINFOCLASS
;
typedef
struct
{
/* This is used by NtQuerySystemInformation */
FILETIME
ftCreationTime
;
DWORD
dwUnknown1
;
DWORD
dwStartAddress
;
DWORD
dwOwningPID
;
DWORD
dwThreadID
;
DWORD
dwCurrentPriority
;
DWORD
dwBasePriority
;
DWORD
dwContextSwitches
;
DWORD
dwThreadState
;
DWORD
dwWaitReason
;
DWORD
dwUnknown2
[
5
];
}
THREADINFO
,
*
PTHREADINFO
;
/* file information */
typedef
enum
_FILE_INFORMATION_CLASS
{
...
...
@@ -220,13 +235,123 @@ typedef enum _OBJECT_INFORMATION_CLASS
/* system information */
typedef
enum
SYSTEM_INFORMATION_CLASS
{
Unknown1
=
1
,
Unknown2
,
Unknown3
,
Unknown4
,
SystemPerformanceInformation
{
SystemBasicInformation
=
0
,
Unknown1
,
SystemPerformanceInformation
,
SystemTimeInformation
,
Unknown4
,
SystemProcessInformation
,
Unknown6
,
Unknown7
,
Unknown8
,
Unknown9
,
Unknown10
,
SystemDriverInformation
,
Unknown12
,
Unknown13
,
Unknown14
,
Unknown15
,
SystemHandleList
,
Unknown17
,
Unknown18
,
Unknown19
,
Unknown20
,
SystemCacheInformation
}
SYSTEM_INFORMATION_CLASS
,
*
PSYSTEM_INFORMATION_CLASS
;
typedef
struct
{
/* System Information Class 0x00 */
DWORD
dwUnknown1
;
ULONG
uKeMaximumIncrement
;
ULONG
uPageSize
;
ULONG
uMmNumberOfPhysicalPages
;
ULONG
uMmLowestPhysicalPage
;
ULONG
uMmHighestPhysicalPage
;
ULONG
uAllocationGranularity
;
PVOID
pLowestUserAddress
;
PVOID
pMmHighestUserAddress
;
ULONG
uKeActiveProcessors
;
BYTE
bKeNumberProcessors
;
BYTE
bUnknown2
;
WORD
wUnknown3
;
}
SYSTEM_BASIC_INFORMATION
;
typedef
struct
{
/* System Information Class 0x02 */
LARGE_INTEGER
liIdleTime
;
DWORD
dwSpare
[
76
];
}
SYSTEM_PERFORMANCE_INFORMATION
;
typedef
struct
{
/* System Information Class 0x03 */
LARGE_INTEGER
liKeBootTime
;
LARGE_INTEGER
liKeSystemTime
;
LARGE_INTEGER
liExpTimeZoneBias
;
ULONG
uCurrentTimeZoneId
;
DWORD
dwReserved
;
}
SYSTEM_TIME_INFORMATION
;
typedef
struct
{
/* System Information Class 0x05 */
DWORD
dwOffset
;
DWORD
dwThreadCount
;
DWORD
dwUnknown1
[
6
];
FILETIME
ftCreationTime
;
DWORD
dwUnknown2
[
5
];
WCHAR
*
pszProcessName
;
DWORD
dwBasePriority
;
DWORD
dwProcessID
;
DWORD
dwParentProcessID
;
DWORD
dwHandleCount
;
DWORD
dwUnknown3
;
DWORD
dwUnknown4
;
DWORD
dwVirtualBytesPeak
;
DWORD
dwVirtualBytes
;
DWORD
dwPageFaults
;
DWORD
dwWorkingSetPeak
;
DWORD
dwWorkingSet
;
DWORD
dwUnknown5
;
DWORD
dwPagedPool
;
DWORD
dwUnknown6
;
DWORD
dwNonPagedPool
;
DWORD
dwPageFileBytesPeak
;
DWORD
dwPrivateBytes
;
DWORD
dwPageFileBytes
;
DWORD
dwUnknown7
[
4
];
THREADINFO
ti
[
0
];
}
SYSTEM_PROCESS_INFORMATION
;
typedef
struct
{
/* System Information Class 0x0b */
PVOID
pvAddress
;
DWORD
dwUnknown1
;
DWORD
dwUnknown2
;
DWORD
dwEntryIndex
;
DWORD
dwUnknown3
;
char
szName
[
MAX_PATH
+
1
];
}
SYSTEM_DRIVER_INFORMATION
;
typedef
struct
{
/* System Information Class 0x10 */
USHORT
dwPID
;
USHORT
dwCreatorBackTraceIndex
;
BYTE
bObjectType
;
BYTE
bHandleAttributes
;
USHORT
usHandleOffset
;
DWORD
dwKeObject
;
ULONG
ulGrantedAccess
;
}
HANDLEINFO
,
*
PHANDLEINFO
;
typedef
struct
{
/* System Information Class 0x15 */
ULONG
CurrentSize
;
ULONG
PeakSize
;
ULONG
PageFaultCount
;
ULONG
MinimumWorkingSet
;
ULONG
MaximumWorkingSet
;
ULONG
unused
[
4
];
}
SYSTEM_CACHE_INFORMATION
;
/* reading coffee grounds... */
typedef
struct
_THREAD_INFO
{
DWORD
Unknown1
[
6
];
...
...
@@ -321,17 +446,6 @@ typedef struct _SYSTEM_CONFIGURATION_INFO
}
SYSTEM_CONFIGURATION_INFO
,
*
PSYSTEM_CONFIGURATION_INFO
;
typedef
struct
_SYSTEM_CACHE_INFORMATION
{
ULONG
CurrentSize
;
ULONG
PeakSize
;
ULONG
PageFaultCount
;
ULONG
MinimumWorkingSet
;
ULONG
MaximumWorkingSet
;
ULONG
Unused
[
4
];
}
SYSTEM_CACHE_INFORMATION
;
/*
* NtQueryProcessInformation
*/
...
...
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