Commit ad4ba76e authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

xapofx: Implement CreateFX.

parent 24a371c9
@ stub CreateFX
@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX
@ stub CreateFX
@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX
@ stub CreateFX
@ cdecl CreateFX(ptr ptr) xapofx1_5.CreateFX
MODULE = xapofx1_5.dll
IMPORTS = ole32
C_SRCS = \
main.c
......@@ -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);
}
@ stub CreateFX
@ cdecl CreateFX(ptr ptr)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment