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
6a9e1270
Commit
6a9e1270
authored
May 11, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mstask: Write more correct flags and status to the job file.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a652d51e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
task.c
dlls/mstask/task.c
+4
-2
No files found.
dlls/mstask/task.c
View file @
6a9e1270
...
...
@@ -1252,8 +1252,10 @@ static HRESULT WINAPI MSTASK_IPersistFile_Save(IPersistFile *iface, LPCOLESTR ta
fixed
.
priority
=
This
->
priority
;
fixed
.
maximum_runtime
=
This
->
maxRunTime
;
fixed
.
exit_code
=
0
;
fixed
.
status
=
SCHED_S_TASK_HAS_NOT_RUN
;
fixed
.
flags
=
0
;
if
(
This
->
status
==
SCHED_S_TASK_NOT_SCHEDULED
&&
This
->
trigger_count
)
This
->
status
=
SCHED_S_TASK_HAS_NOT_RUN
;
fixed
.
status
=
This
->
status
;
fixed
.
flags
=
This
->
flags
;
memset
(
&
fixed
.
last_runtime
,
0
,
sizeof
(
fixed
.
last_runtime
));
hfile
=
CreateFileW
(
task_name
,
GENERIC_WRITE
,
0
,
NULL
,
disposition
,
0
,
0
);
...
...
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