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
7381cecd
Commit
7381cecd
authored
May 31, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jun 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmvcore: Implement WMCreateWriterPriv.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
49667740
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletion
+24
-1
wmvcore.c
dlls/wmvcore/tests/wmvcore.c
+18
-0
wmvcore.spec
dlls/wmvcore/wmvcore.spec
+1
-1
writer.c
dlls/wmvcore/writer.c
+5
-0
No files found.
dlls/wmvcore/tests/wmvcore.c
View file @
7381cecd
...
...
@@ -22,6 +22,8 @@
#include "wine/test.h"
HRESULT
WINAPI
WMCreateWriterPriv
(
IWMWriter
**
writer
);
static
void
test_wmwriter_interfaces
(
void
)
{
HRESULT
hr
;
...
...
@@ -197,6 +199,21 @@ void test_profile_manager_interfaces(void)
IWMProfileManager_Release
(
profile
);
}
static
void
test_WMCreateWriterPriv
(
void
)
{
IWMWriter
*
writer
,
*
writer2
;
HRESULT
hr
;
hr
=
WMCreateWriterPriv
(
&
writer
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
hr
=
IWMWriter_QueryInterface
(
writer
,
&
IID_IWMWriter
,
(
void
**
)
&
writer2
);
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
IWMWriter_Release
(
writer
);
IWMWriter_Release
(
writer2
);
}
START_TEST
(
wmvcore
)
{
HRESULT
hr
;
...
...
@@ -209,6 +226,7 @@ START_TEST(wmvcore)
test_wmreader_interfaces
();
test_wmwriter_interfaces
();
test_profile_manager_interfaces
();
test_WMCreateWriterPriv
();
CoUninitialize
();
}
dlls/wmvcore/wmvcore.spec
View file @
7381cecd
...
...
@@ -15,6 +15,6 @@
@ stdcall WMCreateWriter(ptr ptr)
@ stub WMCreateWriterFileSink
@ stub WMCreateWriterNetworkSink
@ st
ub WMCreateWriterPriv
@ st
dcall WMCreateWriterPriv(ptr)
@ stub WMCreateWriterPushSink
@ stub WMIsContentProtected
dlls/wmvcore/writer.c
View file @
7381cecd
...
...
@@ -369,3 +369,8 @@ HRESULT WINAPI WMCreateWriter(IUnknown *reserved, IWMWriter **writer)
*
writer
=
&
ret
->
IWMWriter_iface
;
return
S_OK
;
}
HRESULT
WINAPI
WMCreateWriterPriv
(
IWMWriter
**
writer
)
{
return
WMCreateWriter
(
NULL
,
writer
);
}
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