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
3c883271
Commit
3c883271
authored
Oct 17, 2020
by
Myah Caron
Committed by
Alexandre Julliard
Oct 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Introduce MEM_EXTENDED_PARAMETER.
Signed-off-by:
Myah Caron
<
qsniyg@protonmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ab146959
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
0 deletions
+29
-0
winnt.h
include/winnt.h
+29
-0
No files found.
include/winnt.h
View file @
3c883271
...
...
@@ -736,6 +736,35 @@ typedef struct _MEMORY_BASIC_INFORMATION
DWORD
Type
;
}
MEMORY_BASIC_INFORMATION
,
*
PMEMORY_BASIC_INFORMATION
;
#define MEM_EXTENDED_PARAMETER_TYPE_BITS 8
typedef
enum
MEM_EXTENDED_PARAMETER_TYPE
{
MemExtendedParameterInvalidType
=
0
,
MemExtendedParameterAddressRequirements
,
MemExtendedParameterNumaNode
,
MemExtendedParameterPartitionHandle
,
MemExtendedParameterUserPhysicalHandle
,
MemExtendedParameterAttributeFlags
,
MemExtendedParameterMax
}
MEM_EXTENDED_PARAMETER_TYPE
,
*
PMEM_EXTENDED_PARAMETER_TYPE
;
typedef
struct
DECLSPEC_ALIGN
(
8
)
MEM_EXTENDED_PARAMETER
{
struct
{
DWORD64
Type
:
MEM_EXTENDED_PARAMETER_TYPE_BITS
;
DWORD64
Reserved
:
64
-
MEM_EXTENDED_PARAMETER_TYPE_BITS
;
}
DUMMYSTRUCTNAME
;
union
{
DWORD64
ULong64
;
PVOID
Pointer
;
SIZE_T
Size
;
HANDLE
Handle
;
DWORD
ULong
;
}
DUMMYUNIONNAME
;
}
MEM_EXTENDED_PARAMETER
,
*
PMEM_EXTENDED_PARAMETER
;
#define PAGE_NOACCESS 0x01
#define PAGE_READONLY 0x02
#define PAGE_READWRITE 0x04
...
...
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