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
c7a4b062
Commit
c7a4b062
authored
Feb 19, 2016
by
Austin English
Committed by
Alexandre Julliard
Feb 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add DisplayConfigGetDeviceInfo stub.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c2628416
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
0 deletions
+30
-0
sysparams.c
dlls/user32/sysparams.c
+9
-0
user32.spec
dlls/user32/user32.spec
+1
-0
wingdi.h
include/wingdi.h
+19
-0
winuser.h
include/winuser.h
+1
-0
No files found.
dlls/user32/sysparams.c
View file @
c7a4b062
...
@@ -2817,6 +2817,15 @@ LONG WINAPI ChangeDisplaySettingsExW( LPCWSTR devname, LPDEVMODEW devmode, HWND
...
@@ -2817,6 +2817,15 @@ LONG WINAPI ChangeDisplaySettingsExW( LPCWSTR devname, LPDEVMODEW devmode, HWND
/***********************************************************************
/***********************************************************************
* DisplayConfigGetDeviceInfo (USER32.@)
*/
LONG
WINAPI
DisplayConfigGetDeviceInfo
(
DISPLAYCONFIG_DEVICE_INFO_HEADER
*
packet
)
{
FIXME
(
"stub: %p
\n
"
,
packet
);
return
ERROR_NOT_SUPPORTED
;
}
/***********************************************************************
* EnumDisplaySettingsW (USER32.@)
* EnumDisplaySettingsW (USER32.@)
*
*
* RETURNS
* RETURNS
...
...
dlls/user32/user32.spec
View file @
c7a4b062
...
@@ -168,6 +168,7 @@
...
@@ -168,6 +168,7 @@
@ stdcall DisableProcessWindowsGhosting()
@ stdcall DisableProcessWindowsGhosting()
@ stdcall DispatchMessageA(ptr)
@ stdcall DispatchMessageA(ptr)
@ stdcall DispatchMessageW(ptr)
@ stdcall DispatchMessageW(ptr)
@ stdcall DisplayConfigGetDeviceInfo(ptr)
# @ stub DisplayExitWindowsWarnings
# @ stub DisplayExitWindowsWarnings
@ stdcall DlgDirListA(long str long long long)
@ stdcall DlgDirListA(long str long long long)
@ stdcall DlgDirListComboBoxA(long ptr long long long)
@ stdcall DlgDirListComboBoxA(long ptr long long long)
...
...
include/wingdi.h
View file @
c7a4b062
...
@@ -3278,6 +3278,25 @@ typedef struct _RGNDATA {
...
@@ -3278,6 +3278,25 @@ typedef struct _RGNDATA {
typedef
BOOL
(
CALLBACK
*
ABORTPROC
)(
HDC
,
INT
);
typedef
BOOL
(
CALLBACK
*
ABORTPROC
)(
HDC
,
INT
);
typedef
enum
{
DISPLAYCONFIG_DEVICE_INFO_GET_SOURCE_NAME
=
1
,
DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_NAME
=
2
,
DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_PREFERRED_MODE
=
3
,
DISPLAYCONFIG_DEVICE_INFO_GET_ADAPTER_NAME
=
4
,
DISPLAYCONFIG_DEVICE_INFO_SET_TARGET_PERSISTENCE
=
5
,
DISPLAYCONFIG_DEVICE_INFO_GET_TARGET_BASE_TYPE
=
6
,
DISPLAYCONFIG_DEVICE_INFO_GET_SUPPORT_VIRTUAL_RESOLUTION
=
7
,
DISPLAYCONFIG_DEVICE_INFO_SET_SUPPORT_VIRTUAL_RESOLUTION
=
8
,
DISPLAYCONFIG_DEVICE_INFO_FORCE_UINT32
=
0xffffffff
}
DISPLAYCONFIG_DEVICE_INFO_TYPE
;
typedef
struct
DISPLAYCONFIG_DEVICE_INFO_HEADER
{
DISPLAYCONFIG_DEVICE_INFO_TYPE
type
;
UINT32
size
;
LUID
adapterId
;
UINT32
id
;
}
DISPLAYCONFIG_DEVICE_INFO_HEADER
;
typedef
struct
{
typedef
struct
{
DWORD
cb
;
DWORD
cb
;
CHAR
DeviceName
[
32
];
CHAR
DeviceName
[
32
];
...
...
include/winuser.h
View file @
c7a4b062
...
@@ -3285,6 +3285,7 @@ WINUSERAPI LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,D
...
@@ -3285,6 +3285,7 @@ WINUSERAPI LONG WINAPI ChangeDisplaySettingsExW(LPCWSTR,LPDEVMODEW,HWND,D
WINUSERAPI
HDESK
WINAPI
CreateDesktopA
(
LPCSTR
,
LPCSTR
,
LPDEVMODEA
,
DWORD
,
ACCESS_MASK
,
LPSECURITY_ATTRIBUTES
);
WINUSERAPI
HDESK
WINAPI
CreateDesktopA
(
LPCSTR
,
LPCSTR
,
LPDEVMODEA
,
DWORD
,
ACCESS_MASK
,
LPSECURITY_ATTRIBUTES
);
WINUSERAPI
HDESK
WINAPI
CreateDesktopW
(
LPCWSTR
,
LPCWSTR
,
LPDEVMODEW
,
DWORD
,
ACCESS_MASK
,
LPSECURITY_ATTRIBUTES
);
WINUSERAPI
HDESK
WINAPI
CreateDesktopW
(
LPCWSTR
,
LPCWSTR
,
LPDEVMODEW
,
DWORD
,
ACCESS_MASK
,
LPSECURITY_ATTRIBUTES
);
#define CreateDesktop WINELIB_NAME_AW(CreateDesktop)
#define CreateDesktop WINELIB_NAME_AW(CreateDesktop)
WINUSERAPI
LONG
WINAPI
DisplayConfigGetDeviceInfo
(
DISPLAYCONFIG_DEVICE_INFO_HEADER
*
);
WINUSERAPI
BOOL
WINAPI
EnumDisplayDevicesA
(
LPCSTR
,
DWORD
,
LPDISPLAY_DEVICEA
,
DWORD
);
WINUSERAPI
BOOL
WINAPI
EnumDisplayDevicesA
(
LPCSTR
,
DWORD
,
LPDISPLAY_DEVICEA
,
DWORD
);
WINUSERAPI
BOOL
WINAPI
EnumDisplayDevicesW
(
LPCWSTR
,
DWORD
,
LPDISPLAY_DEVICEW
,
DWORD
);
WINUSERAPI
BOOL
WINAPI
EnumDisplayDevicesW
(
LPCWSTR
,
DWORD
,
LPDISPLAY_DEVICEW
,
DWORD
);
#define EnumDisplayDevices WINELIB_NAME_AW(EnumDisplayDevices)
#define EnumDisplayDevices WINELIB_NAME_AW(EnumDisplayDevices)
...
...
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