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
ba87de83
Commit
ba87de83
authored
Nov 09, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieframe: Don't use WINAPI in internal functions.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
abe564ad
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
18 deletions
+18
-18
dochost.c
dlls/ieframe/dochost.c
+1
-1
frame.c
dlls/ieframe/frame.c
+1
-1
ieframe.h
dlls/ieframe/ieframe.h
+3
-3
iexplore.c
dlls/ieframe/iexplore.c
+6
-6
navigate.c
dlls/ieframe/navigate.c
+1
-1
webbrowser.c
dlls/ieframe/webbrowser.c
+6
-6
No files found.
dlls/ieframe/dochost.c
View file @
ba87de83
...
...
@@ -500,7 +500,7 @@ void create_doc_view_hwnd(DocHost *This)
doc_view_atom
=
RegisterClassExW
(
&
wndclass
);
}
This
->
container_vtbl
->
GetDocObjR
ect
(
This
,
&
rect
);
This
->
container_vtbl
->
get_docobj_r
ect
(
This
,
&
rect
);
This
->
hwnd
=
CreateWindowExW
(
0
,
wszShell_DocObject_View
,
wszShell_DocObject_View
,
WS_CHILD
|
WS_VISIBLE
|
WS_CLIPSIBLINGS
|
WS_CLIPCHILDREN
|
WS_TABSTOP
,
...
...
dlls/ieframe/frame.c
View file @
ba87de83
...
...
@@ -141,7 +141,7 @@ static HRESULT WINAPI InPlaceFrame_SetStatusText(IOleInPlaceFrame *iface,
{
DocHost
*
This
=
impl_from_IOleInPlaceFrame
(
iface
);
TRACE
(
"(%p)->(%s)
\n
"
,
This
,
debugstr_w
(
pszStatusText
));
return
This
->
container_vtbl
->
SetStatusT
ext
(
This
,
pszStatusText
);
return
This
->
container_vtbl
->
set_status_t
ext
(
This
,
pszStatusText
);
}
static
HRESULT
WINAPI
InPlaceFrame_EnableModeless
(
IOleInPlaceFrame
*
iface
,
BOOL
fEnable
)
...
...
dlls/ieframe/ieframe.h
View file @
ba87de83
...
...
@@ -103,10 +103,10 @@ typedef struct _IDocHostContainerVtbl
{
ULONG
(
*
addref
)(
DocHost
*
);
ULONG
(
*
release
)(
DocHost
*
);
void
(
WINAPI
*
GetDocObjR
ect
)(
DocHost
*
,
RECT
*
);
HRESULT
(
WINAPI
*
SetStatusText
)(
DocHost
*
,
LPCWSTR
);
void
(
*
get_docobj_r
ect
)(
DocHost
*
,
RECT
*
);
HRESULT
(
*
set_status_text
)(
DocHost
*
,
const
WCHAR
*
);
void
(
*
on_command_state_change
)(
DocHost
*
,
LONG
,
BOOL
);
void
(
WINAPI
*
SetURL
)(
DocHost
*
,
LPCWSTR
);
void
(
*
set_url
)(
DocHost
*
,
const
WCHAR
*
);
}
IDocHostContainerVtbl
;
struct
DocHost
{
...
...
dlls/ieframe/iexplore.c
View file @
ba87de83
...
...
@@ -754,13 +754,13 @@ static ULONG IEDocHost_release(DocHost *iface)
return
IWebBrowser2_Release
(
&
This
->
IWebBrowser2_iface
);
}
static
void
WINAPI
DocHostContainer_GetDocObjRect
(
DocHost
*
This
,
RECT
*
rc
)
static
void
DocHostContainer_get_docobj_rect
(
DocHost
*
This
,
RECT
*
rc
)
{
GetClientRect
(
This
->
frame_hwnd
,
rc
);
adjust_ie_docobj_rect
(
This
->
frame_hwnd
,
rc
);
}
static
HRESULT
WINAPI
DocHostContainer_SetStatusText
(
DocHost
*
iface
,
LPCWSTR
text
)
static
HRESULT
DocHostContainer_set_status_text
(
DocHost
*
iface
,
const
WCHAR
*
text
)
{
InternetExplorer
*
This
=
impl_from_DocHost
(
iface
);
return
update_ie_statustext
(
This
,
text
);
...
...
@@ -780,7 +780,7 @@ static void DocHostContainer_on_command_state_change(DocHost *iface, LONG comman
}
}
static
void
WINAPI
DocHostContainer_SetURL
(
DocHost
*
iface
,
LPCWSTR
url
)
static
void
DocHostContainer_set_url
(
DocHost
*
iface
,
const
WCHAR
*
url
)
{
InternetExplorer
*
This
=
impl_from_DocHost
(
iface
);
...
...
@@ -791,10 +791,10 @@ static void WINAPI DocHostContainer_SetURL(DocHost* iface, LPCWSTR url)
static
const
IDocHostContainerVtbl
DocHostContainerVtbl
=
{
IEDocHost_addref
,
IEDocHost_release
,
DocHostContainer_
GetDocObjR
ect
,
DocHostContainer_
SetStatusT
ext
,
DocHostContainer_
get_docobj_r
ect
,
DocHostContainer_
set_status_t
ext
,
DocHostContainer_on_command_state_change
,
DocHostContainer_
SetURL
DocHostContainer_
set_url
};
static
HRESULT
create_ie
(
InternetExplorer
**
ret_obj
)
...
...
dlls/ieframe/navigate.c
View file @
ba87de83
...
...
@@ -142,7 +142,7 @@ HRESULT set_dochost_url(DocHost *This, const WCHAR *url)
heap_free
(
This
->
url
);
This
->
url
=
new_url
;
This
->
container_vtbl
->
SetURL
(
This
,
This
->
url
);
This
->
container_vtbl
->
set_url
(
This
,
This
->
url
);
return
S_OK
;
}
...
...
dlls/ieframe/webbrowser.c
View file @
ba87de83
...
...
@@ -1194,12 +1194,12 @@ static ULONG WebBrowser_release(DocHost *iface)
return
IWebBrowser2_Release
(
&
This
->
IWebBrowser2_iface
);
}
static
void
WINAPI
DocHostContainer_GetDocObjRect
(
DocHost
*
This
,
RECT
*
rc
)
static
void
DocHostContainer_get_docobj_rect
(
DocHost
*
This
,
RECT
*
rc
)
{
GetClientRect
(
This
->
frame_hwnd
,
rc
);
}
static
HRESULT
WINAPI
DocHostContainer_SetStatusText
(
DocHost
*
This
,
LPCWSTR
text
)
static
HRESULT
DocHostContainer_set_status_text
(
DocHost
*
This
,
const
WCHAR
*
text
)
{
return
E_NOTIMPL
;
}
...
...
@@ -1208,17 +1208,17 @@ static void DocHostContainer_on_command_state_change(DocHost *This, LONG command
{
}
static
void
WINAPI
DocHostContainer_SetURL
(
DocHost
*
This
,
LPCWSTR
url
)
static
void
DocHostContainer_set_url
(
DocHost
*
This
,
const
WCHAR
*
url
)
{
}
static
const
IDocHostContainerVtbl
DocHostContainerVtbl
=
{
WebBrowser_addref
,
WebBrowser_release
,
DocHostContainer_
GetDocObjR
ect
,
DocHostContainer_
SetStatusT
ext
,
DocHostContainer_
get_docobj_r
ect
,
DocHostContainer_
set_status_t
ext
,
DocHostContainer_on_command_state_change
,
DocHostContainer_
SetURL
DocHostContainer_
set_url
};
static
HRESULT
create_webbrowser
(
int
version
,
IUnknown
*
outer
,
REFIID
riid
,
void
**
ppv
)
...
...
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