From: Nikolay Sivov nsivov@codeweavers.com
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- configure | 2 ++ configure.ac | 1 + dlls/wldp/Makefile.in | 6 ++++++ dlls/wldp/wldp.c | 38 ++++++++++++++++++++++++++++++++++++++ dlls/wldp/wldp.spec | 1 + 5 files changed, 48 insertions(+) create mode 100644 dlls/wldp/Makefile.in create mode 100644 dlls/wldp/wldp.c create mode 100644 dlls/wldp/wldp.spec
diff --git a/configure b/configure index db95cc3588d..74f2dd4ca4d 100755 --- a/configure +++ b/configure @@ -1510,6 +1510,7 @@ enable_winusb enable_wlanapi enable_wlanui enable_wldap32 +enable_wldp enable_wmasf enable_wmi enable_wmiutils @@ -21846,6 +21847,7 @@ wine_fn_config_makefile dlls/wlanapi/tests enable_tests wine_fn_config_makefile dlls/wlanui enable_wlanui wine_fn_config_makefile dlls/wldap32 enable_wldap32 wine_fn_config_makefile dlls/wldap32/tests enable_tests +wine_fn_config_makefile dlls/wldp enable_wldp wine_fn_config_makefile dlls/wmasf enable_wmasf wine_fn_config_makefile dlls/wmi enable_wmi wine_fn_config_makefile dlls/wmiutils enable_wmiutils diff --git a/configure.ac b/configure.ac index e17d28c8601..1c5f6e7586b 100644 --- a/configure.ac +++ b/configure.ac @@ -3216,6 +3216,7 @@ WINE_CONFIG_MAKEFILE(dlls/wlanapi/tests) WINE_CONFIG_MAKEFILE(dlls/wlanui) WINE_CONFIG_MAKEFILE(dlls/wldap32) WINE_CONFIG_MAKEFILE(dlls/wldap32/tests) +WINE_CONFIG_MAKEFILE(dlls/wldp) WINE_CONFIG_MAKEFILE(dlls/wmasf) WINE_CONFIG_MAKEFILE(dlls/wmi) WINE_CONFIG_MAKEFILE(dlls/wmiutils) diff --git a/dlls/wldp/Makefile.in b/dlls/wldp/Makefile.in new file mode 100644 index 00000000000..8e2eaead297 --- /dev/null +++ b/dlls/wldp/Makefile.in @@ -0,0 +1,6 @@ +MODULE = wldp.dll + +EXTRADLLFLAGS = -Wb,--prefer-native + +C_SRCS = \ + wldp.c diff --git a/dlls/wldp/wldp.c b/dlls/wldp/wldp.c new file mode 100644 index 00000000000..64c0c58aae8 --- /dev/null +++ b/dlls/wldp/wldp.c @@ -0,0 +1,38 @@ +/* + * Copyright 2023 Nikolay Sivov 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 <stdarg.h> +#include <stdlib.h> + +#include "windef.h" +#include "winbase.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(wldp); + +/*********************************************************************** + * WldpIsDynamicCodePolicyEnabled (wldp.@) + */ +HRESULT WINAPI WldpIsDynamicCodePolicyEnabled(BOOL *is_enabled) +{ + FIXME("%p\n", is_enabled); + + *is_enabled = FALSE; + return S_OK; +} diff --git a/dlls/wldp/wldp.spec b/dlls/wldp/wldp.spec new file mode 100644 index 00000000000..b08a512cd82 --- /dev/null +++ b/dlls/wldp/wldp.spec @@ -0,0 +1 @@ +@ stdcall WldpIsDynamicCodePolicyEnabled(ptr)