Module: wine Branch: master Commit: 3174e86abedf633bcec4884f1303143a696b6062 URL: https://gitlab.winehq.org/wine/wine/-/commit/3174e86abedf633bcec4884f1303143...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Wed Aug 16 15:56:42 2023 +0200
wldp: Add WldpIsDynamicCodePolicyEnabled() stub.
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 | 29 +++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+)
diff --git a/configure b/configure index a87e10198e6..770d16ee808 100755 --- a/configure +++ b/configure @@ -1511,6 +1511,7 @@ enable_winusb enable_wlanapi enable_wlanui enable_wldap32 +enable_wldp enable_wmasf enable_wmi enable_wmiutils @@ -21848,6 +21849,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 9a47d9ba5f3..078ee5bf201 100644 --- a/configure.ac +++ b/configure.ac @@ -3217,6 +3217,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..a692efca291 --- /dev/null +++ b/dlls/wldp/wldp.spec @@ -0,0 +1,29 @@ +@ stub WldpIsAppApprovedByPolicy +@ stub WldpIsProductionConfiguration +@ stub WldpIsWcosProductionConfiguration +@ stub WldpQueryPolicySettingEnabled2 +@ stub WldpQueryPolicySettingEnabled +@ stub WldpQueryPolicySettingEnabledInternal +@ stub WldpQueryWindowsLockdownMode +@ stub WldpQueryWindowsLockdownRestriction +@ stub WldpResetProductionConfiguration +@ stub WldpResetWcosProductionConfiguration +@ stub WldpSetWindowsLockdownRestriction +@ stub WldpTraceLoggingWDACBlockDialogShown +@ stub WldpAddDeveloperCertificateForDynamicCodeTrust +@ stub WldpCheckDeviceEncryptionNotStarted +@ stub WldpCheckRetailConfiguration +@ stub WldpCheckWcosDeviceEncryptionSecure +@ stub WldpDisableDeveloperMode +@ stub WldpEnableDeveloperMode +@ stub WldpGetLockdownPolicy +@ stub WldpIsAllowedEntryPoint +@ stub WldpIsClassInApprovedList +@ stub WldpIsDebugAllowed +@ stdcall WldpIsDynamicCodePolicyEnabled(ptr) +@ stub WldpIsProductionConfigurationInProc +@ stub WldpQueryDeviceSecurityInformation +@ stub WldpQueryDynamicCodeTrust +@ stub WldpQuerySecurityPolicy +@ stub WldpSetDynamicCodeTrust +@ stub WldpSetDynamicCodeTrust2