Hello,
I'm trying to play The Technomancer,
It seems he needs the function MFCreateAttributes from mfplat.dll, but it seems unimplemented.
Yet, I configured wine graphically to overidde mfplat.dll, but it still doesn't work ... (how can I be sure I override it well ?)
Is there a way I can check if this function is implemented or not ?
Or else how can I install Windows Media Feature Pack ?
Thanks for your help,
The Technomancer - missing mfplat.dll.MFCreateAttributes
Re: The Technomancer - missing mfplat.dll.MFCreateAttributes
If you know how to compile wine, could you try if the patch below works?
Code: Select all
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index 698c681..dd14216 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -64,6 +64,15 @@ HRESULT WINAPI MFShutdown(void)
return S_OK;
}
+/***********************************************************************
+ * MFMFCreateAttributes (mfplat.@)
+ */
+HRESULT WINAPI MFCreateAttributes(IMFAttributes **attributes, UINT32 size)
+{
+ FIXME("(%p, %d): stub\n", attributes, size);
+ return E_NOTIMPL;
+}
+
static HRESULT WINAPI MFPluginControl_QueryInterface(IMFPluginControl *iface, REFIID riid, void **ppv)
{
if(IsEqualGUID(riid, &IID_IUnknown)) {
diff --git a/include/mfapi.h b/include/mfapi.h
index 554d8cf..5219ce1 100644
--- a/include/mfapi.h
+++ b/include/mfapi.h
@@ -30,6 +30,7 @@
typedef unsigned __int64 MFWORKITEM_KEY;
HRESULT WINAPI MFCancelWorkItem(MFWORKITEM_KEY key);
+HRESULT WINAPI MFCreateAttributes(IMFAttributes **attributes, UINT32 size);
HRESULT WINAPI MFGetTimerPeriodicity(DWORD *periodicity);
HRESULT WINAPI MFLockPlatform(void);
HRESULT WINAPI MFShutdown(void);
-
- Level 2
- Posts: 23
- Joined: Sun Mar 13, 2016 11:15 am
Re: The Technomancer - missing mfplat.dll.MFCreateAttributes
The patch won't have any effect until you change the MFCreateAttributes entry in mfplat.spec.