xapofx: Implement CreateFX.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
This commit is contained in:
Andrew Eikum 2015-10-05 11:33:13 -05:00 committed by Alexandre Julliard
parent 24a371c9d6
commit ad4ba76eb0
6 changed files with 16 additions and 4 deletions

View File

@ -1 +1 @@
@ stub CreateFX
@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX

View File

@ -1 +1 @@
@ stub CreateFX
@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX

View File

@ -1 +1 @@
@ stub CreateFX
@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX

View File

@ -1,4 +1,5 @@
MODULE = xapofx1_5.dll
IMPORTS = ole32
C_SRCS = \
main.c

View File

@ -19,8 +19,13 @@
#include <stdarg.h>
#include "initguid.h"
#include "windef.h"
#include "winbase.h"
#include "compobj.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(xaudio2);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
{
@ -35,3 +40,9 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
return TRUE;
}
HRESULT CDECL CreateFX(REFCLSID clsid, IUnknown **out)
{
TRACE("%s %p\n", debugstr_guid(clsid), out);
return CoCreateInstance(clsid, NULL, CLSCTX_INPROC_SERVER, &IID_IUnknown, (void**)out);
}

View File

@ -1 +1 @@
@ stub CreateFX
@ cdecl CreateFX(ptr ptr)