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
241c5fe8
Commit
241c5fe8
authored
Feb 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schtasks: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
826288ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
programs/schtasks/Makefile.in
+0
-1
schtasks.c
programs/schtasks/schtasks.c
+4
-4
No files found.
programs/schtasks/Makefile.in
View file @
241c5fe8
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
schtasks.exe
MODULE
=
schtasks.exe
IMPORTS
=
oleaut32 ole32
IMPORTS
=
oleaut32 ole32
...
...
programs/schtasks/schtasks.c
View file @
241c5fe8
...
@@ -40,14 +40,14 @@ static ITaskFolder *get_tasks_root_folder(void)
...
@@ -40,14 +40,14 @@ static ITaskFolder *get_tasks_root_folder(void)
V_VT
(
&
empty
)
=
VT_EMPTY
;
V_VT
(
&
empty
)
=
VT_EMPTY
;
hres
=
ITaskService_Connect
(
service
,
empty
,
empty
,
empty
,
empty
);
hres
=
ITaskService_Connect
(
service
,
empty
,
empty
,
empty
,
empty
);
if
(
FAILED
(
hres
))
{
if
(
FAILED
(
hres
))
{
FIXME
(
"Connect failed: %08x
\n
"
,
hres
);
FIXME
(
"Connect failed: %08
l
x
\n
"
,
hres
);
return
NULL
;
return
NULL
;
}
}
hres
=
ITaskService_GetFolder
(
service
,
NULL
,
&
root
);
hres
=
ITaskService_GetFolder
(
service
,
NULL
,
&
root
);
ITaskService_Release
(
service
);
ITaskService_Release
(
service
);
if
(
FAILED
(
hres
))
{
if
(
FAILED
(
hres
))
{
FIXME
(
"GetFolder failed: %08x
\n
"
,
hres
);
FIXME
(
"GetFolder failed: %08
l
x
\n
"
,
hres
);
return
NULL
;
return
NULL
;
}
}
...
@@ -70,7 +70,7 @@ static IRegisteredTask *get_registered_task(const WCHAR *name)
...
@@ -70,7 +70,7 @@ static IRegisteredTask *get_registered_task(const WCHAR *name)
SysFreeString
(
str
);
SysFreeString
(
str
);
ITaskFolder_Release
(
root
);
ITaskFolder_Release
(
root
);
if
(
FAILED
(
hres
))
{
if
(
FAILED
(
hres
))
{
FIXME
(
"GetTask failed: %08x
\n
"
,
hres
);
FIXME
(
"GetTask failed: %08
l
x
\n
"
,
hres
);
return
NULL
;
return
NULL
;
}
}
...
@@ -183,7 +183,7 @@ static int change_command(int argc, WCHAR *argv[])
...
@@ -183,7 +183,7 @@ static int change_command(int argc, WCHAR *argv[])
hres
=
IRegisteredTask_put_Enabled
(
task
,
VARIANT_TRUE
);
hres
=
IRegisteredTask_put_Enabled
(
task
,
VARIANT_TRUE
);
if
(
FAILED
(
hres
))
{
if
(
FAILED
(
hres
))
{
IRegisteredTask_Release
(
task
);
IRegisteredTask_Release
(
task
);
FIXME
(
"put_Enabled failed: %08x
\n
"
,
hres
);
FIXME
(
"put_Enabled failed: %08
l
x
\n
"
,
hres
);
return
1
;
return
1
;
}
}
}
}
...
...
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