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
421a26a9
Commit
421a26a9
authored
Nov 25, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qmgr: Implement IBackgroundCopyManager::GetJob().
parent
cd777e54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
3 deletions
+27
-3
qmgr.c
dlls/qmgr/qmgr.c
+27
-3
No files found.
dlls/qmgr/qmgr.c
View file @
421a26a9
...
...
@@ -74,10 +74,34 @@ static HRESULT WINAPI BITS_IBackgroundCopyManager_CreateJob(IBackgroundCopyManag
}
static
HRESULT
WINAPI
BITS_IBackgroundCopyManager_GetJob
(
IBackgroundCopyManager
*
iface
,
REFGUID
jobID
,
IBackgroundCopyJob
**
ppJ
ob
)
REFGUID
jobID
,
IBackgroundCopyJob
**
j
ob
)
{
FIXME
(
"Not implemented
\n
"
);
return
E_NOTIMPL
;
BackgroundCopyManagerImpl
*
qmgr
=
&
globalMgr
;
HRESULT
hr
=
BG_E_NOT_FOUND
;
BackgroundCopyJobImpl
*
cur
;
TRACE
(
"(%s %p)
\n
"
,
debugstr_guid
(
jobID
),
job
);
if
(
!
job
||
!
jobID
)
return
E_INVALIDARG
;
*
job
=
NULL
;
EnterCriticalSection
(
&
qmgr
->
cs
);
LIST_FOR_EACH_ENTRY
(
cur
,
&
qmgr
->
jobs
,
BackgroundCopyJobImpl
,
entryFromQmgr
)
{
if
(
IsEqualGUID
(
&
cur
->
jobId
,
jobID
))
{
*
job
=
(
IBackgroundCopyJob
*
)
&
cur
->
IBackgroundCopyJob2_iface
;
IBackgroundCopyJob2_AddRef
(
&
cur
->
IBackgroundCopyJob2_iface
);
hr
=
S_OK
;
break
;
}
}
LeaveCriticalSection
(
&
qmgr
->
cs
);
return
hr
;
}
static
HRESULT
WINAPI
BITS_IBackgroundCopyManager_EnumJobs
(
IBackgroundCopyManager
*
iface
,
...
...
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