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
186d8553
Commit
186d8553
authored
Jul 14, 2013
by
Thomas Faber
Committed by
Alexandre Julliard
Jul 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Use SHANDLE_PTR in IWebBrowserApp::get_HWND.
parent
3799d55d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
ie.c
dlls/ieframe/ie.c
+1
-1
webbrowser.c
dlls/ieframe/tests/webbrowser.c
+2
-2
webbrowser.c
dlls/ieframe/webbrowser.c
+1
-1
htmldoc.c
dlls/mshtml/tests/htmldoc.c
+1
-1
exdisp.idl
include/exdisp.idl
+1
-1
No files found.
dlls/ieframe/ie.c
View file @
186d8553
...
@@ -355,7 +355,7 @@ static HRESULT WINAPI InternetExplorer_get_Name(IWebBrowser2 *iface, BSTR *Name)
...
@@ -355,7 +355,7 @@ static HRESULT WINAPI InternetExplorer_get_Name(IWebBrowser2 *iface, BSTR *Name)
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
InternetExplorer_get_HWND
(
IWebBrowser2
*
iface
,
LONG
*
pHWND
)
static
HRESULT
WINAPI
InternetExplorer_get_HWND
(
IWebBrowser2
*
iface
,
SHANDLE_PTR
*
pHWND
)
{
{
InternetExplorer
*
This
=
impl_from_IWebBrowser2
(
iface
);
InternetExplorer
*
This
=
impl_from_IWebBrowser2
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pHWND
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pHWND
);
...
...
dlls/ieframe/tests/webbrowser.c
View file @
186d8553
...
@@ -2052,7 +2052,7 @@ static void test_ie_funcs(IWebBrowser2 *wb)
...
@@ -2052,7 +2052,7 @@ static void test_ie_funcs(IWebBrowser2 *wb)
IDispatch
*
disp
;
IDispatch
*
disp
;
VARIANT_BOOL
b
;
VARIANT_BOOL
b
;
int
i
;
int
i
;
LONG
hwnd
;
SHANDLE_PTR
hwnd
;
HRESULT
hres
;
HRESULT
hres
;
BSTR
sName
;
BSTR
sName
;
...
@@ -2061,7 +2061,7 @@ static void test_ie_funcs(IWebBrowser2 *wb)
...
@@ -2061,7 +2061,7 @@ static void test_ie_funcs(IWebBrowser2 *wb)
hwnd
=
0xdeadbeef
;
hwnd
=
0xdeadbeef
;
hres
=
IWebBrowser2_get_HWND
(
wb
,
&
hwnd
);
hres
=
IWebBrowser2_get_HWND
(
wb
,
&
hwnd
);
ok
(
hres
==
E_FAIL
,
"get_HWND failed: %08x, expected E_FAIL
\n
"
,
hres
);
ok
(
hres
==
E_FAIL
,
"get_HWND failed: %08x, expected E_FAIL
\n
"
,
hres
);
ok
(
hwnd
==
0
,
"unexpected hwnd %
x
\n
"
,
hwnd
);
ok
(
hwnd
==
0
,
"unexpected hwnd %
p
\n
"
,
(
PVOID
)
hwnd
);
/* MenuBar */
/* MenuBar */
...
...
dlls/ieframe/webbrowser.c
View file @
186d8553
...
@@ -565,7 +565,7 @@ static HRESULT WINAPI WebBrowser_get_Name(IWebBrowser2 *iface, BSTR *Name)
...
@@ -565,7 +565,7 @@ static HRESULT WINAPI WebBrowser_get_Name(IWebBrowser2 *iface, BSTR *Name)
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
WebBrowser_get_HWND
(
IWebBrowser2
*
iface
,
LONG
*
pHWND
)
static
HRESULT
WINAPI
WebBrowser_get_HWND
(
IWebBrowser2
*
iface
,
SHANDLE_PTR
*
pHWND
)
{
{
WebBrowser
*
This
=
impl_from_IWebBrowser2
(
iface
);
WebBrowser
*
This
=
impl_from_IWebBrowser2
(
iface
);
...
...
dlls/mshtml/tests/htmldoc.c
View file @
186d8553
...
@@ -4455,7 +4455,7 @@ static HRESULT WINAPI WebBrowser_get_Name(IWebBrowser2 *iface, BSTR *Name)
...
@@ -4455,7 +4455,7 @@ static HRESULT WINAPI WebBrowser_get_Name(IWebBrowser2 *iface, BSTR *Name)
return
E_NOTIMPL
;
return
E_NOTIMPL
;
}
}
static
HRESULT
WINAPI
WebBrowser_get_HWND
(
IWebBrowser2
*
iface
,
LONG
*
pHWND
)
static
HRESULT
WINAPI
WebBrowser_get_HWND
(
IWebBrowser2
*
iface
,
SHANDLE_PTR
*
pHWND
)
{
{
ok
(
0
,
"unexpected call
\n
"
);
ok
(
0
,
"unexpected call
\n
"
);
return
E_NOTIMPL
;
return
E_NOTIMPL
;
...
...
include/exdisp.idl
View file @
186d8553
...
@@ -230,7 +230,7 @@ interface IWebBrowserApp : IWebBrowser
...
@@ -230,7 +230,7 @@ interface IWebBrowserApp : IWebBrowser
[
id
(
302
)
]
HRESULT
PutProperty
(
[
in
]
BSTR
Property
,
[
in
]
VARIANT
vtValue
)
;
[
id
(
302
)
]
HRESULT
PutProperty
(
[
in
]
BSTR
Property
,
[
in
]
VARIANT
vtValue
)
;
[
id
(
303
)
]
HRESULT
GetProperty
(
[
in
]
BSTR
Property
,
[
out
,
retval
]
VARIANT
*
pvtValue
)
;
[
id
(
303
)
]
HRESULT
GetProperty
(
[
in
]
BSTR
Property
,
[
out
,
retval
]
VARIANT
*
pvtValue
)
;
[
id
(
0
),
propget
]
HRESULT
Name
(
[
out
,
retval
]
BSTR
*
Name
)
;
[
id
(
0
),
propget
]
HRESULT
Name
(
[
out
,
retval
]
BSTR
*
Name
)
;
[
id
(
DISPID_HWND
),
propget
]
HRESULT
HWND
(
[
out
,
retval
]
long
*
pHWND
)
;
[
id
(
DISPID_HWND
),
propget
]
HRESULT
HWND
(
[
out
,
retval
]
SHANDLE_PTR
*
pHWND
)
;
[
id
(
400
),
propget
]
HRESULT
FullName
(
[
out
,
retval
]
BSTR
*
FullName
)
;
[
id
(
400
),
propget
]
HRESULT
FullName
(
[
out
,
retval
]
BSTR
*
FullName
)
;
[
id
(
401
),
propget
]
HRESULT
Path
(
[
out
,
retval
]
BSTR
*
Path
)
;
[
id
(
401
),
propget
]
HRESULT
Path
(
[
out
,
retval
]
BSTR
*
Path
)
;
[
id
(
402
),
propget
]
HRESULT
Visible
(
[
out
,
retval
]
VARIANT_BOOL
*
pBool
)
;
[
id
(
402
),
propget
]
HRESULT
Visible
(
[
out
,
retval
]
VARIANT_BOOL
*
pBool
)
;
...
...
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