Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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
wine
wine-cw
Commits
606ececd
Commit
606ececd
authored
Apr 10, 2020
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activeds: Implement remaining cases for IADsPathname::Set().
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3656d57a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
pathname.c
dlls/activeds/pathname.c
+24
-0
No files found.
dlls/activeds/pathname.c
View file @
606ececd
...
@@ -184,8 +184,32 @@ static HRESULT WINAPI path_Set(IADsPathname *iface, BSTR adspath, LONG type)
...
@@ -184,8 +184,32 @@ static HRESULT WINAPI path_Set(IADsPathname *iface, BSTR adspath, LONG type)
if
(
!
adspath
)
return
E_INVALIDARG
;
if
(
!
adspath
)
return
E_INVALIDARG
;
if
(
type
==
ADS_SETTYPE_PROVIDER
)
{
SysFreeString
(
path
->
provider
);
path
->
provider
=
SysAllocString
(
adspath
);
return
path
->
provider
?
S_OK
:
E_OUTOFMEMORY
;
}
if
(
type
==
ADS_SETTYPE_SERVER
)
{
SysFreeString
(
path
->
server
);
path
->
server
=
SysAllocString
(
adspath
);
return
path
->
server
?
S_OK
:
E_OUTOFMEMORY
;
}
if
(
type
==
ADS_SETTYPE_DN
)
{
SysFreeString
(
path
->
dn
);
path
->
dn
=
SysAllocString
(
adspath
);
return
path
->
dn
?
S_OK
:
E_OUTOFMEMORY
;
}
if
(
type
!=
ADS_SETTYPE_FULL
)
if
(
type
!=
ADS_SETTYPE_FULL
)
{
FIXME
(
"type %d not implemented
\n
"
,
type
);
FIXME
(
"type %d not implemented
\n
"
,
type
);
return
E_INVALIDARG
;
}
hr
=
parse_path
(
adspath
,
&
provider
,
&
server
,
&
dn
);
hr
=
parse_path
(
adspath
,
&
provider
,
&
server
,
&
dn
);
if
(
hr
==
S_OK
)
if
(
hr
==
S_OK
)
...
...
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