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
8a2cdd7a
Commit
8a2cdd7a
authored
Feb 01, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 02, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/filtergraph: Implement the IDispatch methods for IMediaPosition.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e68a1009
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
13 deletions
+36
-13
filtergraph.c
dlls/quartz/filtergraph.c
+36
-13
No files found.
dlls/quartz/filtergraph.c
View file @
8a2cdd7a
...
...
@@ -2543,29 +2543,52 @@ static ULONG WINAPI MediaPosition_Release(IMediaPosition *iface)
return
IUnknown_Release
(
graph
->
outer_unk
);
}
/*** IDispatch methods ***/
static
HRESULT
WINAPI
MediaPosition_GetTypeInfoCount
(
IMediaPosition
*
iface
,
UINT
*
pctinfo
)
static
HRESULT
WINAPI
MediaPosition_GetTypeInfoCount
(
IMediaPosition
*
iface
,
UINT
*
count
)
{
FIXME
(
"(%p) stub!
\n
"
,
iface
);
return
E_NOTIMPL
;
TRACE
(
"iface %p, count %p.
\n
"
,
iface
,
count
);
*
count
=
1
;
return
S_OK
;
}
static
HRESULT
WINAPI
MediaPosition_GetTypeInfo
(
IMediaPosition
*
iface
,
UINT
iTInfo
,
LCID
lcid
,
ITypeInfo
**
ppTInfo
)
static
HRESULT
WINAPI
MediaPosition_GetTypeInfo
(
IMediaPosition
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
typeinfo
)
{
FIXME
(
"(%p) stub!
\n
"
,
iface
);
return
E_NOTIMPL
;
TRACE
(
"iface %p, index %u, lcid %#x, typeinfo %p.
\n
"
,
iface
,
index
,
lcid
,
typeinfo
);
return
strmbase_get_typeinfo
(
IMediaPosition_tid
,
typeinfo
)
;
}
static
HRESULT
WINAPI
MediaPosition_GetIDsOfNames
(
IMediaPosition
*
iface
,
REFIID
riid
,
LPOLESTR
*
rgszNames
,
UINT
cNames
,
LCID
lcid
,
DISPID
*
rgDispId
)
static
HRESULT
WINAPI
MediaPosition_GetIDsOfNames
(
IMediaPosition
*
iface
,
REFIID
iid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
ids
)
{
FIXME
(
"(%p) stub!
\n
"
,
iface
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"iface %p, iid %s, names %p, count %u, lcid %#x, ids %p.
\n
"
,
iface
,
debugstr_guid
(
iid
),
names
,
count
,
lcid
,
ids
);
if
(
SUCCEEDED
(
hr
=
strmbase_get_typeinfo
(
IMediaPosition_tid
,
&
typeinfo
)))
{
hr
=
ITypeInfo_GetIDsOfNames
(
typeinfo
,
names
,
count
,
ids
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
WINAPI
MediaPosition_Invoke
(
IMediaPosition
*
iface
,
DISPID
dispIdMember
,
REFIID
riid
,
LCID
lcid
,
WORD
wFlags
,
DISPPARAMS
*
pDispParams
,
VARIANT
*
pVarResult
,
EXCEPINFO
*
pExcepInfo
,
UINT
*
puArgErr
)
static
HRESULT
WINAPI
MediaPosition_Invoke
(
IMediaPosition
*
iface
,
DISPID
id
,
REFIID
iid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
error_arg
)
{
FIXME
(
"(%p) stub!
\n
"
,
iface
);
return
E_NOTIMPL
;
ITypeInfo
*
typeinfo
;
HRESULT
hr
;
TRACE
(
"iface %p, id %d, iid %s, lcid %#x, flags %#x, params %p, result %p, excepinfo %p, error_arg %p.
\n
"
,
iface
,
id
,
debugstr_guid
(
iid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
error_arg
);
if
(
SUCCEEDED
(
hr
=
strmbase_get_typeinfo
(
IMediaPosition_tid
,
&
typeinfo
)))
{
hr
=
ITypeInfo_Invoke
(
typeinfo
,
iface
,
id
,
flags
,
params
,
result
,
excepinfo
,
error_arg
);
ITypeInfo_Release
(
typeinfo
);
}
return
hr
;
}
static
HRESULT
ConvertFromREFTIME
(
IMediaSeeking
*
seek
,
REFTIME
time_in
,
LONGLONG
*
time_out
)
...
...
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