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
f9e2914e
Commit
f9e2914e
authored
Jun 29, 2008
by
Alexander Dorofeyev
Committed by
Alexandre Julliard
Jul 01, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Fix registry key creation.
parent
d6df8996
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
filtermapper.c
dlls/quartz/filtermapper.c
+10
-2
No files found.
dlls/quartz/filtermapper.c
View file @
f9e2914e
...
@@ -1440,8 +1440,12 @@ static HRESULT WINAPI FilterMapper_RegisterPin(
...
@@ -1440,8 +1440,12 @@ static HRESULT WINAPI FilterMapper_RegisterPin(
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
{
{
lRet
=
RegCreateKeyExW
(
hPinsKey
,
wszTypes
,
0
,
NULL
,
REG_OPTION_NON_VOLATILE
,
KEY_WRITE
,
NULL
,
NULL
,
NULL
);
HKEY
hkeyDummy
=
NULL
;
lRet
=
RegCreateKeyExW
(
hPinsKey
,
wszTypes
,
0
,
NULL
,
REG_OPTION_NON_VOLATILE
,
KEY_WRITE
,
NULL
,
&
hkeyDummy
,
NULL
);
hr
=
HRESULT_FROM_WIN32
(
lRet
);
hr
=
HRESULT_FROM_WIN32
(
lRet
);
if
(
hkeyDummy
)
RegCloseKey
(
hkeyDummy
);
}
}
CoTaskMemFree
(
wszClsid
);
CoTaskMemFree
(
wszClsid
);
...
@@ -1511,13 +1515,17 @@ static HRESULT WINAPI FilterMapper_RegisterPinType(
...
@@ -1511,13 +1515,17 @@ static HRESULT WINAPI FilterMapper_RegisterPinType(
if
(
SUCCEEDED
(
hr
))
if
(
SUCCEEDED
(
hr
))
{
{
HKEY
hkeyDummy
=
NULL
;
strcpyW
(
wszKeyName
,
wszClsidMajorType
);
strcpyW
(
wszKeyName
,
wszClsidMajorType
);
strcatW
(
wszKeyName
,
wszSlash
);
strcatW
(
wszKeyName
,
wszSlash
);
strcatW
(
wszKeyName
,
wszClsidSubType
);
strcatW
(
wszKeyName
,
wszClsidSubType
);
lRet
=
RegCreateKeyExW
(
hKey
,
wszKeyName
,
0
,
NULL
,
REG_OPTION_NON_VOLATILE
,
KEY_WRITE
,
NULL
,
NULL
,
NULL
);
lRet
=
RegCreateKeyExW
(
hKey
,
wszKeyName
,
0
,
NULL
,
REG_OPTION_NON_VOLATILE
,
KEY_WRITE
,
NULL
,
&
hkeyDummy
,
NULL
);
hr
=
HRESULT_FROM_WIN32
(
lRet
);
hr
=
HRESULT_FROM_WIN32
(
lRet
);
CloseHandle
(
hKey
);
CloseHandle
(
hKey
);
if
(
hkeyDummy
)
RegCloseKey
(
hkeyDummy
);
}
}
CoTaskMemFree
(
wszClsid
);
CoTaskMemFree
(
wszClsid
);
...
...
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