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
b182ba88
Commit
b182ba88
authored
Jun 25, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfreadwrite: Add MFCreateSinkWriterFromURL() stub.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4c3e5312
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
main.c
dlls/mfreadwrite/main.c
+11
-0
mfreadwrite.spec
dlls/mfreadwrite/mfreadwrite.spec
+1
-1
mfreadwrite.idl
include/mfreadwrite.idl
+2
-0
No files found.
dlls/mfreadwrite/main.c
View file @
b182ba88
...
@@ -1464,6 +1464,17 @@ HRESULT WINAPI MFCreateSinkWriterFromMediaSink(IMFMediaSink *sink, IMFAttributes
...
@@ -1464,6 +1464,17 @@ HRESULT WINAPI MFCreateSinkWriterFromMediaSink(IMFMediaSink *sink, IMFAttributes
return
create_sink_writer_from_sink
(
sink
,
attributes
,
&
IID_IMFSinkWriter
,
(
void
**
)
writer
);
return
create_sink_writer_from_sink
(
sink
,
attributes
,
&
IID_IMFSinkWriter
,
(
void
**
)
writer
);
}
}
/***********************************************************************
* MFCreateSinkWriterFromURL (mfreadwrite.@)
*/
HRESULT
WINAPI
MFCreateSinkWriterFromURL
(
const
WCHAR
*
url
,
IMFByteStream
*
bytestream
,
IMFAttributes
*
attributes
,
IMFSinkWriter
**
writer
)
{
FIXME
(
"%s, %p, %p, %p.
\n
"
,
debugstr_w
(
url
),
bytestream
,
attributes
,
writer
);
return
E_NOTIMPL
;
}
static
HRESULT
create_source_reader_from_object
(
IUnknown
*
unk
,
IMFAttributes
*
attributes
,
REFIID
riid
,
void
**
out
)
static
HRESULT
create_source_reader_from_object
(
IUnknown
*
unk
,
IMFAttributes
*
attributes
,
REFIID
riid
,
void
**
out
)
{
{
IMFMediaSource
*
source
=
NULL
;
IMFMediaSource
*
source
=
NULL
;
...
...
dlls/mfreadwrite/mfreadwrite.spec
View file @
b182ba88
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
@ stdcall -private DllRegisterServer()
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
@ stdcall -private DllUnregisterServer()
@ stdcall MFCreateSinkWriterFromMediaSink(ptr ptr ptr)
@ stdcall MFCreateSinkWriterFromMediaSink(ptr ptr ptr)
@ st
ub MFCreateSinkWriterFromURL
@ st
dcall MFCreateSinkWriterFromURL(wstr ptr ptr ptr)
@ stdcall MFCreateSourceReaderFromByteStream(ptr ptr ptr)
@ stdcall MFCreateSourceReaderFromByteStream(ptr ptr ptr)
@ stdcall MFCreateSourceReaderFromMediaSource(ptr ptr ptr)
@ stdcall MFCreateSourceReaderFromMediaSource(ptr ptr ptr)
@ stdcall MFCreateSourceReaderFromURL(wstr ptr ptr)
@ stdcall MFCreateSourceReaderFromURL(wstr ptr ptr)
include/mfreadwrite.idl
View file @
b182ba88
...
@@ -185,6 +185,8 @@ interface IMFReadWriteClassFactory : IUnknown
...
@@ -185,6 +185,8 @@ interface IMFReadWriteClassFactory : IUnknown
cpp_quote
(
"HRESULT WINAPI MFCreateSinkWriterFromMediaSink(IMFMediaSink *sink, IMFAttributes *attributes,"
)
cpp_quote
(
"HRESULT WINAPI MFCreateSinkWriterFromMediaSink(IMFMediaSink *sink, IMFAttributes *attributes,"
)
cpp_quote
(
" IMFSinkWriter **writer);"
)
cpp_quote
(
" IMFSinkWriter **writer);"
)
cpp_quote
(
"HRESULT WINAPI MFCreateSinkWriterFromURL(const WCHAR *url, IMFByteStream *bytestream,"
)
cpp_quote
(
" IMFAttributes *attributes, IMFSinkWriter **writer);"
)
cpp_quote
(
"HRESULT WINAPI MFCreateSourceReaderFromByteStream(IMFByteStream *stream, IMFAttributes *attributes,"
)
cpp_quote
(
"HRESULT WINAPI MFCreateSourceReaderFromByteStream(IMFByteStream *stream, IMFAttributes *attributes,"
)
cpp_quote
(
" IMFSourceReader **reader);"
)
cpp_quote
(
" IMFSourceReader **reader);"
)
cpp_quote
(
"HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes,"
)
cpp_quote
(
"HRESULT WINAPI MFCreateSourceReaderFromMediaSource(IMFMediaSource *source, IMFAttributes *attributes,"
)
...
...
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