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
4a46348a
Commit
4a46348a
authored
Jan 21, 2003
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed MONITORINFOEXA,W definition to the one in MSDN which does not
cause gcc 3.3 warnings.
parent
d5d22367
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
26 deletions
+10
-26
generated.c
dlls/user/tests/generated.c
+0
-8
winuser.h
include/winuser.h
+10
-18
No files found.
dlls/user/tests/generated.c
View file @
4a46348a
...
...
@@ -1315,14 +1315,10 @@ static void test_pack_MONITORINFOEXA(void)
{
/* MONITORINFOEXA (pack 4) */
TEST_TYPE
(
MONITORINFOEXA
,
72
,
4
);
#ifdef NONAMELESSSTRUCT
TEST_FIELD
(
MONITORINFOEXA
,
MONITORINFO
,
DUMMYSTRUCTNAME
,
0
,
40
,
4
);
#else
TEST_FIELD
(
MONITORINFOEXA
,
DWORD
,
cbSize
,
0
,
4
,
4
);
TEST_FIELD
(
MONITORINFOEXA
,
RECT
,
rcMonitor
,
4
,
16
,
4
);
TEST_FIELD
(
MONITORINFOEXA
,
RECT
,
rcWork
,
20
,
16
,
4
);
TEST_FIELD
(
MONITORINFOEXA
,
DWORD
,
dwFlags
,
36
,
4
,
4
);
#endif
TEST_FIELD
(
MONITORINFOEXA
,
CHAR
[
CCHDEVICENAME
],
szDevice
,
40
,
32
,
1
);
}
...
...
@@ -1330,14 +1326,10 @@ static void test_pack_MONITORINFOEXW(void)
{
/* MONITORINFOEXW (pack 4) */
TEST_TYPE
(
MONITORINFOEXW
,
104
,
4
);
#ifdef NONAMELESSSTRUCT
TEST_FIELD
(
MONITORINFOEXW
,
MONITORINFO
,
DUMMYSTRUCTNAME
,
0
,
40
,
4
);
#else
TEST_FIELD
(
MONITORINFOEXW
,
DWORD
,
cbSize
,
0
,
4
,
4
);
TEST_FIELD
(
MONITORINFOEXW
,
RECT
,
rcMonitor
,
4
,
16
,
4
);
TEST_FIELD
(
MONITORINFOEXW
,
RECT
,
rcWork
,
20
,
16
,
4
);
TEST_FIELD
(
MONITORINFOEXW
,
DWORD
,
dwFlags
,
36
,
4
,
4
);
#endif
TEST_FIELD
(
MONITORINFOEXW
,
WCHAR
[
CCHDEVICENAME
],
szDevice
,
40
,
64
,
2
);
}
...
...
include/winuser.h
View file @
4a46348a
...
...
@@ -2385,31 +2385,23 @@ typedef struct tagMONITORINFO
DWORD
dwFlags
;
}
MONITORINFO
,
*
LPMONITORINFO
;
#ifdef __cplusplus
typedef
struct
tagMONITORINFOEXA
:
public
tagMONITORINFO
{
CHAR
szDevice
[
CCHDEVICENAME
];
}
MONITORINFOEXA
,
*
LPMONITORINFOEXA
;
#else
typedef
struct
tagMONITORINFOEXA
{
MONITORINFO
DUMMYSTRUCTNAME
;
{
/* the 4 first entries are the same as MONITORINFO */
DWORD
cbSize
;
RECT
rcMonitor
;
RECT
rcWork
;
DWORD
dwFlags
;
CHAR
szDevice
[
CCHDEVICENAME
];
}
MONITORINFOEXA
,
*
LPMONITORINFOEXA
;
#endif
#ifdef __cplusplus
typedef
struct
tagMONITORINFOEXW
:
public
tagMONITORINFO
{
WCHAR
szDevice
[
CCHDEVICENAME
];
}
MONITORINFOEXW
,
*
LPMONITORINFOEXW
;
#else
typedef
struct
tagMONITORINFOEXW
{
MONITORINFO
DUMMYSTRUCTNAME
;
{
/* the 4 first entries are the same as MONITORINFO */
DWORD
cbSize
;
RECT
rcMonitor
;
RECT
rcWork
;
DWORD
dwFlags
;
WCHAR
szDevice
[
CCHDEVICENAME
];
}
MONITORINFOEXW
,
*
LPMONITORINFOEXW
;
#endif
DECL_WINELIB_TYPE_AW
(
MONITORINFOEX
)
DECL_WINELIB_TYPE_AW
(
LPMONITORINFOEX
)
...
...
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