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
3f051823
Commit
3f051823
authored
Aug 09, 2006
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 09, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Load the page from moniker if we don't have nsIChannel.
parent
84d93d19
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
mshtml_private.h
dlls/mshtml/mshtml_private.h
+5
-0
nsio.c
dlls/mshtml/nsio.c
+3
-0
persist.c
dlls/mshtml/persist.c
+1
-1
No files found.
dlls/mshtml/mshtml_private.h
View file @
3f051823
...
...
@@ -27,6 +27,9 @@
#include "nsiface.h"
#define GENERATE_MSHTML_NS_FAILURE(code) \
((nsresult) ((PRUint32)(1<<31) | ((PRUint32)(0x45+6)<<16) | (PRUint32)(code)))
#define NS_OK ((nsresult)0x00000000L)
#define NS_ERROR_FAILURE ((nsresult)0x80004005L)
#define NS_NOINTERFACE ((nsresult)0x80004002L)
...
...
@@ -35,6 +38,8 @@
#define NS_ERROR_UNEXPECTED ((nsresult)0x8000ffffL)
#define NS_ERROR_UNKNOWN_PROTOCOL ((nsresult)0x804b0012L)
#define WINE_NS_LOAD_FROM_MONIKER GENERATE_MSHTML_NS_FAILURE(0)
#define NS_FAILED(res) ((res) & 0x80000000)
#define NS_SUCCEEDED(res) (!NS_FAILED(res))
...
...
dlls/mshtml/nsio.c
View file @
3f051823
...
...
@@ -596,6 +596,9 @@ static nsresult NSAPI nsChannel_AsyncOpen(nsIHttpChannel *iface, nsIStreamListen
}
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
container
));
if
(
!
This
->
channel
)
return
WINE_NS_LOAD_FROM_MONIKER
;
}
else
{
BOOL
cont
=
before_async_open
(
This
,
container
);
nsIWebBrowserChrome_Release
(
NSWBCHROME
(
container
));
...
...
dlls/mshtml/persist.c
View file @
3f051823
...
...
@@ -237,7 +237,7 @@ static HRESULT WINAPI PersistMoniker_Load(IPersistMoniker *iface, BOOL fFullyAva
IBindStatusCallback_Release
(
STATUSCLB
(
bscallback
));
CoTaskMemFree
(
url
);
return
S_OK
;
}
else
{
}
else
if
(
nsres
!=
WINE_NS_LOAD_FROM_MONIKER
)
{
WARN
(
"LoadURI failed: %08lx
\n
"
,
nsres
);
}
}
...
...
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