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
a47bc3ab
Commit
a47bc3ab
authored
Nov 14, 1998
by
Per Ångström
Committed by
Alexandre Julliard
Nov 14, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EnumTaskWindows16: Basing the selection on a window's task is not only
more straightforward than comparing message queues, it also works better for Win32 applications.
parent
29f54417
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
win.c
windows/win.c
+2
-3
No files found.
windows/win.c
View file @
a47bc3ab
...
...
@@ -2198,10 +2198,9 @@ BOOL16 WINAPI EnumTaskWindows16( HTASK16 hTask, WNDENUMPROC16 func,
LPARAM
lParam
)
{
WND
**
list
,
**
ppWnd
;
HQUEUE16
hQueue
=
GetTaskQueue
(
hTask
);
/* This function is the same as EnumWindows(), */
/* except for an added check on the window
queue
. */
/* except for an added check on the window
's task
. */
if
(
!
(
list
=
WIN_BuildWinArray
(
pWndDesktop
,
0
,
NULL
)))
return
FALSE
;
...
...
@@ -2211,7 +2210,7 @@ BOOL16 WINAPI EnumTaskWindows16( HTASK16 hTask, WNDENUMPROC16 func,
{
/* Make sure that the window still exists */
if
(
!
IsWindow32
((
*
ppWnd
)
->
hwndSelf
))
continue
;
if
(
(
*
ppWnd
)
->
hmemTaskQ
!=
hQueue
)
continue
;
/* Check the queue */
if
(
QUEUE_GetQueueTask
((
*
ppWnd
)
->
hmemTaskQ
)
!=
hTask
)
continue
;
if
(
!
func
(
(
*
ppWnd
)
->
hwndSelf
,
lParam
))
break
;
}
HeapFree
(
SystemHeap
,
0
,
list
);
...
...
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