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
be3f4a79
Commit
be3f4a79
authored
Apr 17, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Apr 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
schedsvc: Implement NetrJobGetInfo.
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c85bc14d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
atsvc.c
dlls/schedsvc/atsvc.c
+26
-2
No files found.
dlls/schedsvc/atsvc.c
View file @
be3f4a79
...
...
@@ -376,6 +376,30 @@ DWORD __cdecl NetrJobEnum(ATSVC_HANDLE server_name, AT_ENUM_CONTAINER *container
DWORD
__cdecl
NetrJobGetInfo
(
ATSVC_HANDLE
server_name
,
DWORD
jobid
,
AT_INFO
**
info
)
{
FIXME
(
"%s,%u,%p: stub
\n
"
,
debugstr_w
(
server_name
),
jobid
,
info
);
return
ERROR_NOT_SUPPORTED
;
struct
job_t
*
job
;
DWORD
ret
=
ERROR_SUCCESS
;
TRACE
(
"%s,%u,%p
\n
"
,
debugstr_w
(
server_name
),
jobid
,
info
);
EnterCriticalSection
(
&
at_job_list_section
);
job
=
find_job
(
jobid
,
NULL
);
if
(
job
)
{
AT_INFO
*
info_ret
=
heap_alloc
(
sizeof
(
*
info_ret
));
if
(
!
info_ret
)
ret
=
ERROR_NOT_ENOUGH_MEMORY
;
else
{
info_ret
->
JobTime
=
job
->
info
.
JobTime
;
info_ret
->
DaysOfMonth
=
job
->
info
.
DaysOfMonth
;
info_ret
->
DaysOfWeek
=
job
->
info
.
DaysOfWeek
;
info_ret
->
Flags
=
job
->
info
.
Flags
;
info_ret
->
Command
=
heap_strdupW
(
job
->
info
.
Command
);
*
info
=
info_ret
;
}
}
LeaveCriticalSection
(
&
at_job_list_section
);
return
ret
;
}
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