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
945671c6
Commit
945671c6
authored
Jun 27, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added stub implementation of about and res protocols.
parent
a941fe71
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
13 deletions
+29
-13
Makefile.in
dlls/mshtml/Makefile.in
+1
-0
main.c
dlls/mshtml/main.c
+20
-13
mshtml_private.h
dlls/mshtml/mshtml_private.h
+8
-0
protocol.c
dlls/mshtml/protocol.c
+0
-0
No files found.
dlls/mshtml/Makefile.in
View file @
945671c6
...
...
@@ -13,6 +13,7 @@ C_SRCS = \
main.c
\
oleobj.c
\
persist.c
\
protocol.c
\
view.c
RC_SRCS
=
rsrc.rc
...
...
dlls/mshtml/main.c
View file @
945671c6
...
...
@@ -37,14 +37,14 @@
#include "advpub.h"
#include "mshtml.h"
#include "mshtml_private.h"
#include "wine/unicode.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
#include "initguid.h"
#include "mshtml_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
mshtml
);
DEFINE_GUID
(
CLSID_MozillaBrowser
,
0x1339B54C
,
0x3453
,
0x11D2
,
0x93
,
0xB9
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
);
...
...
@@ -207,8 +207,6 @@ HRESULT WINAPI MSHTML_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *pp
HRESULT
hres
;
fnGetClassObject
pGetClassObject
;
TRACE
(
"%s %s %p
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
riid
),
ppv
);
if
(
hMozCtl
&&
IsEqualGUID
(
&
CLSID_HTMLDocument
,
rclsid
))
{
pGetClassObject
=
(
fnGetClassObject
)
GetProcAddress
(
hMozCtl
,
"DllGetClassObject"
);
if
(
pGetClassObject
)
{
...
...
@@ -221,9 +219,23 @@ HRESULT WINAPI MSHTML_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *pp
}
if
(
IsEqualGUID
(
&
CLSID_HTMLDocument
,
rclsid
))
{
hres
=
ClassFactory_Create
(
riid
,
ppv
,
HTMLDocument_Create
);
TRACE
(
"hres = %08lx
\n
"
,
hres
);
return
hres
;
TRACE
(
"(CLSID_HTMLDocument %s %p)
\n
"
,
debugstr_guid
(
riid
),
ppv
);
return
ClassFactory_Create
(
riid
,
ppv
,
HTMLDocument_Create
);
}
else
if
(
IsEqualGUID
(
&
CLSID_AboutProtocol
,
rclsid
))
{
TRACE
(
"(CLSID_AboutProtocol %s %p)
\n
"
,
debugstr_guid
(
riid
),
ppv
);
return
ProtocolFactory_Create
(
rclsid
,
riid
,
ppv
);
}
else
if
(
IsEqualGUID
(
&
CLSID_JSProtocol
,
rclsid
))
{
TRACE
(
"(CLSID_JSProtocol %s %p)
\n
"
,
debugstr_guid
(
riid
),
ppv
);
return
ProtocolFactory_Create
(
rclsid
,
riid
,
ppv
);
}
else
if
(
IsEqualGUID
(
&
CLSID_MailtoProtocol
,
rclsid
))
{
TRACE
(
"(CLSID_MailtoProtocol %s %p)
\n
"
,
debugstr_guid
(
riid
),
ppv
);
return
ProtocolFactory_Create
(
rclsid
,
riid
,
ppv
);
}
else
if
(
IsEqualGUID
(
&
CLSID_ResProtocol
,
rclsid
))
{
TRACE
(
"(CLSID_ResProtocol %s %p)
\n
"
,
debugstr_guid
(
riid
),
ppv
);
return
ProtocolFactory_Create
(
rclsid
,
riid
,
ppv
);
}
else
if
(
IsEqualGUID
(
&
CLSID_SysimageProtocol
,
rclsid
))
{
TRACE
(
"(CLSID_SysimageProtocol %s %p)
\n
"
,
debugstr_guid
(
riid
),
ppv
);
return
ProtocolFactory_Create
(
rclsid
,
riid
,
ppv
);
}
FIXME
(
"Unknown class %s
\n
"
,
debugstr_guid
(
rclsid
));
...
...
@@ -270,7 +282,6 @@ HRESULT WINAPI MSHTML_DllInstall(BOOL bInstall, LPCWSTR cmdline)
return
S_OK
;
}
DEFINE_GUID
(
CLSID_AboutProtocol
,
0x3050F406
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_CAnchorBrowsePropertyPage
,
0x3050F3BB
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_CBackgroundPropertyPage
,
0x3050F232
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_CCDAnchorPropertyPage
,
0x3050F1FC
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
...
...
@@ -296,12 +307,8 @@ DEFINE_GUID(CLSID_HTMLWindowProxy, 0x3050F391, 0x98B5, 0x11CF, 0xBB,0x82, 0x00,0
DEFINE_GUID
(
CLSID_IImageDecodeFilter
,
0x607FD4E8
,
0x0A03
,
0x11D1
,
0xAB
,
0x1D
,
0x00
,
0xC0
,
0x4F
,
0xC9
,
0xB3
,
0x04
);
DEFINE_GUID
(
CLSID_IImgCtx
,
0x3050F3D6
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_IntDitherer
,
0x05F6FE1A
,
0xECEF
,
0x11D0
,
0xAA
,
0xE7
,
0x00
,
0xC0
,
0x4F
,
0xC9
,
0xB3
,
0x04
);
DEFINE_GUID
(
CLSID_JSProtocol
,
0x3050F3B2
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_MHTMLDocument
,
0x3050F3D9
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_MailtoProtocol
,
0x3050F3DA
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_ResProtocol
,
0x3050F3BC
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_Scriptlet
,
0xAE24FDAE
,
0x03C6
,
0x11D1
,
0x8B
,
0x76
,
0x00
,
0x80
,
0xC7
,
0x44
,
0xF3
,
0x89
);
DEFINE_GUID
(
CLSID_SysimageProtocol
,
0x76E67A63
,
0x06E9
,
0x11D2
,
0xA8
,
0x40
,
0x00
,
0x60
,
0x08
,
0x05
,
0x93
,
0x82
);
DEFINE_GUID
(
CLSID_TridentAPI
,
0x429AF92C
,
0xA51F
,
0x11D2
,
0x86
,
0x1E
,
0x00
,
0xC0
,
0x4F
,
0xA3
,
0x5C
,
0x89
);
#define INF_SET_CLSID(clsid) \
...
...
dlls/mshtml/mshtml_private.h
View file @
945671c6
...
...
@@ -54,4 +54,12 @@ void HTMLDocument_Persist_Init(HTMLDocument*);
void
HTMLDocument_OleObj_Init
(
HTMLDocument
*
);
void
HTMLDocument_View_Init
(
HTMLDocument
*
);
HRESULT
ProtocolFactory_Create
(
REFCLSID
,
REFIID
,
void
**
);
DEFINE_GUID
(
CLSID_AboutProtocol
,
0x3050F406
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_JSProtocol
,
0x3050F3B2
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_MailtoProtocol
,
0x3050F3DA
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_ResProtocol
,
0x3050F3BC
,
0x98B5
,
0x11CF
,
0xBB
,
0x82
,
0x00
,
0xAA
,
0x00
,
0xBD
,
0xCE
,
0x0B
);
DEFINE_GUID
(
CLSID_SysimageProtocol
,
0x76E67A63
,
0x06E9
,
0x11D2
,
0xA8
,
0x40
,
0x00
,
0x60
,
0x08
,
0x05
,
0x93
,
0x82
);
extern
HINSTANCE
hInst
;
dlls/mshtml/protocol.c
0 → 100644
View file @
945671c6
This diff is collapsed.
Click to expand it.
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