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
d2520ccf
Commit
d2520ccf
authored
Jul 08, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shdocvw: Added GetMiscStatus test.
parent
d76ed6f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
webbrowser.c
dlls/shdocvw/tests/webbrowser.c
+18
-0
No files found.
dlls/shdocvw/tests/webbrowser.c
View file @
d2520ccf
...
...
@@ -361,6 +361,22 @@ static HWND create_container_window(void)
CW_USEDEFAULT
,
NULL
,
NULL
,
NULL
,
NULL
);
}
static
void
test_GetMiscStatus
(
IOleObject
*
oleobj
)
{
DWORD
st
,
i
;
HRESULT
hres
;
for
(
i
=
0
;
i
<
10
;
i
++
)
{
st
=
0xdeadbeef
;
hres
=
IOleObject_GetMiscStatus
(
oleobj
,
i
,
&
st
);
ok
(
hres
==
S_OK
,
"GetMiscStatus failed: %08lx
\n
"
,
hres
);
ok
(
st
==
(
OLEMISC_SETCLIENTSITEFIRST
|
OLEMISC_ACTIVATEWHENVISIBLE
|
OLEMISC_INSIDEOUT
|
OLEMISC_CANTLINKINSIDE
|
OLEMISC_RECOMPOSEONRESIZE
),
"st=%08lx, expected OLEMISC_SETCLIENTSITEFIRST|OLEMISC_ACTIVATEWHENVISIBLE|"
"OLEMISC_INSIDEOUT|OLEMISC_CANTLINKINSIDE|OLEMISC_RECOMPOSEONRESIZE)
\n
"
,
st
);
}
}
static
void
test_ClientSite
(
IUnknown
*
unk
,
IOleClientSite
*
client
)
{
IOleObject
*
oleobj
;
...
...
@@ -373,6 +389,8 @@ static void test_ClientSite(IUnknown *unk, IOleClientSite *client)
if
(
FAILED
(
hres
))
return
;
test_GetMiscStatus
(
oleobj
);
hres
=
IUnknown_QueryInterface
(
unk
,
&
IID_IOleInPlaceObject
,
(
void
**
)
&
inplace
);
ok
(
hres
==
S_OK
,
"QueryInterface(IID_OleInPlaceObject) failed: %08lx
\n
"
,
hres
);
if
(
FAILED
(
hres
))
{
...
...
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