Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6b1e8328
Commit
6b1e8328
authored
Aug 22, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest
platform SDK. This helps compile the ntdll tests on Windows.
parent
310f093a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
17 deletions
+37
-17
generated.c
dlls/ntdll/tests/generated.c
+25
-4
winnt.h
include/winnt.h
+10
-8
tests.dat
tools/winapi/tests.dat
+2
-5
No files found.
dlls/ntdll/tests/generated.c
View file @
6b1e8328
...
...
@@ -397,6 +397,16 @@ static void test_pack_FLOATING_SAVE_AREA(void)
TEST_FIELD
(
FLOATING_SAVE_AREA
,
DWORD
,
Cr0NpxState
,
108
,
4
,
4
);
}
static
void
test_pack_FPO_DATA
(
void
)
{
/* FPO_DATA (pack 4) */
TEST_TYPE
(
FPO_DATA
,
16
,
4
);
TEST_FIELD
(
FPO_DATA
,
DWORD
,
ulOffStart
,
0
,
4
,
4
);
TEST_FIELD
(
FPO_DATA
,
DWORD
,
cbProcSize
,
4
,
4
,
4
);
TEST_FIELD
(
FPO_DATA
,
DWORD
,
cdwLocals
,
8
,
4
,
4
);
TEST_FIELD
(
FPO_DATA
,
WORD
,
cdwParams
,
12
,
2
,
2
);
}
static
void
test_pack_GENERIC_MAPPING
(
void
)
{
/* GENERIC_MAPPING (pack 4) */
...
...
@@ -584,8 +594,8 @@ static void test_pack_IMAGE_IMPORT_DESCRIPTOR(void)
static
void
test_pack_IMAGE_LOAD_CONFIG_DIRECTORY
(
void
)
{
/* IMAGE_LOAD_CONFIG_DIRECTORY (pack 4) */
TEST_TYPE
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
64
,
4
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
DWORD
,
Characteristics
,
0
,
4
,
4
);
TEST_TYPE
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
72
,
4
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
DWORD
,
Size
,
0
,
4
,
4
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
DWORD
,
TimeDateStamp
,
4
,
4
,
4
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
WORD
,
MajorVersion
,
8
,
2
,
2
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
WORD
,
MinorVersion
,
10
,
2
,
2
);
...
...
@@ -602,7 +612,9 @@ static void test_pack_IMAGE_LOAD_CONFIG_DIRECTORY(void)
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
WORD
,
CSDVersion
,
52
,
2
,
2
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
WORD
,
Reserved1
,
54
,
2
,
2
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
PVOID
,
EditList
,
56
,
4
,
4
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
DWORD
[
1
],
Reserved
,
60
,
4
,
4
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
DWORD
,
SecurityCookie
,
60
,
4
,
4
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
DWORD
,
SEHandlerTable
,
64
,
4
,
4
);
TEST_FIELD
(
IMAGE_LOAD_CONFIG_DIRECTORY
,
DWORD
,
SEHandlerCount
,
68
,
4
,
4
);
}
static
void
test_pack_IMAGE_NT_HEADERS
(
void
)
...
...
@@ -1034,6 +1046,13 @@ static void test_pack_PFLOATING_SAVE_AREA(void)
TEST_TYPE_POINTER
(
PFLOATING_SAVE_AREA
,
112
,
4
);
}
static
void
test_pack_PFPO_DATA
(
void
)
{
/* PFPO_DATA */
TEST_TYPE
(
PFPO_DATA
,
4
,
4
);
TEST_TYPE_POINTER
(
PFPO_DATA
,
16
,
4
);
}
static
void
test_pack_PGENERIC_MAPPING
(
void
)
{
/* PGENERIC_MAPPING */
...
...
@@ -1155,7 +1174,7 @@ static void test_pack_PIMAGE_LOAD_CONFIG_DIRECTORY(void)
{
/* PIMAGE_LOAD_CONFIG_DIRECTORY */
TEST_TYPE
(
PIMAGE_LOAD_CONFIG_DIRECTORY
,
4
,
4
);
TEST_TYPE_POINTER
(
PIMAGE_LOAD_CONFIG_DIRECTORY
,
64
,
4
);
TEST_TYPE_POINTER
(
PIMAGE_LOAD_CONFIG_DIRECTORY
,
72
,
4
);
}
static
void
test_pack_PIMAGE_NT_HEADERS
(
void
)
...
...
@@ -2065,6 +2084,7 @@ static void test_pack(void)
test_pack_FARPROC
();
test_pack_FLOAT
();
test_pack_FLOATING_SAVE_AREA
();
test_pack_FPO_DATA
();
test_pack_GENERIC_MAPPING
();
test_pack_GLOBALHANDLE
();
test_pack_HALF_PTR
();
...
...
@@ -2151,6 +2171,7 @@ static void test_pack(void)
test_pack_PEXCEPTION_POINTERS
();
test_pack_PEXCEPTION_RECORD
();
test_pack_PFLOATING_SAVE_AREA
();
test_pack_PFPO_DATA
();
test_pack_PGENERIC_MAPPING
();
test_pack_PHANDLE
();
test_pack_PIMAGE_ARCHIVE_MEMBER_HEADER
();
...
...
include/winnt.h
View file @
6b1e8328
...
...
@@ -2520,16 +2520,16 @@ typedef struct _FPO_DATA {
DWORD
cbProcSize
;
DWORD
cdwLocals
;
WORD
cdwParams
;
unsigned
cbProlog
:
8
;
unsigned
cbRegs
:
3
;
unsigned
fHasSEH
:
1
;
unsigned
fUseBP
:
1
;
unsigned
reserved
:
1
;
unsigned
cbFrame
:
2
;
WORD
cbProlog
:
8
;
WORD
cbRegs
:
3
;
WORD
fHasSEH
:
1
;
WORD
fUseBP
:
1
;
WORD
reserved
:
1
;
WORD
cbFrame
:
2
;
}
FPO_DATA
,
*
PFPO_DATA
;
typedef
struct
_IMAGE_LOAD_CONFIG_DIRECTORY
{
DWORD
Characteristics
;
DWORD
Size
;
DWORD
TimeDateStamp
;
WORD
MajorVersion
;
WORD
MinorVersion
;
...
...
@@ -2546,7 +2546,9 @@ typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY {
WORD
CSDVersion
;
WORD
Reserved1
;
PVOID
EditList
;
DWORD
Reserved
[
1
];
DWORD
SecurityCookie
;
DWORD
SEHandlerTable
;
DWORD
SEHandlerCount
;
}
IMAGE_LOAD_CONFIG_DIRECTORY
,
*
PIMAGE_LOAD_CONFIG_DIRECTORY
;
typedef
struct
_IMAGE_FUNCTION_ENTRY
{
...
...
tools/winapi/tests.dat
View file @
6b1e8328
...
...
@@ -656,7 +656,7 @@ EXECUTION_STATE
FARPROC
FLOAT
FLOATING_SAVE_AREA
!
FPO_DATA
FPO_DATA
GENERIC_MAPPING
GLOBALHANDLE
HALF_PTR
...
...
@@ -759,7 +759,7 @@ PCWSTR
PEXCEPTION_POINTERS
PEXCEPTION_RECORD
PFLOATING_SAVE_AREA
!
PFPO_DATA
PFPO_DATA
PGENERIC_MAPPING
PHANDLE
PIMAGE_ARCHIVE_MEMBER_HEADER
...
...
@@ -1001,7 +1001,6 @@ LPSHDESCRIPTIONID
!LPSHELLEXECUTEINFOW
LPSHELLFLAGSTATE
LPSHELLSTATE
!LPSHELLVIEWDATA
LPSHFILEOPSTRUCTA
LPSHFILEOPSTRUCTW
LPSHITEMID
...
...
@@ -1031,9 +1030,7 @@ SHDESCRIPTIONID
!SHELLEXECUTEINFOW
SHELLFLAGSTATE
SHELLSTATE
!SHELLVIEWDATA
SHELLVIEWID
SHELLVIEWPROC
SHFILEINFOA
SHFILEINFOW
SHFILEOPSTRUCTA
...
...
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