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
e0d51609
Commit
e0d51609
authored
Nov 09, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 09, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Notify parent key when subkey is created.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
deba2faf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
reg.c
dlls/ntdll/tests/reg.c
+1
-1
registry.c
server/registry.c
+1
-0
No files found.
dlls/ntdll/tests/reg.c
View file @
e0d51609
...
...
@@ -1538,7 +1538,7 @@ static void test_notify(void)
ok
(
status
==
STATUS_SUCCESS
,
"NtCreateKey failed: 0x%08x
\n
"
,
status
);
status
=
pNtWaitForSingleObject
(
event
,
FALSE
,
&
timeout
);
todo_wine
ok
(
status
==
STATUS_SUCCESS
,
"NtWaitForSingleObject returned %x
\n
"
,
status
);
ok
(
status
==
STATUS_SUCCESS
,
"NtWaitForSingleObject returned %x
\n
"
,
status
);
status
=
pNtDeleteKey
(
subkey
);
ok
(
status
==
STATUS_SUCCESS
,
"NtDeleteSubkey failed: %x
\n
"
,
status
);
...
...
server/registry.c
View file @
e0d51609
...
...
@@ -814,6 +814,7 @@ static struct key *create_key( struct key *key, const struct unicode_str *name,
free
(
key
->
class
);
if
(
!
(
key
->
class
=
memdup
(
class
->
str
,
key
->
classlen
)))
key
->
classlen
=
0
;
}
touch_key
(
key
->
parent
,
REG_NOTIFY_CHANGE_NAME
);
grab_object
(
key
);
return
key
;
}
...
...
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