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
15bfd4a9
Commit
15bfd4a9
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: Added parameter tracing for Job and Manager, make naming more compact.
parent
421a26a9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
+23
-23
job.c
dlls/qmgr/job.c
+0
-0
qmgr.c
dlls/qmgr/qmgr.c
+23
-23
No files found.
dlls/qmgr/job.c
View file @
15bfd4a9
This diff is collapsed.
Click to expand it.
dlls/qmgr/qmgr.c
View file @
15bfd4a9
...
...
@@ -25,10 +25,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(qmgr);
BackgroundCopyManagerImpl
globalMgr
;
static
HRESULT
WINAPI
B
ITS_IB
ackgroundCopyManager_QueryInterface
(
IBackgroundCopyManager
*
iface
,
static
HRESULT
WINAPI
BackgroundCopyManager_QueryInterface
(
IBackgroundCopyManager
*
iface
,
REFIID
riid
,
void
**
ppv
)
{
TRACE
(
"(%
p,%s,%p)
\n
"
,
iface
,
debugstr_guid
(
riid
),
ppv
);
TRACE
(
"(%
s, %p)
\n
"
,
debugstr_guid
(
riid
),
ppv
);
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IBackgroundCopyManager
))
{
...
...
@@ -41,24 +41,25 @@ static HRESULT WINAPI BITS_IBackgroundCopyManager_QueryInterface(IBackgroundCopy
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
B
ITS_IB
ackgroundCopyManager_AddRef
(
IBackgroundCopyManager
*
iface
)
static
ULONG
WINAPI
BackgroundCopyManager_AddRef
(
IBackgroundCopyManager
*
iface
)
{
return
2
;
}
static
ULONG
WINAPI
B
ITS_IB
ackgroundCopyManager_Release
(
IBackgroundCopyManager
*
iface
)
static
ULONG
WINAPI
BackgroundCopyManager_Release
(
IBackgroundCopyManager
*
iface
)
{
return
1
;
}
/*** IBackgroundCopyManager interface methods ***/
static
HRESULT
WINAPI
B
ITS_IB
ackgroundCopyManager_CreateJob
(
IBackgroundCopyManager
*
iface
,
static
HRESULT
WINAPI
BackgroundCopyManager_CreateJob
(
IBackgroundCopyManager
*
iface
,
LPCWSTR
DisplayName
,
BG_JOB_TYPE
Type
,
GUID
*
pJobId
,
IBackgroundCopyJob
**
ppJob
)
{
BackgroundCopyJobImpl
*
job
;
HRESULT
hres
;
TRACE
(
"
\n
"
);
TRACE
(
"(%s %d %p %p)
\n
"
,
debugstr_w
(
DisplayName
),
Type
,
pJobId
,
ppJob
);
hres
=
BackgroundCopyJobConstructor
(
DisplayName
,
Type
,
pJobId
,
&
job
);
if
(
FAILED
(
hres
))
...
...
@@ -73,7 +74,7 @@ static HRESULT WINAPI BITS_IBackgroundCopyManager_CreateJob(IBackgroundCopyManag
return
S_OK
;
}
static
HRESULT
WINAPI
B
ITS_IB
ackgroundCopyManager_GetJob
(
IBackgroundCopyManager
*
iface
,
static
HRESULT
WINAPI
BackgroundCopyManager_GetJob
(
IBackgroundCopyManager
*
iface
,
REFGUID
jobID
,
IBackgroundCopyJob
**
job
)
{
BackgroundCopyManagerImpl
*
qmgr
=
&
globalMgr
;
...
...
@@ -104,34 +105,33 @@ static HRESULT WINAPI BITS_IBackgroundCopyManager_GetJob(IBackgroundCopyManager
return
hr
;
}
static
HRESULT
WINAPI
B
ITS_IB
ackgroundCopyManager_EnumJobs
(
IBackgroundCopyManager
*
iface
,
DWORD
dwF
lags
,
IEnumBackgroundCopyJobs
**
ppEnum
)
static
HRESULT
WINAPI
BackgroundCopyManager_EnumJobs
(
IBackgroundCopyManager
*
iface
,
DWORD
f
lags
,
IEnumBackgroundCopyJobs
**
ppEnum
)
{
TRACE
(
"
\n
"
);
TRACE
(
"
(0x%x %p)
\n
"
,
flags
,
ppEnum
);
return
enum_copy_job_create
(
&
globalMgr
,
ppEnum
);
}
static
HRESULT
WINAPI
B
ITS_IB
ackgroundCopyManager_GetErrorDescription
(
IBackgroundCopyManager
*
iface
,
HRESULT
h
Result
,
DWORD
LanguageId
,
LPWSTR
*
pErrorD
escription
)
static
HRESULT
WINAPI
BackgroundCopyManager_GetErrorDescription
(
IBackgroundCopyManager
*
iface
,
HRESULT
h
r
,
DWORD
langid
,
LPWSTR
*
error_d
escription
)
{
FIXME
(
"
Not implemented
\n
"
);
FIXME
(
"
(0x%08x 0x%x %p): stub
\n
"
,
hr
,
langid
,
error_description
);
return
E_NOTIMPL
;
}
static
const
IBackgroundCopyManagerVtbl
BITS_IBackgroundCopyManager_Vtbl
=
static
const
IBackgroundCopyManagerVtbl
BackgroundCopyManagerVtbl
=
{
B
ITS_IB
ackgroundCopyManager_QueryInterface
,
B
ITS_IB
ackgroundCopyManager_AddRef
,
B
ITS_IB
ackgroundCopyManager_Release
,
B
ITS_IB
ackgroundCopyManager_CreateJob
,
B
ITS_IB
ackgroundCopyManager_GetJob
,
B
ITS_IB
ackgroundCopyManager_EnumJobs
,
B
ITS_IB
ackgroundCopyManager_GetErrorDescription
BackgroundCopyManager_QueryInterface
,
BackgroundCopyManager_AddRef
,
BackgroundCopyManager_Release
,
BackgroundCopyManager_CreateJob
,
BackgroundCopyManager_GetJob
,
BackgroundCopyManager_EnumJobs
,
BackgroundCopyManager_GetErrorDescription
};
BackgroundCopyManagerImpl
globalMgr
=
{
{
&
B
ITS_IBackgroundCopyManager_
Vtbl
},
{
&
B
ackgroundCopyManager
Vtbl
},
{
NULL
,
-
1
,
0
,
0
,
0
,
0
},
NULL
,
LIST_INIT
(
globalMgr
.
jobs
)
...
...
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