Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aleksandr Isakov
wine-fonts
Commits
18d7356f
Commit
18d7356f
authored
Mar 13, 2020
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Mar 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activeds: Implement ADsGetObject.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2a1841f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
activeds_main.c
dlls/activeds/activeds_main.c
+7
-3
ldap.c
dlls/adsldp/tests/ldap.c
+5
-0
No files found.
dlls/activeds/activeds_main.c
View file @
18d7356f
...
...
@@ -61,10 +61,14 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
/*****************************************************
* ADsGetObject [ACTIVEDS.3]
*/
HRESULT
WINAPI
ADsGetObject
(
LPCWSTR
lpszPathName
,
REFIID
riid
,
VOID
**
ppObject
)
HRESULT
WINAPI
ADsGetObject
(
LPCWSTR
path
,
REFIID
riid
,
void
**
obj
)
{
FIXME
(
"(%s)->(%s,%p)!stub
\n
"
,
debugstr_w
(
lpszPathName
),
debugstr_guid
(
riid
),
ppObject
);
return
E_NOTIMPL
;
HRESULT
hr
;
hr
=
ADsOpenObject
(
path
,
NULL
,
NULL
,
ADS_SECURE_AUTHENTICATION
,
riid
,
obj
);
if
(
hr
!=
S_OK
)
hr
=
ADsOpenObject
(
path
,
NULL
,
NULL
,
0
,
riid
,
obj
);
return
hr
;
}
/*****************************************************
...
...
dlls/adsldp/tests/ldap.c
View file @
18d7356f
...
...
@@ -104,6 +104,11 @@ static void test_LDAP(void)
if
(
hr
==
S_OK
)
IADs_Release
(
ads
);
hr
=
ADsGetObject
(
path
,
&
IID_IDispatch
,
(
void
**
)
&
disp
);
ok
(
hr
==
test
[
i
].
hr
||
hr
==
test
[
i
].
hr_ads_get
,
"%d: got %#x, expected %#x
\n
"
,
i
,
hr
,
test
[
i
].
hr
);
if
(
hr
==
S_OK
)
IDispatch_Release
(
disp
);
SysFreeString
(
path
);
SysFreeString
(
user
);
SysFreeString
(
password
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment