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
e071a70b
Commit
e071a70b
authored
May 25, 2023
by
Shaun Ren
Committed by
Alexandre Julliard
Jun 02, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sapi: Implement ISpObjectToken::CreateKey.
parent
75de502b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
token.c
dlls/sapi/tests/token.c
+4
-0
token.c
dlls/sapi/token.c
+5
-2
No files found.
dlls/sapi/tests/token.c
View file @
e071a70b
...
...
@@ -513,6 +513,10 @@ static void test_object_token(void)
hr
=
ISpObjectToken_SetId
(
token
,
NULL
,
test_token_id
,
TRUE
);
ok
(
hr
==
S_OK
,
"got %08lx
\n
"
,
hr
);
hr
=
ISpObjectToken_CreateKey
(
token
,
L"Attributes"
,
&
sub_key
);
ok
(
hr
==
S_OK
,
"got %08lx
\n
"
,
hr
);
ISpDataKey_Release
(
sub_key
);
hr
=
ISpObjectToken_SetStringValue
(
token
,
L"CLSID"
,
TESTCLASS_CLSID
);
ok
(
hr
==
S_OK
,
"got %08lx
\n
"
,
hr
);
...
...
dlls/sapi/token.c
View file @
e071a70b
...
...
@@ -1117,8 +1117,11 @@ static HRESULT WINAPI token_OpenKey( ISpObjectToken *iface,
static
HRESULT
WINAPI
token_CreateKey
(
ISpObjectToken
*
iface
,
LPCWSTR
name
,
ISpDataKey
**
sub_key
)
{
FIXME
(
"stub
\n
"
);
return
E_NOTIMPL
;
struct
object_token
*
This
=
impl_from_ISpObjectToken
(
iface
);
TRACE
(
"%p, %s, %p
\n
"
,
iface
,
debugstr_w
(
name
),
sub_key
);
return
ISpRegDataKey_CreateKey
(
This
->
data_key
,
name
,
sub_key
);
}
static
HRESULT
WINAPI
token_DeleteKey
(
ISpObjectToken
*
iface
,
...
...
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