Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
46d06eb4
Commit
46d06eb4
authored
Dec 12, 2014
by
Sebastian Lackner
Committed by
Alexandre Julliard
Dec 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplat: Implement stubs for MFStartup and MFShutdown.
parent
d64bb047
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
2 deletions
+25
-2
main.c
dlls/mfplat/main.c
+23
-0
mfplat.spec
dlls/mfplat/mfplat.spec
+2
-2
No files found.
dlls/mfplat/main.c
View file @
46d06eb4
...
@@ -22,6 +22,11 @@
...
@@ -22,6 +22,11 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "mferror.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mfplat
);
BOOL
WINAPI
DllMain
(
HINSTANCE
instance
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
instance
,
DWORD
reason
,
LPVOID
reserved
)
{
{
...
@@ -36,3 +41,21 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
...
@@ -36,3 +41,21 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return
TRUE
;
return
TRUE
;
}
}
/***********************************************************************
* MFStartup (mfplat.@)
*/
HRESULT
WINAPI
MFStartup
(
ULONG
version
,
DWORD
flags
)
{
FIXME
(
"(%u, %u): stub
\n
"
,
version
,
flags
);
return
MF_E_BAD_STARTUP_VERSION
;
}
/***********************************************************************
* MFShutdown (mfplat.@)
*/
HRESULT
WINAPI
MFShutdown
(
void
)
{
FIXME
(
"(): stub
\n
"
);
return
S_OK
;
}
dlls/mfplat/mfplat.spec
View file @
46d06eb4
...
@@ -131,8 +131,8 @@
...
@@ -131,8 +131,8 @@
@ stub MFSerializeMediaTypeToStream
@ stub MFSerializeMediaTypeToStream
@ stub MFSerializePresentationDescriptor
@ stub MFSerializePresentationDescriptor
@ stub MFSetSockaddrAny
@ stub MFSetSockaddrAny
@ st
ub MFShutdown
@ st
dcall MFShutdown()
@ st
ub MFStartup
@ st
dcall MFStartup(long long)
@ stub MFStreamDescriptorProtectMediaType
@ stub MFStreamDescriptorProtectMediaType
@ stub MFTEnum
@ stub MFTEnum
@ stub MFTEnumEx
@ stub MFTEnumEx
...
...
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