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
b007a98e
Commit
b007a98e
authored
Oct 13, 2015
by
Jactry Zeng
Committed by
Alexandre Julliard
Oct 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Add driver entry point for FlashWindowEx.
Signed-off-by:
Jactry Zeng
<
jzeng@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bf8103b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
0 deletions
+15
-0
driver.c
dlls/user32/driver.c
+12
-0
user_private.h
dlls/user32/user_private.h
+1
-0
win.c
dlls/user32/win.c
+2
-0
No files found.
dlls/user32/driver.c
View file @
b007a98e
...
...
@@ -134,6 +134,7 @@ static const USER_DRIVER *load_driver(void)
GET_USER_FUNC
(
CreateDesktopWindow
);
GET_USER_FUNC
(
CreateWindow
);
GET_USER_FUNC
(
DestroyWindow
);
GET_USER_FUNC
(
FlashWindowEx
);
GET_USER_FUNC
(
GetDC
);
GET_USER_FUNC
(
MsgWaitForMultipleObjectsEx
);
GET_USER_FUNC
(
ReleaseDC
);
...
...
@@ -410,6 +411,10 @@ static void CDECL nulldrv_DestroyWindow( HWND hwnd )
{
}
static
void
CDECL
nulldrv_FlashWindowEx
(
FLASHWINFO
*
info
)
{
}
static
void
CDECL
nulldrv_GetDC
(
HDC
hdc
,
HWND
hwnd
,
HWND
top_win
,
const
RECT
*
win_rect
,
const
RECT
*
top_rect
,
DWORD
flags
)
{
...
...
@@ -546,6 +551,7 @@ static USER_DRIVER null_driver =
nulldrv_CreateDesktopWindow
,
nulldrv_CreateWindow
,
nulldrv_DestroyWindow
,
nulldrv_FlashWindowEx
,
nulldrv_GetDC
,
nulldrv_MsgWaitForMultipleObjectsEx
,
nulldrv_ReleaseDC
,
...
...
@@ -733,6 +739,11 @@ static BOOL CDECL loaderdrv_CreateWindow( HWND hwnd )
return
load_driver
()
->
pCreateWindow
(
hwnd
);
}
static
void
CDECL
loaderdrv_FlashWindowEx
(
FLASHWINFO
*
info
)
{
load_driver
()
->
pFlashWindowEx
(
info
);
}
static
void
CDECL
loaderdrv_GetDC
(
HDC
hdc
,
HWND
hwnd
,
HWND
top_win
,
const
RECT
*
win_rect
,
const
RECT
*
top_rect
,
DWORD
flags
)
{
...
...
@@ -795,6 +806,7 @@ static USER_DRIVER lazy_load_driver =
loaderdrv_CreateDesktopWindow
,
loaderdrv_CreateWindow
,
nulldrv_DestroyWindow
,
loaderdrv_FlashWindowEx
,
loaderdrv_GetDC
,
nulldrv_MsgWaitForMultipleObjectsEx
,
nulldrv_ReleaseDC
,
...
...
dlls/user32/user_private.h
View file @
b007a98e
...
...
@@ -96,6 +96,7 @@ typedef struct tagUSER_DRIVER {
BOOL
(
CDECL
*
pCreateDesktopWindow
)(
HWND
);
BOOL
(
CDECL
*
pCreateWindow
)(
HWND
);
void
(
CDECL
*
pDestroyWindow
)(
HWND
);
void
(
CDECL
*
pFlashWindowEx
)(
FLASHWINFO
*
);
void
(
CDECL
*
pGetDC
)(
HDC
,
HWND
,
HWND
,
const
RECT
*
,
const
RECT
*
,
DWORD
);
DWORD
(
CDECL
*
pMsgWaitForMultipleObjectsEx
)(
DWORD
,
const
HANDLE
*
,
DWORD
,
DWORD
,
DWORD
);
void
(
CDECL
*
pReleaseDC
)(
HWND
,
HDC
);
...
...
dlls/user32/win.c
View file @
b007a98e
...
...
@@ -3460,6 +3460,7 @@ BOOL WINAPI FlashWindowEx( PFLASHWINFO pfinfo )
wndPtr
->
flags
&=
~
WIN_NCACTIVATED
;
}
WIN_ReleasePtr
(
wndPtr
);
USER_Driver
->
pFlashWindowEx
(
pfinfo
);
return
TRUE
;
}
else
...
...
@@ -3476,6 +3477,7 @@ BOOL WINAPI FlashWindowEx( PFLASHWINFO pfinfo )
WIN_ReleasePtr
(
wndPtr
);
SendMessageW
(
hwnd
,
WM_NCACTIVATE
,
wparam
,
0
);
USER_Driver
->
pFlashWindowEx
(
pfinfo
);
return
wparam
;
}
}
...
...
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