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
c5d945c9
Commit
c5d945c9
authored
Jun 13, 2018
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mstask: Implement ITask::GetWorkItemData().
Signed-off-by:
Dmitry Timoshkov
<
dmitry@baikal.ru
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c00fbb5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
6 deletions
+19
-6
task.c
dlls/mstask/task.c
+19
-6
No files found.
dlls/mstask/task.c
View file @
c5d945c9
...
@@ -840,13 +840,26 @@ static HRESULT WINAPI MSTASK_ITask_SetWorkItemData(ITask *iface, WORD count, BYT
...
@@ -840,13 +840,26 @@ static HRESULT WINAPI MSTASK_ITask_SetWorkItemData(ITask *iface, WORD count, BYT
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
MSTASK_ITask_GetWorkItemData
(
static
HRESULT
WINAPI
MSTASK_ITask_GetWorkItemData
(
ITask
*
iface
,
WORD
*
count
,
BYTE
**
data
)
ITask
*
iface
,
WORD
*
pcBytes
,
BYTE
**
ppBytes
)
{
{
FIXME
(
"(%p, %p, %p): stub
\n
"
,
iface
,
pcBytes
,
ppBytes
);
TaskImpl
*
This
=
impl_from_ITask
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"(%p, %p, %p)
\n
"
,
iface
,
count
,
data
);
if
(
!
This
->
data
)
{
*
count
=
0
;
*
data
=
NULL
;
}
else
{
*
data
=
CoTaskMemAlloc
(
This
->
data_count
);
if
(
!*
data
)
return
E_OUTOFMEMORY
;
memcpy
(
*
data
,
This
->
data
,
This
->
data_count
);
*
count
=
This
->
data_count
;
}
return
S_OK
;
}
}
static
HRESULT
WINAPI
MSTASK_ITask_SetErrorRetryCount
(
static
HRESULT
WINAPI
MSTASK_ITask_SetErrorRetryCount
(
...
...
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