Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
e0fbe82e
Commit
e0fbe82e
authored
Nov 30, 2017
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 30, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskschd: Implement IExecAction_put_Path.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8d739937
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
task.c
dlls/taskschd/task.c
+12
-1
No files found.
dlls/taskschd/task.c
View file @
e0fbe82e
...
...
@@ -1638,6 +1638,7 @@ typedef struct
{
IExecAction
IExecAction_iface
;
LONG
ref
;
WCHAR
*
path
;
}
ExecAction
;
static
inline
ExecAction
*
impl_from_IExecAction
(
IExecAction
*
iface
)
...
...
@@ -1659,6 +1660,7 @@ static ULONG WINAPI ExecAction_Release(IExecAction *iface)
if
(
!
ref
)
{
TRACE
(
"destroying %p
\n
"
,
iface
);
heap_free
(
action
->
path
);
heap_free
(
action
);
}
...
...
@@ -1744,7 +1746,15 @@ static HRESULT WINAPI ExecAction_get_Path(IExecAction *iface, BSTR *path)
static
HRESULT
WINAPI
ExecAction_put_Path
(
IExecAction
*
iface
,
BSTR
path
)
{
FIXME
(
"%p,%s: stub
\n
"
,
iface
,
debugstr_w
(
path
));
ExecAction
*
action
=
impl_from_IExecAction
(
iface
);
WCHAR
*
str
=
NULL
;
TRACE
(
"%p,%s
\n
"
,
iface
,
debugstr_w
(
path
));
if
(
path
&&
!
(
str
=
heap_strdupW
((
path
))))
return
E_OUTOFMEMORY
;
heap_free
(
action
->
path
);
action
->
path
=
str
;
return
S_OK
;
}
...
...
@@ -1801,6 +1811,7 @@ static HRESULT ExecAction_create(IExecAction **obj)
action
->
IExecAction_iface
.
lpVtbl
=
&
Action_vtbl
;
action
->
ref
=
1
;
action
->
path
=
NULL
;
*
obj
=
&
action
->
IExecAction_iface
;
...
...
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