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
4e795a8d
Commit
4e795a8d
authored
May 04, 2020
by
Brendan Shanks
Committed by
Alexandre Julliard
May 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Improve QueryDisplayConfig() stub.
Signed-off-by:
Brendan Shanks
<
bshanks@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
af89ccc5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
sysparams.c
dlls/user32/sysparams.c
+11
-1
monitor.c
dlls/user32/tests/monitor.c
+0
-3
No files found.
dlls/user32/sysparams.c
View file @
4e795a8d
...
...
@@ -4509,7 +4509,17 @@ LONG WINAPI QueryDisplayConfig(UINT32 flags, UINT32 *numpathelements, DISPLAYCON
DISPLAYCONFIG_TOPOLOGY_ID
*
topologyid
)
{
FIXME
(
"(%08x %p %p %p %p %p)
\n
"
,
flags
,
numpathelements
,
pathinfo
,
numinfoelements
,
modeinfo
,
topologyid
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
if
(
!
numpathelements
||
!
numinfoelements
)
return
ERROR_INVALID_PARAMETER
;
if
(
!*
numpathelements
||
!*
numinfoelements
)
return
ERROR_INVALID_PARAMETER
;
if
(
!
flags
)
return
ERROR_INVALID_PARAMETER
;
return
ERROR_NOT_SUPPORTED
;
}
/***********************************************************************
...
...
dlls/user32/tests/monitor.c
View file @
4e795a8d
...
...
@@ -1275,8 +1275,6 @@ static void test_query_display_config(void)
DISPLAYCONFIG_MODE_INFO
mi
[
20
];
LONG
ret
;
todo_wine
{
ret
=
pQueryDisplayConfig
(
QDC_ALL_PATHS
,
NULL
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
ret
==
ERROR_INVALID_PARAMETER
,
"got %d
\n
"
,
ret
);
...
...
@@ -1324,7 +1322,6 @@ static void test_query_display_config(void)
ok
(
ret
==
ERROR_INSUFFICIENT_BUFFER
||
ret
==
ERROR_NOT_SUPPORTED
,
"got %d
\n
"
,
ret
);
ok
(
paths
==
1
,
"got %u
\n
"
,
paths
);
ok
(
modes
==
1
,
"got %u
\n
"
,
modes
);
}
}
static
void
test_display_config_get_device_info
(
void
)
...
...
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