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
2b4377f5
Commit
2b4377f5
authored
Dec 09, 2005
by
Thomas Weidenmueller
Committed by
Alexandre Julliard
Dec 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Fix incorrect usages of the HRESULT_FROM_WIN32 macro.
parent
3c7afa61
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
25 deletions
+57
-25
filesource.c
dlls/quartz/filesource.c
+3
-1
filtermapper.c
dlls/quartz/filtermapper.c
+54
-24
No files found.
dlls/quartz/filesource.c
View file @
2b4377f5
...
...
@@ -192,6 +192,7 @@ static HRESULT process_pattern_string(LPCWSTR wszPatternString, IAsyncReader * p
static
HRESULT
GetClassMediaFile
(
IAsyncReader
*
pReader
,
LPCOLESTR
pszFileName
,
GUID
*
majorType
,
GUID
*
minorType
)
{
HKEY
hkeyMediaType
=
NULL
;
LONG
lRet
;
HRESULT
hr
=
S_OK
;
BOOL
bFound
=
FALSE
;
static
const
WCHAR
wszMediaType
[]
=
{
'M'
,
'e'
,
'd'
,
'i'
,
'a'
,
' '
,
'T'
,
'y'
,
'p'
,
'e'
,
0
};
...
...
@@ -199,7 +200,8 @@ static HRESULT GetClassMediaFile(IAsyncReader * pReader, LPCOLESTR pszFileName,
CopyMemory
(
majorType
,
&
GUID_NULL
,
sizeof
(
*
majorType
));
CopyMemory
(
minorType
,
&
GUID_NULL
,
sizeof
(
*
minorType
));
hr
=
HRESULT_FROM_WIN32
(
RegOpenKeyExW
(
HKEY_CLASSES_ROOT
,
wszMediaType
,
0
,
KEY_READ
,
&
hkeyMediaType
));
lRet
=
RegOpenKeyExW
(
HKEY_CLASSES_ROOT
,
wszMediaType
,
0
,
KEY_READ
,
&
hkeyMediaType
);
hr
=
HRESULT_FROM_WIN32
(
lRet
);
if
(
SUCCEEDED
(
hr
))
{
...
...
dlls/quartz/filtermapper.c
View file @
2b4377f5
This diff is collapsed.
Click to expand it.
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