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
be11c757
Commit
be11c757
authored
Dec 12, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Return S_OK in IOleObject::SetHostNames.
parent
ae7b2c91
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
oleobject.c
dlls/shdocvw/oleobject.c
+5
-2
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+13
-0
No files found.
dlls/shdocvw/oleobject.c
View file @
be11c757
...
...
@@ -355,8 +355,11 @@ static HRESULT WINAPI OleObject_SetHostNames(IOleObject *iface, LPCOLESTR szCont
LPCOLESTR
szContainerObj
)
{
WebBrowser
*
This
=
OLEOBJ_THIS
(
iface
);
FIXME
(
"(%p)->(%s, %s)
\n
"
,
This
,
debugstr_w
(
szContainerApp
),
debugstr_w
(
szContainerObj
));
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%s, %s)
\n
"
,
This
,
debugstr_w
(
szContainerApp
),
debugstr_w
(
szContainerObj
));
/* We have nothing to do here. */
return
S_OK
;
}
static
HRESULT
WINAPI
OleObject_Close
(
IOleObject
*
iface
,
DWORD
dwSaveOption
)
...
...
dlls/shdocvw/tests/webbrowser.c
View file @
be11c757
...
...
@@ -1019,6 +1019,16 @@ static void test_GetMiscStatus(IOleObject *oleobj)
}
}
static
void
test_SetHostNames
(
IOleObject
*
oleobj
)
{
HRESULT
hres
;
static
const
WCHAR
test_appW
[]
=
{
't'
,
'e'
,
's'
,
't'
,
' '
,
'a'
,
'p'
,
'p'
,
0
};
hres
=
IOleObject_SetHostNames
(
oleobj
,
test_appW
,
(
void
*
)
0xdeadbeef
);
ok
(
hres
==
S_OK
,
"SetHostNames failed: %08x
\n
"
,
hres
);
}
static
void
test_ClientSite
(
IUnknown
*
unk
,
IOleClientSite
*
client
)
{
IOleObject
*
oleobj
;
...
...
@@ -1032,6 +1042,7 @@ static void test_ClientSite(IUnknown *unk, IOleClientSite *client)
return
;
test_GetMiscStatus
(
oleobj
);
test_SetHostNames
(
oleobj
);
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IOleInPlaceObject
,
(
void
**
)
&
inplace
);
ok
(
hres
==
S_OK
,
"QueryInterface(IID_OleInPlaceObject) failed: %08x
\n
"
,
hres
);
...
...
@@ -1071,6 +1082,8 @@ static void test_ClientSite(IUnknown *unk, IOleClientSite *client)
shell_embedding_hwnd
=
hwnd
;
test_SetHostNames
(
oleobj
);
IOleInPlaceObject_Release
(
inplace
);
IOleObject_Release
(
oleobj
);
}
...
...
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