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
a36e0349
Commit
a36e0349
authored
Apr 24, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbgeng: Add IDebugAdvanced stub.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
173c720e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
dbgeng.c
dlls/dbgeng/dbgeng.c
+58
-0
No files found.
dlls/dbgeng/dbgeng.c
View file @
a36e0349
...
...
@@ -67,6 +67,7 @@ struct debug_client
IDebugDataSpaces
IDebugDataSpaces_iface
;
IDebugSymbols3
IDebugSymbols3_iface
;
IDebugControl2
IDebugControl2_iface
;
IDebugAdvanced
IDebugAdvanced_iface
;
LONG
refcount
;
ULONG
engine_options
;
struct
list
targets
;
...
...
@@ -259,6 +260,11 @@ static struct debug_client *impl_from_IDebugControl2(IDebugControl2 *iface)
return
CONTAINING_RECORD
(
iface
,
struct
debug_client
,
IDebugControl2_iface
);
}
static
struct
debug_client
*
impl_from_IDebugAdvanced
(
IDebugAdvanced
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
struct
debug_client
,
IDebugAdvanced_iface
);
}
static
HRESULT
STDMETHODCALLTYPE
debugclient_QueryInterface
(
IDebugClient
*
iface
,
REFIID
riid
,
void
**
obj
)
{
struct
debug_client
*
debug_client
=
impl_from_IDebugClient
(
iface
);
...
...
@@ -285,6 +291,10 @@ static HRESULT STDMETHODCALLTYPE debugclient_QueryInterface(IDebugClient *iface,
{
*
obj
=
&
debug_client
->
IDebugControl2_iface
;
}
else
if
(
IsEqualIID
(
riid
,
&
IID_IDebugAdvanced
))
{
*
obj
=
&
debug_client
->
IDebugAdvanced_iface
;
}
else
{
WARN
(
"Unsupported interface %s.
\n
"
,
debugstr_guid
(
riid
));
...
...
@@ -3289,6 +3299,53 @@ static const IDebugControl2Vtbl debugcontrolvtbl =
debugcontrol_OutputTextReplacements
,
};
static
HRESULT
STDMETHODCALLTYPE
debugadvanced_QueryInterface
(
IDebugAdvanced
*
iface
,
REFIID
riid
,
void
**
obj
)
{
struct
debug_client
*
debug_client
=
impl_from_IDebugAdvanced
(
iface
);
IUnknown
*
unk
=
(
IUnknown
*
)
&
debug_client
->
IDebugClient_iface
;
return
IUnknown_QueryInterface
(
unk
,
riid
,
obj
);
}
static
ULONG
STDMETHODCALLTYPE
debugadvanced_AddRef
(
IDebugAdvanced
*
iface
)
{
struct
debug_client
*
debug_client
=
impl_from_IDebugAdvanced
(
iface
);
IUnknown
*
unk
=
(
IUnknown
*
)
&
debug_client
->
IDebugClient_iface
;
return
IUnknown_AddRef
(
unk
);
}
static
ULONG
STDMETHODCALLTYPE
debugadvanced_Release
(
IDebugAdvanced
*
iface
)
{
struct
debug_client
*
debug_client
=
impl_from_IDebugAdvanced
(
iface
);
IUnknown
*
unk
=
(
IUnknown
*
)
&
debug_client
->
IDebugClient_iface
;
return
IUnknown_Release
(
unk
);
}
static
HRESULT
STDMETHODCALLTYPE
debugadvanced_GetThreadContext
(
IDebugAdvanced
*
iface
,
void
*
context
,
ULONG
context_size
)
{
FIXME
(
"%p, %p, %u stub.
\n
"
,
iface
,
context
,
context_size
);
return
E_NOTIMPL
;
}
static
HRESULT
STDMETHODCALLTYPE
debugadvanced_SetThreadContext
(
IDebugAdvanced
*
iface
,
void
*
context
,
ULONG
context_size
)
{
FIXME
(
"%p, %p, %u stub.
\n
"
,
iface
,
context
,
context_size
);
return
E_NOTIMPL
;
}
static
const
IDebugAdvancedVtbl
debugadvancedvtbl
=
{
debugadvanced_QueryInterface
,
debugadvanced_AddRef
,
debugadvanced_Release
,
/* IDebugAdvanced */
debugadvanced_GetThreadContext
,
debugadvanced_SetThreadContext
,
};
/************************************************************
* DebugExtensionInitialize (DBGENG.@)
*
...
...
@@ -3333,6 +3390,7 @@ HRESULT WINAPI DebugCreate(REFIID riid, void **obj)
debug_client
->
IDebugDataSpaces_iface
.
lpVtbl
=
&
debugdataspacesvtbl
;
debug_client
->
IDebugSymbols3_iface
.
lpVtbl
=
&
debugsymbolsvtbl
;
debug_client
->
IDebugControl2_iface
.
lpVtbl
=
&
debugcontrolvtbl
;
debug_client
->
IDebugAdvanced_iface
.
lpVtbl
=
&
debugadvancedvtbl
;
debug_client
->
refcount
=
1
;
list_init
(
&
debug_client
->
targets
);
...
...
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