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
0ad429af
Commit
0ad429af
authored
Apr 24, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mstask: Implement ITask::GetTrigger().
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0049deca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
6 deletions
+17
-6
task.c
dlls/mstask/task.c
+17
-6
No files found.
dlls/mstask/task.c
View file @
0ad429af
...
...
@@ -198,13 +198,24 @@ static HRESULT WINAPI MSTASK_ITask_GetTriggerCount(ITask *iface, WORD *count)
return
S_OK
;
}
static
HRESULT
WINAPI
MSTASK_ITask_GetTrigger
(
ITask
*
iface
,
WORD
iTrigger
,
ITaskTrigger
**
ppTrigger
)
static
HRESULT
WINAPI
MSTASK_ITask_GetTrigger
(
ITask
*
iface
,
WORD
idx
,
ITaskTrigger
**
trigger
)
{
FIXME
(
"(%p, %d, %p): stub
\n
"
,
iface
,
iTrigger
,
ppTrigger
);
return
E_NOTIMPL
;
TaskImpl
*
This
=
impl_from_ITask
(
iface
);
HRESULT
hr
;
TRACE
(
"(%p, %u, %p)
\n
"
,
iface
,
idx
,
trigger
);
if
(
idx
>=
This
->
trigger_count
)
return
SCHED_E_TRIGGER_NOT_FOUND
;
hr
=
TaskTriggerConstructor
((
void
**
)
trigger
);
if
(
hr
!=
S_OK
)
return
hr
;
hr
=
ITaskTrigger_SetTrigger
(
*
trigger
,
&
This
->
trigger
[
idx
]);
if
(
hr
!=
S_OK
)
ITaskTrigger_Release
(
*
trigger
);
return
hr
;
}
static
HRESULT
WINAPI
MSTASK_ITask_GetTriggerString
(
...
...
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