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
90160bd6
Commit
90160bd6
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::GetTriggerCount().
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
bdb78491
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
task.c
dlls/mstask/task.c
+9
-5
No files found.
dlls/mstask/task.c
View file @
90160bd6
...
...
@@ -62,6 +62,7 @@ typedef struct
WORD
idle_minutes
,
deadline_minutes
;
DWORD
priority
,
maxRunTime
;
LPWSTR
accountName
;
DWORD
trigger_count
;
}
TaskImpl
;
static
inline
TaskImpl
*
impl_from_ITask
(
ITask
*
iface
)
...
...
@@ -155,12 +156,14 @@ static HRESULT WINAPI MSTASK_ITask_DeleteTrigger(
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
MSTASK_ITask_GetTriggerCount
(
ITask
*
iface
,
WORD
*
plCount
)
static
HRESULT
WINAPI
MSTASK_ITask_GetTriggerCount
(
ITask
*
iface
,
WORD
*
count
)
{
FIXME
(
"(%p, %p): stub
\n
"
,
iface
,
plCount
);
return
E_NOTIMPL
;
TaskImpl
*
This
=
impl_from_ITask
(
iface
);
TRACE
(
"(%p, %p)
\n
"
,
iface
,
count
);
*
count
=
This
->
trigger_count
;
return
S_OK
;
}
static
HRESULT
WINAPI
MSTASK_ITask_GetTrigger
(
...
...
@@ -1131,6 +1134,7 @@ HRESULT TaskConstructor(ITaskService *service, const WCHAR *name, ITask **task)
This
->
deadline_minutes
=
60
;
This
->
priority
=
NORMAL_PRIORITY_CLASS
;
This
->
accountName
=
NULL
;
This
->
trigger_count
=
0
;
/* Default time is 3 days = 259200000 ms */
This
->
maxRunTime
=
259200000
;
...
...
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