adsldp: Implement IADs::GetInfo().

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2020-03-23 21:14:43 +08:00 committed by Alexandre Julliard
parent 39a930abeb
commit 47982e3611
2 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,5 @@
MODULE = adsldp.dll
IMPORTS = ole32 oleaut32 secur32 uuid
IMPORTS = ole32 oleaut32 secur32 activeds uuid
DELAYIMPORTS = netapi32 wldap32
EXTRADLLFLAGS = -mno-cygwin

View File

@ -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)