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
24021931
Commit
24021931
authored
Sep 10, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Sep 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Remove no longer used enumerate_handles().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
470b9d03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
23 deletions
+0
-23
handle.c
server/handle.c
+0
-21
handle.h
server/handle.h
+0
-2
No files found.
server/handle.c
View file @
24021931
...
...
@@ -486,27 +486,6 @@ obj_handle_t find_inherited_handle( struct process *process, const struct object
return
0
;
}
/* enumerate handles of a given type */
/* this is needed for window stations and desktops */
obj_handle_t
enumerate_handles
(
struct
process
*
process
,
const
struct
object_ops
*
ops
,
unsigned
int
*
index
)
{
struct
handle_table
*
table
=
process
->
handles
;
unsigned
int
i
;
struct
handle_entry
*
entry
;
if
(
!
table
)
return
0
;
for
(
i
=
*
index
,
entry
=
&
table
->
entries
[
i
];
i
<=
table
->
last
;
i
++
,
entry
++
)
{
if
(
!
entry
->
ptr
)
continue
;
if
(
entry
->
ptr
->
ops
!=
ops
)
continue
;
*
index
=
i
+
1
;
return
index_to_handle
(
i
);
}
return
0
;
}
/* get/set the handle reserved flags */
/* return the old flags (or -1 on error) */
static
int
set_handle_flags
(
struct
process
*
process
,
obj_handle_t
handle
,
int
mask
,
int
flags
)
...
...
server/handle.h
View file @
24021931
...
...
@@ -48,8 +48,6 @@ extern obj_handle_t open_object( struct process *process, obj_handle_t parent, u
const
struct
object_ops
*
ops
,
const
struct
unicode_str
*
name
,
unsigned
int
attr
);
extern
obj_handle_t
find_inherited_handle
(
struct
process
*
process
,
const
struct
object_ops
*
ops
);
extern
obj_handle_t
enumerate_handles
(
struct
process
*
process
,
const
struct
object_ops
*
ops
,
unsigned
int
*
index
);
extern
void
close_process_handles
(
struct
process
*
process
);
extern
struct
handle_table
*
alloc_handle_table
(
struct
process
*
process
,
int
count
);
extern
struct
handle_table
*
copy_handle_table
(
struct
process
*
process
,
struct
process
*
parent
);
...
...
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