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
3cde722e
Commit
3cde722e
authored
Feb 09, 2016
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Implement object type for registry keys.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eb662108
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
registry.c
server/registry.c
+9
-1
No files found.
server/registry.c
View file @
3cde722e
...
...
@@ -146,6 +146,7 @@ struct file_load_info
static
void
key_dump
(
struct
object
*
obj
,
int
verbose
);
static
struct
object_type
*
key_get_type
(
struct
object
*
obj
);
static
unsigned
int
key_map_access
(
struct
object
*
obj
,
unsigned
int
access
);
static
struct
security_descriptor
*
key_get_sd
(
struct
object
*
obj
);
static
int
key_close_handle
(
struct
object
*
obj
,
struct
process
*
process
,
obj_handle_t
handle
);
...
...
@@ -155,7 +156,7 @@ static const struct object_ops key_ops =
{
sizeof
(
struct
key
),
/* size */
key_dump
,
/* dump */
no_get_type
,
/* get_type */
key_get_type
,
/* get_type */
no_add_queue
,
/* add_queue */
NULL
,
/* remove_queue */
NULL
,
/* signaled */
...
...
@@ -302,6 +303,13 @@ static void key_dump( struct object *obj, int verbose )
fprintf
(
stderr
,
"
\n
"
);
}
static
struct
object_type
*
key_get_type
(
struct
object
*
obj
)
{
static
const
WCHAR
name
[]
=
{
'K'
,
'e'
,
'y'
};
static
const
struct
unicode_str
str
=
{
name
,
sizeof
(
name
)
};
return
get_object_type
(
&
str
);
}
/* notify waiter and maybe delete the notification */
static
void
do_notification
(
struct
key
*
key
,
struct
notify
*
notify
,
int
del
)
{
...
...
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