windows.networking: Stub DllGetActivationFactory().

This commit is contained in:
Daniel Tang 2023-03-11 12:51:18 -05:00 committed by Alexandre Julliard
parent ce18bd4d09
commit bbb28c938b
3 changed files with 21 additions and 1 deletions

View file

@ -1,4 +1,5 @@
MODULE = windows.networking.dll MODULE = windows.networking.dll
IMPORTS = combase
C_SRCS = \ C_SRCS = \
main.c main.c

View file

@ -18,12 +18,31 @@
#include <windef.h> #include <windef.h>
#include <winnt.h> #include <winnt.h>
#include <winstring.h>
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winsock); WINE_DEFAULT_DEBUG_CHANNEL(winsock);
static const char *debugstr_hstring(HSTRING hstr)
{
const WCHAR *str;
UINT32 len;
if (hstr && !((ULONG_PTR)hstr >> 16)) return "(invalid)";
str = WindowsGetStringRawBuffer(hstr, &len);
return wine_dbgstr_wn(str, len);
}
HRESULT WINAPI SetSocketMediaStreamingMode(BOOL value) HRESULT WINAPI SetSocketMediaStreamingMode(BOOL value)
{ {
FIXME("value %d stub!\n", value); FIXME("value %d stub!\n", value);
return S_OK; return S_OK;
} }
HRESULT WINAPI DllGetActivationFactory(HSTRING classid, void **factory)
{
FIXME("class %s, factory %p.\n", debugstr_hstring(classid), factory);
*factory = NULL;
return CLASS_E_CLASSNOTAVAILABLE;
}

View file

@ -1,6 +1,6 @@
1 stub @ 1 stub @
@ stdcall -private DllCanUnloadNow() @ stdcall -private DllCanUnloadNow()
@ stub DllGetActivationFactory @ stdcall -private DllGetActivationFactory(ptr ptr)
@ stub DllGetClassObject @ stub DllGetClassObject
@ stdcall -private DllMain(long long ptr) @ stdcall -private DllMain(long long ptr)
@ stdcall -private DllRegisterServer() @ stdcall -private DllRegisterServer()