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
8388f675
Commit
8388f675
authored
Sep 19, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Sep 19, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stub implementation for EnumDisplayDevices*.
parent
eb71e504
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
65 additions
and
2 deletions
+65
-2
wingdi.h
include/wingdi.h
+24
-0
winuser.h
include/winuser.h
+3
-0
user32.spec
relay32/user32.spec
+2
-2
user.c
windows/user.c
+36
-0
No files found.
include/wingdi.h
View file @
8388f675
...
@@ -2993,6 +2993,30 @@ typedef struct _RGNDATA {
...
@@ -2993,6 +2993,30 @@ typedef struct _RGNDATA {
typedef
BOOL
(
CALLBACK
*
ABORTPROC
)(
HDC
,
INT
);
typedef
BOOL
(
CALLBACK
*
ABORTPROC
)(
HDC
,
INT
);
typedef
struct
{
DWORD
cb
;
BYTE
DeviceName
[
32
];
BYTE
DeviceString
[
128
];
DWORD
StateFlags
;
}
DISPLAY_DEVICEA
,
*
PDISPLAY_DEVICEA
,
*
LPDISPLAY_DEVICEA
;
typedef
struct
{
DWORD
cb
;
WCHAR
DeviceName
[
32
];
WCHAR
DeviceString
[
128
];
DWORD
StateFlags
;
}
DISPLAY_DEVICEW
,
*
PDISPLAY_DEVICEW
,
*
LPDISPLAY_DEVICEW
;
DECL_WINELIB_TYPE_AW
(
DISPLAY_DEVICE
);
DECL_WINELIB_TYPE_AW
(
PDISPLAY_DEVICE
);
DECL_WINELIB_TYPE_AW
(
LPDISPLAY_DEVICE
);
/* DISPLAY_DEVICE.StateFlags (?)*/
#define DISPLAY_DEVICE_ATTACHED_TO_DESKTOP 0x00000001
#define DISPLAY_DEVICE_MULTI_DRIVER 0x00000002
#define DISPLAY_DEVICE_PRIMARY_DEVICE 0x00000004
#define DISPLAY_DEVICE_MIRRORING_DRIVER 0x00000008
#define DISPLAY_DEVICE_VGA_COMPATIBLE 0x00000010
#include "poppack.h"
#include "poppack.h"
INT
WINAPI
AbortDoc
(
HDC
);
INT
WINAPI
AbortDoc
(
HDC
);
...
...
include/winuser.h
View file @
8388f675
...
@@ -2898,6 +2898,9 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL,INT);
...
@@ -2898,6 +2898,9 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL,INT);
HICON
WINAPI
CreateIconIndirect
(
LPICONINFO
);
HICON
WINAPI
CreateIconIndirect
(
LPICONINFO
);
BOOL
WINAPI
DestroyAcceleratorTable
(
HACCEL
);
BOOL
WINAPI
DestroyAcceleratorTable
(
HACCEL
);
BOOL
WINAPI
EnumDisplayMonitors
(
HDC
,
LPRECT
,
MONITORENUMPROC
,
LPARAM
);
BOOL
WINAPI
EnumDisplayMonitors
(
HDC
,
LPRECT
,
MONITORENUMPROC
,
LPARAM
);
BOOL
WINAPI
EnumDisplayDevicesA
(
LPVOID
,
DWORD
,
LPDISPLAY_DEVICEA
,
DWORD
);
BOOL
WINAPI
EnumDisplayDevicesW
(
LPVOID
,
DWORD
,
LPDISPLAY_DEVICEW
,
DWORD
);
#define EnumDisplayDevices WINELIB_NAME_AW(EnumDisplayDevices)
INT
WINAPI
EnumPropsExA
(
HWND
,
PROPENUMPROCEXA
,
LPARAM
);
INT
WINAPI
EnumPropsExA
(
HWND
,
PROPENUMPROCEXA
,
LPARAM
);
INT
WINAPI
EnumPropsExW
(
HWND
,
PROPENUMPROCEXW
,
LPARAM
);
INT
WINAPI
EnumPropsExW
(
HWND
,
PROPENUMPROCEXW
,
LPARAM
);
#define EnumPropsEx WINELIB_NAME_AW(EnumPropsEx)
#define EnumPropsEx WINELIB_NAME_AW(EnumPropsEx)
...
...
relay32/user32.spec
View file @
8388f675
...
@@ -185,8 +185,8 @@ init MAIN_UserInit
...
@@ -185,8 +185,8 @@ init MAIN_UserInit
181 stub EnumDesktopsW
181 stub EnumDesktopsW
182 stub EnumDisplayDeviceModesA
182 stub EnumDisplayDeviceModesA
183 stub EnumDisplayDeviceModesW
183 stub EnumDisplayDeviceModesW
184 st
ub
EnumDisplayDevicesA
184 st
dcall EnumDisplayDevicesA(ptr long ptr long)
EnumDisplayDevicesA
185 st
ub
EnumDisplayDevicesW
185 st
dcall EnumDisplayDevicesW(ptr long ptr long)
EnumDisplayDevicesW
186 stdcall EnumPropsA(long ptr) EnumPropsA
186 stdcall EnumPropsA(long ptr) EnumPropsA
187 stdcall EnumPropsExA(long ptr long) EnumPropsExA
187 stdcall EnumPropsExA(long ptr long) EnumPropsExA
188 stdcall EnumPropsExW(long ptr long) EnumPropsExW
188 stdcall EnumPropsExW(long ptr long) EnumPropsExW
...
...
windows/user.c
View file @
8388f675
...
@@ -410,6 +410,42 @@ BOOL WINAPI EnumDisplaySettingsW(LPCWSTR name,DWORD n,LPDEVMODEW devmode) {
...
@@ -410,6 +410,42 @@ BOOL WINAPI EnumDisplaySettingsW(LPCWSTR name,DWORD n,LPDEVMODEW devmode) {
}
}
/***********************************************************************
/***********************************************************************
* EnumDisplayDevicesA (USER32.184)
*/
BOOL
WINAPI
EnumDisplayDevicesA
(
LPVOID
unused
,
DWORD
i
,
LPDISPLAY_DEVICEA
lpDisplayDevice
,
DWORD
dwFlags
)
{
if
(
i
)
return
FALSE
;
FIXME_
(
system
)(
"(%p,%ld,%p,0x%08lx), stub!
\n
"
,
unused
,
i
,
lpDisplayDevice
,
dwFlags
);
strcpy
(
lpDisplayDevice
->
DeviceName
,
"X11"
);
strcpy
(
lpDisplayDevice
->
DeviceString
,
"X 11 Windowing System"
);
lpDisplayDevice
->
StateFlags
=
DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
|
DISPLAY_DEVICE_PRIMARY_DEVICE
|
DISPLAY_DEVICE_VGA_COMPATIBLE
;
return
TRUE
;
}
/***********************************************************************
* EnumDisplayDevicesW (USER32.185)
*/
BOOL
WINAPI
EnumDisplayDevicesW
(
LPVOID
unused
,
DWORD
i
,
LPDISPLAY_DEVICEW
lpDisplayDevice
,
DWORD
dwFlags
)
{
if
(
i
)
return
FALSE
;
FIXME_
(
system
)(
"(%p,%ld,%p,0x%08lx), stub!
\n
"
,
unused
,
i
,
lpDisplayDevice
,
dwFlags
);
lstrcpyAtoW
(
lpDisplayDevice
->
DeviceName
,
"X11"
);
lstrcpyAtoW
(
lpDisplayDevice
->
DeviceString
,
"X 11 Windowing System"
);
lpDisplayDevice
->
StateFlags
=
DISPLAY_DEVICE_ATTACHED_TO_DESKTOP
|
DISPLAY_DEVICE_PRIMARY_DEVICE
|
DISPLAY_DEVICE_VGA_COMPATIBLE
;
return
TRUE
;
}
/***********************************************************************
* SetEventHook (USER.321)
* SetEventHook (USER.321)
*
*
* Used by Turbo Debugger for Windows
* Used by Turbo Debugger for Windows
...
...
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