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
54300e59
Commit
54300e59
authored
Jan 09, 2001
by
François Gouget
Committed by
Alexandre Julliard
Jan 09, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move HDWP to winuser.h.
Convert HWINSTA to STRICT.
parent
418e27ea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
5 deletions
+17
-5
misc.c
dlls/user/misc.c
+2
-2
windef.h
include/windef.h
+1
-2
winuser.h
include/winuser.h
+13
-0
user.c
windows/user.c
+1
-1
No files found.
dlls/user/misc.c
View file @
54300e59
...
...
@@ -51,10 +51,10 @@ void WINAPI SetLastErrorEx(
* Success: Handle to window station associated with calling process
* Failure: NULL
*/
DWORD
WINAPI
GetProcessWindowStation
(
void
)
HWINSTA
WINAPI
GetProcessWindowStation
(
void
)
{
FIXME
(
"(void): stub
\n
"
);
return
1
;
return
(
HWINSTA
)
1
;
}
...
...
include/windef.h
View file @
54300e59
...
...
@@ -67,7 +67,6 @@ DECLARE_OLD_HANDLE(HBRUSH);
DECLARE_HANDLE
(
HCOLORSPACE
);
DECLARE_OLD_HANDLE
(
HDC
);
DECLARE_OLD_HANDLE
(
HDRVR
);
DECLARE_OLD_HANDLE
(
HDWP
);
DECLARE_OLD_HANDLE
(
HENHMETAFILE
);
typedef
int
HFILE
;
DECLARE_OLD_HANDLE
(
HFONT
);
...
...
@@ -91,7 +90,7 @@ DECLARE_OLD_HANDLE(HTASK);
DECLARE_OLD_HANDLE
(
HWAVE
);
DECLARE_OLD_HANDLE
(
HWAVEIN
);
DECLARE_OLD_HANDLE
(
HWAVEOUT
);
DECLARE_
OLD_
HANDLE
(
HWINSTA
);
DECLARE_HANDLE
(
HWINSTA
);
DECLARE_HANDLE
(
HDESK
);
DECLARE_OLD_HANDLE
(
HWND
);
DECLARE_OLD_HANDLE
(
HKL
);
...
...
include/winuser.h
View file @
54300e59
...
...
@@ -63,6 +63,9 @@ DECL_WINELIB_TYPE_AW(PROPENUMPROCEX)
DECL_WINELIB_TYPE_AW
(
WINSTAENUMPROC
)
typedef
HANDLE
HDWP
;
/* flags for HIGHCONTRAST dwFlags field */
#define HCF_HIGHCONTRASTON 0x00000001
#define HCF_AVAILABLE 0x00000002
...
...
@@ -3133,6 +3136,9 @@ HACCEL WINAPI CreateAcceleratorTableW(LPACCEL,INT);
#define CreateAcceleratorTable WINELIB_NAME_AW(CreateAcceleratorTable)
HICON
WINAPI
CreateIconIndirect
(
PICONINFO
);
BOOL
WINAPI
DestroyAcceleratorTable
(
HACCEL
);
BOOL
WINAPI
EnumDesktopsA
(
HWINSTA
,
DESKTOPENUMPROCA
,
LPARAM
);
BOOL
WINAPI
EnumDesktopsW
(
HWINSTA
,
DESKTOPENUMPROCW
,
LPARAM
);
#define EnumDesktops WINELIB_NAME_AW(EnumDesktops)
BOOL
WINAPI
EnumDisplayMonitors
(
HDC
,
LPRECT
,
MONITORENUMPROC
,
LPARAM
);
BOOL
WINAPI
EnumDisplayDevicesA
(
LPVOID
,
DWORD
,
LPDISPLAY_DEVICEA
,
DWORD
);
BOOL
WINAPI
EnumDisplayDevicesW
(
LPVOID
,
DWORD
,
LPDISPLAY_DEVICEW
,
DWORD
);
...
...
@@ -3441,6 +3447,9 @@ INT WINAPI EnumPropsA(HWND,PROPENUMPROCA);
INT
WINAPI
EnumPropsW
(
HWND
,
PROPENUMPROCW
);
#define EnumProps WINELIB_NAME_AW(EnumProps)
BOOL
WINAPI
EnumWindows
(
WNDENUMPROC
,
LPARAM
);
BOOL
WINAPI
EnumWindowStationsA
(
WINSTAENUMPROCA
,
LPARAM
);
BOOL
WINAPI
EnumWindowStationsW
(
WINSTAENUMPROCW
,
LPARAM
);
#define EnumWindowStations WINELIB_NAME_AW(EnumWindowStations)
BOOL
WINAPI
EqualRect
(
const
RECT
*
,
const
RECT
*
);
BOOL
WINAPI
EscapeCommFunction
(
HANDLE
,
UINT
);
INT
WINAPI
ExcludeUpdateRgn
(
HDC
,
HWND
);
...
...
@@ -3556,6 +3565,7 @@ LONG WINAPI GetWindowLongW(HWND,INT);
BOOL
WINAPI
GetWindowPlacement
(
HWND
,
LPWINDOWPLACEMENT
);
BOOL
WINAPI
GetWindowRect
(
HWND
,
LPRECT
);
INT
WINAPI
GetWindowRgn
(
HWND
,
HRGN
);
HWINSTA
WINAPI
GetProcessWindowStation
(
void
);
#define GetWindowTask(hwnd) ((HTASK)GetWindowThreadProcessId(hwnd,NULL))
INT
WINAPI
GetWindowTextA
(
HWND
,
LPSTR
,
INT
);
INT
WINAPI
GetWindowTextW
(
HWND
,
LPWSTR
,
INT
);
...
...
@@ -3668,6 +3678,9 @@ BOOL WINAPI OemToCharBuffW(LPCSTR,LPWSTR,DWORD);
BOOL
WINAPI
OffsetRect
(
LPRECT
,
INT
,
INT
);
BOOL
WINAPI
OpenClipboard
(
HWND
);
BOOL
WINAPI
OpenIcon
(
HWND
);
HWINSTA
WINAPI
OpenWindowStationA
(
LPSTR
,
BOOL
,
ACCESS_MASK
);
HWINSTA
WINAPI
OpenWindowStationW
(
LPWSTR
,
BOOL
,
ACCESS_MASK
);
#define OpenWindowStation WINELIB_NAME_AW(OpenWindowStation)
BOOL
WINAPI
PeekMessageA
(
LPMSG
,
HWND
,
UINT
,
UINT
,
UINT
);
BOOL
WINAPI
PeekMessageW
(
LPMSG
,
HWND
,
UINT
,
UINT
,
UINT
);
#define PeekMessage WINELIB_NAME_AW(PeekMessage)
...
...
windows/user.c
View file @
54300e59
...
...
@@ -537,7 +537,7 @@ HWINSTA WINAPI CreateWindowStationW(
FIXME_
(
win32
)(
"(%s,0x%08lx,0x%08lx,%p),stub!
\n
"
,
debugstr_w
(
winstation
),
res1
,
desiredaccess
,
lpsa
);
return
0xdeadcafe
;
return
(
HWINSTA
)
0xdeadcafe
;
}
/***********************************************************************
...
...
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