[PATCH 5/8] adsldp: Implement IADs::GetInfo().
Signed-off-by: Dmitry Timoshkov <dmitry(a)baikal.ru> --- dlls/adsldp/Makefile.in | 2 +- dlls/adsldp/adsldp.c | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/dlls/adsldp/Makefile.in b/dlls/adsldp/Makefile.in index 3e5a5e310e..07f79a9993 100644 --- a/dlls/adsldp/Makefile.in +++ b/dlls/adsldp/Makefile.in @@ -1,5 +1,5 @@ MODULE = adsldp.dll -IMPORTS = ole32 oleaut32 secur32 uuid +IMPORTS = ole32 oleaut32 secur32 activeds uuid DELAYIMPORTS = netapi32 wldap32 EXTRADLLFLAGS = -mno-cygwin diff --git a/dlls/adsldp/adsldp.c b/dlls/adsldp/adsldp.c index b60d164515..58db41a094 100644 --- a/dlls/adsldp/adsldp.c +++ b/dlls/adsldp/adsldp.c @@ -29,6 +29,7 @@ #include "rpcproxy.h" #include "rpc.h" #include "iads.h" +#include "adshlp.h" #include "adserr.h" #define SECURITY_WIN32 #include "security.h" @@ -503,8 +504,18 @@ static HRESULT WINAPI ldapns_get_Schema(IADs *iface, BSTR *retval) static HRESULT WINAPI ldapns_GetInfo(IADs *iface) { - FIXME("%p: stub\n", iface); - return E_NOTIMPL; + HRESULT hr; + VARIANT var; + + TRACE("%p\n", iface); + + hr = ADsBuildVarArrayStr(NULL, 0, &var); + if (hr == S_OK) + { + hr = IADs_GetInfoEx(iface, var, 0); + VariantClear(&var); + } + return hr; } static HRESULT WINAPI ldapns_SetInfo(IADs *iface) -- 2.25.1
Hi, While running your changed tests, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at: https://testbot.winehq.org/JobDetails.pl?Key=68062 Your paranoid android. === debiant (build log) === error: patch failed: dlls/wldap32/value.c:229 error: patch failed: dlls/adsldp/adsldp.c:27 error: patch failed: include/winldap.h:184 error: patch failed: dlls/adsldp/adsldp.c:1091 error: patch failed: dlls/adsldp/Makefile.in:1 error: patch failed: dlls/adsldp/adsldp.c:29 Task: Patch failed to apply === debiant (build log) === error: patch failed: dlls/wldap32/value.c:229 error: patch failed: dlls/adsldp/adsldp.c:27 error: patch failed: include/winldap.h:184 error: patch failed: dlls/adsldp/adsldp.c:1091 error: patch failed: dlls/adsldp/Makefile.in:1 error: patch failed: dlls/adsldp/adsldp.c:29 Task: Patch failed to apply
participants (2)
-
Dmitry Timoshkov -
Marvin