[PATCH] mfplat: Implement CreatePropertyStore().
Zebediah Figura
zfigura at codeweavers.com
Fri Jul 12 13:24:44 CDT 2019
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
This allows Mary Skelter: Nightmares to launch.
dlls/mfplat/main.c | 9 +++++++++
dlls/mfplat/mfplat.spec | 2 +-
include/mfidl.idl | 1 +
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index eec54ae3f6a..cee50acfde7 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -7415,3 +7415,12 @@ failed:
return hr;
}
+
+/***********************************************************************
+ * CreatePropertyStore (mfplat.@)
+ */
+HRESULT WINAPI CreatePropertyStore(IPropertyStore **store)
+{
+ TRACE("%p.\n", store);
+ return PSCreateMemoryPropertyStore(&IID_IPropertyStore, (void **)store);
+}
diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec
index 1ae0927f513..2f16bbd1973 100644
--- a/dlls/mfplat/mfplat.spec
+++ b/dlls/mfplat/mfplat.spec
@@ -10,7 +10,7 @@
@ stub ValidateWaveFormat
@ stub CopyPropVariant
@ stub CreatePropVariant
-@ stub CreatePropertyStore
+@ stdcall CreatePropertyStore(ptr)
@ stub DestroyPropVariant
@ stub GetAMSubtypeFromD3DFormat
@ stub GetD3DFormatFromMFSubtype
diff --git a/include/mfidl.idl b/include/mfidl.idl
index 1ed63bea126..5f8913384cc 100644
--- a/include/mfidl.idl
+++ b/include/mfidl.idl
@@ -566,6 +566,7 @@ interface IMFSampleGrabberSinkCallback2 : IMFSampleGrabberSinkCallback
[in] IMFAttributes *attributes);
}
+cpp_quote("HRESULT WINAPI CreatePropertyStore(IPropertyStore **store);")
cpp_quote("HRESULT WINAPI MFCreateMediaSession(IMFAttributes *config, IMFMediaSession **session);")
cpp_quote("HRESULT WINAPI MFCreateMFByteStreamOnStream(IStream *stream, IMFByteStream **bytestream);" )
cpp_quote("HRESULT WINAPI MFCreateMFByteStreamOnStreamEx(IUnknown *stream, IMFByteStream **bytestream);")
--
2.20.1
More information about the wine-devel
mailing list