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
136312e2
Commit
136312e2
authored
Apr 30, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf: Add MFEnumDeviceSources() stub.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ec991fbf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
main.c
dlls/mf/main.c
+15
-0
mf.spec
dlls/mf/mf.spec
+1
-1
mfidl.idl
include/mfidl.idl
+1
-0
No files found.
dlls/mf/main.c
View file @
136312e2
...
...
@@ -328,3 +328,18 @@ HRESULT WINAPI MFShutdownObject(IUnknown *object)
return
S_OK
;
}
/***********************************************************************
* MFEnumDeviceSources (mf.@)
*/
HRESULT
WINAPI
MFEnumDeviceSources
(
IMFAttributes
*
attributes
,
IMFActivate
***
sources
,
UINT32
*
count
)
{
FIXME
(
"%p, %p, %p.
\n
"
,
attributes
,
sources
,
count
);
if
(
!
attributes
||
!
sources
||
!
count
)
return
E_INVALIDARG
;
*
count
=
0
;
return
S_OK
;
}
dlls/mf/mf.spec
View file @
136312e2
...
...
@@ -70,7 +70,7 @@
@ stub MFCreateVideoRendererActivate
@ stub MFCreateWMAEncoderActivate
@ stub MFCreateWMVEncoderActivate
@ st
ub MFEnumDeviceSources
@ st
dcall MFEnumDeviceSources(ptr ptr ptr)
@ stub MFGetMultipleServiceProviders
@ stdcall MFGetService(ptr ptr ptr ptr)
@ stdcall MFGetSupportedMimeTypes(ptr)
...
...
include/mfidl.idl
View file @
136312e2
...
...
@@ -480,6 +480,7 @@ cpp_quote("HRESULT WINAPI MFCreateSystemTimeSource(IMFPresentationTimeSource **t
cpp_quote
(
"HRESULT WINAPI MFCreateTopology(IMFTopology **topology);"
)
cpp_quote
(
"HRESULT WINAPI MFCreateTopologyNode(MF_TOPOLOGY_TYPE node_type, IMFTopologyNode **node);"
)
cpp_quote
(
"HRESULT WINAPI MFCreateTopoLoader(IMFTopoLoader **loader);"
)
cpp_quote
(
"HRESULT WINAPI MFEnumDeviceSources(IMFAttributes *attributes, IMFActivate ***sources, UINT32 *count);"
)
cpp_quote
(
"HRESULT WINAPI MFGetSupportedMimeTypes(PROPVARIANT *array);"
)
cpp_quote
(
"HRESULT WINAPI MFGetService(IUnknown *object, REFGUID service, REFIID iid, void **obj);"
)
cpp_quote
(
"MFTIME WINAPI MFGetSystemTime(void);"
)
...
...
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