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
734417a4
Commit
734417a4
authored
Feb 19, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskschd: Make ITaskDefinition a part of IRegisteredTask implementation.
parent
9c6e7dea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
regtask.c
dlls/taskschd/regtask.c
+4
-0
No files found.
dlls/taskschd/regtask.c
View file @
734417a4
...
...
@@ -37,6 +37,7 @@ typedef struct
IRegisteredTask
IRegisteredTask_iface
;
LONG
ref
;
WCHAR
*
path
;
ITaskDefinition
*
taskdef
;
}
RegisteredTask
;
static
inline
RegisteredTask
*
impl_from_IRegisteredTask
(
IRegisteredTask
*
iface
)
...
...
@@ -58,6 +59,7 @@ static ULONG WINAPI regtask_Release(IRegisteredTask *iface)
if
(
!
ref
)
{
TRACE
(
"destroying %p
\n
"
,
iface
);
ITaskDefinition_Release
(
regtask
->
taskdef
);
heap_free
(
regtask
->
path
);
heap_free
(
regtask
);
}
...
...
@@ -262,6 +264,8 @@ HRESULT RegisteredTask_create(const WCHAR *path, const WCHAR *name, ITaskDefinit
regtask
->
IRegisteredTask_iface
.
lpVtbl
=
&
RegisteredTask_vtbl
;
regtask
->
path
=
heap_strdupW
(
path
);
regtask
->
ref
=
1
;
ITaskDefinition_AddRef
(
definition
);
regtask
->
taskdef
=
definition
;
*
obj
=
&
regtask
->
IRegisteredTask_iface
;
TRACE
(
"created %p
\n
"
,
*
obj
);
...
...
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