windows.networking: Add stub dll.

Required for Iragon: Prologue.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2022-04-25 16:46:24 +08:00 committed by Alexandre Julliard
parent fe86eeceeb
commit 47b9dc3dde
7 changed files with 77 additions and 0 deletions

2
configure vendored
View File

@ -1417,6 +1417,7 @@ enable_windows_gaming_input
enable_windows_globalization
enable_windows_media_devices
enable_windows_media_speech
enable_windows_networking
enable_windowscodecs
enable_windowscodecsext
enable_winealsa_drv
@ -21851,6 +21852,7 @@ wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
wine_fn_config_makefile dlls/windows.networking enable_windows_networking
wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext

View File

@ -3098,6 +3098,7 @@ WINE_CONFIG_MAKEFILE(dlls/windows.media.devices)
WINE_CONFIG_MAKEFILE(dlls/windows.media.devices/tests)
WINE_CONFIG_MAKEFILE(dlls/windows.media.speech)
WINE_CONFIG_MAKEFILE(dlls/windows.media.speech/tests)
WINE_CONFIG_MAKEFILE(dlls/windows.networking)
WINE_CONFIG_MAKEFILE(dlls/windowscodecs)
WINE_CONFIG_MAKEFILE(dlls/windowscodecs/tests)
WINE_CONFIG_MAKEFILE(dlls/windowscodecsext)

View File

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

View File

@ -0,0 +1,29 @@
/*
* Copyright 2022 Zhiyi Zhang for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windef.h>
#include <winnt.h>
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(winsock);
HRESULT WINAPI SetSocketMediaStreamingMode(BOOL value)
{
FIXME("value %d stub!\n", value);
return S_OK;
}

View File

@ -0,0 +1,8 @@
1 stub @
@ stdcall -private DllCanUnloadNow()
@ stub DllGetActivationFactory
@ stub DllGetClassObject
@ stdcall -private DllMain(long long ptr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
@ stdcall SetSocketMediaStreamingMode(long)

View File

@ -682,6 +682,7 @@ SOURCES = \
slerror.h \
slpublic.h \
snmp.h \
socketapi.h \
softpub.h \
spatialaudioclient.idl \
specstrings.h \

32
include/socketapi.h Normal file
View File

@ -0,0 +1,32 @@
/*
* Copyright 2022 Zhiyi Zhang for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef SOCKETAPI_H
#define SOCKETAPI_H
#ifdef __cplusplus
extern "C" {
#endif
HRESULT WINAPI SetSocketMediaStreamingMode(BOOL value);
#ifdef __cplusplus
}
#endif
#endif /* SOCKETAPI_H */