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
3c716499
Commit
3c716499
authored
Sep 02, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 03, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit: Use V_BSTR() to access BSTR data.
parent
12aa347e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
mediadet.c
dlls/qedit/mediadet.c
+3
-5
No files found.
dlls/qedit/mediadet.c
View file @
3c716499
...
...
@@ -357,7 +357,7 @@ static HRESULT GetFilterInfo(IMoniker *pMoniker, GUID *pclsid, VARIANT *pvar)
if
(
SUCCEEDED
(
hr
))
{
hr
=
CLSIDFromString
(
V_
UNION
(
pvar
,
bstrVal
),
pclsid
);
hr
=
CLSIDFromString
(
V_
BSTR
(
pvar
),
pclsid
);
VariantClear
(
pvar
);
V_VT
(
pvar
)
=
VT_BSTR
;
}
...
...
@@ -366,8 +366,7 @@ static HRESULT GetFilterInfo(IMoniker *pMoniker, GUID *pclsid, VARIANT *pvar)
hr
=
IPropertyBag_Read
(
pPropBagCat
,
wszFriendlyName
,
pvar
,
NULL
);
if
(
SUCCEEDED
(
hr
))
TRACE
(
"Moniker = %s - %s
\n
"
,
debugstr_guid
(
pclsid
),
debugstr_w
(
V_UNION
(
pvar
,
bstrVal
)));
TRACE
(
"Moniker = %s - %s
\n
"
,
debugstr_guid
(
pclsid
),
debugstr_w
(
V_BSTR
(
pvar
)));
if
(
pPropBagCat
)
IPropertyBag_Release
(
pPropBagCat
);
...
...
@@ -440,8 +439,7 @@ static HRESULT GetSplitter(MediaDetImpl *This)
continue
;
}
hr
=
IGraphBuilder_AddFilter
(
This
->
graph
,
splitter
,
V_UNION
(
&
var
,
bstrVal
));
hr
=
IGraphBuilder_AddFilter
(
This
->
graph
,
splitter
,
V_BSTR
(
&
var
));
VariantClear
(
&
var
);
This
->
splitter
=
splitter
;
if
(
FAILED
(
hr
))
...
...
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