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
81069001
Commit
81069001
authored
Apr 15, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Make enum_winstations enumerate all the window stations with WINSTA_ENUMERATE right.
parent
fa7f1656
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
winstation.c
server/winstation.c
+8
-8
No files found.
server/winstation.c
View file @
81069001
...
...
@@ -37,6 +37,7 @@
#include "process.h"
#include "user.h"
#include "file.h"
#include "security.h"
#include "wine/unicode.h"
...
...
@@ -636,16 +637,15 @@ DECL_HANDLER(set_user_object_info)
/* enumerate window stations */
DECL_HANDLER
(
enum_winstation
)
{
unsigned
int
index
=
req
->
index
;
obj_handle_t
handle
;
struct
object
*
obj
;
unsigned
int
index
=
0
;
struct
winstation
*
winsta
;
while
((
handle
=
enumerate_handles
(
current
->
process
,
&
winstation_ops
,
&
index
))
)
LIST_FOR_EACH_ENTRY
(
winsta
,
&
winstation_list
,
struct
winstation
,
entry
)
{
if
(
!
(
obj
=
get_handle_obj
(
current
->
process
,
handle
,
WINSTA_ENUMERATE
,
&
winstation_ops
)))
continue
;
set_reply_data_obj_name
(
obj
)
;
release_object
(
obj
);
unsigned
int
access
=
WINSTA_ENUMERATE
;
if
(
req
->
index
>
index
++
)
continue
;
if
(
!
check_object_access
(
&
winsta
->
obj
,
&
access
))
continue
;
set_reply_data_obj_name
(
&
winsta
->
obj
);
clear_error
();
reply
->
next
=
index
;
return
;
...
...
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