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:
parent
39a930abeb
commit
47982e3611
|
@ -1,5 +1,5 @@
|
||||||
MODULE = adsldp.dll
|
MODULE = adsldp.dll
|
||||||
IMPORTS = ole32 oleaut32 secur32 uuid
|
IMPORTS = ole32 oleaut32 secur32 activeds uuid
|
||||||
DELAYIMPORTS = netapi32 wldap32
|
DELAYIMPORTS = netapi32 wldap32
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mno-cygwin
|
EXTRADLLFLAGS = -mno-cygwin
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include "rpcproxy.h"
|
#include "rpcproxy.h"
|
||||||
#include "rpc.h"
|
#include "rpc.h"
|
||||||
#include "iads.h"
|
#include "iads.h"
|
||||||
|
#include "adshlp.h"
|
||||||
#include "adserr.h"
|
#include "adserr.h"
|
||||||
#define SECURITY_WIN32
|
#define SECURITY_WIN32
|
||||||
#include "security.h"
|
#include "security.h"
|
||||||
|
@ -503,8 +504,18 @@ static HRESULT WINAPI ldapns_get_Schema(IADs *iface, BSTR *retval)
|
||||||
|
|
||||||
static HRESULT WINAPI ldapns_GetInfo(IADs *iface)
|
static HRESULT WINAPI ldapns_GetInfo(IADs *iface)
|
||||||
{
|
{
|
||||||
FIXME("%p: stub\n", iface);
|
HRESULT hr;
|
||||||
return E_NOTIMPL;
|
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)
|
static HRESULT WINAPI ldapns_SetInfo(IADs *iface)
|
||||||
|
|
Loading…
Reference in New Issue