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
c5327934
Commit
c5327934
authored
Jul 14, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added MSHTML library declaration.
parent
37773dda
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
31 deletions
+41
-31
main.c
dlls/mshtml/main.c
+9
-6
mshtml.inf
dlls/mshtml/mshtml.inf
+1
-1
mshtml.idl
include/mshtml.idl
+31
-24
No files found.
dlls/mshtml/main.c
View file @
c5327934
...
@@ -109,7 +109,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
...
@@ -109,7 +109,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
if
(
!
hMozCtl
)
if
(
!
hMozCtl
)
ERR
(
"Can't load the Mozilla ActiveX control
\n
"
);
ERR
(
"Can't load the Mozilla ActiveX control
\n
"
);
}
else
{
}
else
{
TRACE
(
"Not found Mozilla ActiveX Control. HTML rendering will be disabled."
);
TRACE
(
"Not found Mozilla ActiveX Control. HTML rendering will be disabled.
\n
"
);
}
}
hInst
=
hInstDLL
;
hInst
=
hInstDLL
;
break
;
break
;
...
@@ -312,9 +312,11 @@ DEFINE_GUID(CLSID_MHTMLDocument, 0x3050F3D9, 0x98B5, 0x11CF, 0xBB,0x82, 0x00,0xA
...
@@ -312,9 +312,11 @@ DEFINE_GUID(CLSID_MHTMLDocument, 0x3050F3D9, 0x98B5, 0x11CF, 0xBB,0x82, 0x00,0xA
DEFINE_GUID
(
CLSID_Scriptlet
,
0xAE24FDAE
,
0x03C6
,
0x11D1
,
0x8B
,
0x76
,
0x00
,
0x80
,
0xC7
,
0x44
,
0xF3
,
0x89
);
DEFINE_GUID
(
CLSID_Scriptlet
,
0xAE24FDAE
,
0x03C6
,
0x11D1
,
0x8B
,
0x76
,
0x00
,
0x80
,
0xC7
,
0x44
,
0xF3
,
0x89
);
DEFINE_GUID
(
CLSID_TridentAPI
,
0x429AF92C
,
0xA51F
,
0x11D2
,
0x86
,
0x1E
,
0x00
,
0xC0
,
0x4F
,
0xA3
,
0x5C
,
0x89
);
DEFINE_GUID
(
CLSID_TridentAPI
,
0x429AF92C
,
0xA51F
,
0x11D2
,
0x86
,
0x1E
,
0x00
,
0xC0
,
0x4F
,
0xA3
,
0x5C
,
0x89
);
#define INF_SET_CLSID(clsid) \
#define INF_SET_ID(id) \
pse[i].pszName = "CLSID_" #clsid; \
pse[i].pszName = #id; \
clsids[i++] = &CLSID_ ## clsid;
clsids[i++] = &id;
#define INF_SET_CLSID(clsid) INF_SET_ID(CLSID_ ## clsid)
static
HRESULT
register_server
(
BOOL
do_register
)
static
HRESULT
register_server
(
BOOL
do_register
)
{
{
...
@@ -322,8 +324,8 @@ static HRESULT register_server(BOOL do_register)
...
@@ -322,8 +324,8 @@ static HRESULT register_server(BOOL do_register)
HMODULE
hAdvpack
;
HMODULE
hAdvpack
;
typeof
(
RegInstall
)
*
pRegInstall
;
typeof
(
RegInstall
)
*
pRegInstall
;
STRTABLE
strtable
;
STRTABLE
strtable
;
STRENTRY
pse
[
3
4
];
STRENTRY
pse
[
3
5
];
static
CLSID
const
*
clsids
[
3
4
];
static
CLSID
const
*
clsids
[
3
5
];
int
i
=
0
;
int
i
=
0
;
static
const
WCHAR
wszAdvpack
[]
=
{
'a'
,
'd'
,
'v'
,
'p'
,
'a'
,
'c'
,
'k'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
static
const
WCHAR
wszAdvpack
[]
=
{
'a'
,
'd'
,
'v'
,
'p'
,
'a'
,
'c'
,
'k'
,
'.'
,
'd'
,
'l'
,
'l'
,
0
};
...
@@ -364,6 +366,7 @@ static HRESULT register_server(BOOL do_register)
...
@@ -364,6 +366,7 @@ static HRESULT register_server(BOOL do_register)
INF_SET_CLSID
(
Scriptlet
);
INF_SET_CLSID
(
Scriptlet
);
INF_SET_CLSID
(
SysimageProtocol
);
INF_SET_CLSID
(
SysimageProtocol
);
INF_SET_CLSID
(
TridentAPI
);
INF_SET_CLSID
(
TridentAPI
);
INF_SET_ID
(
LIBID_MSHTML
);
for
(
i
=
0
;
i
<
sizeof
(
pse
)
/
sizeof
(
pse
[
0
]);
i
++
)
{
for
(
i
=
0
;
i
<
sizeof
(
pse
)
/
sizeof
(
pse
[
0
]);
i
++
)
{
pse
[
i
].
pszValue
=
HeapAlloc
(
GetProcessHeap
(),
0
,
39
);
pse
[
i
].
pszValue
=
HeapAlloc
(
GetProcessHeap
(),
0
,
39
);
...
...
dlls/mshtml/mshtml.inf
View file @
c5327934
...
@@ -237,7 +237,7 @@ HKCR,"CLSID\%CLSID_Scriptlet%\MiscStatus\1",,,"131473"
...
@@ -237,7 +237,7 @@ HKCR,"CLSID\%CLSID_Scriptlet%\MiscStatus\1",,,"131473"
HKCR,"CLSID\%CLSID_Scriptlet%\ProgID",,,"ScriptBridge.ScriptBridge.1"
HKCR,"CLSID\%CLSID_Scriptlet%\ProgID",,,"ScriptBridge.ScriptBridge.1"
HKCR,"CLSID\%CLSID_Scriptlet%\Programmable"
HKCR,"CLSID\%CLSID_Scriptlet%\Programmable"
;; HKCR,"CLSID\%CLSID_Scriptlet%\ToolboxBitmap32",,,"%IEXPLORE%,1"
;; HKCR,"CLSID\%CLSID_Scriptlet%\ToolboxBitmap32",,,"%IEXPLORE%,1"
HKCR,"CLSID\%CLSID_Scriptlet%\TypeLib",,,"
{3050f1c5-98b5-11cf-bb82-00aa00bdce0b}
"
HKCR,"CLSID\%CLSID_Scriptlet%\TypeLib",,,"
%LIBID_MSHTML%
"
HKCR,"CLSID\%CLSID_Scriptlet%\Version",,,"4.0"
HKCR,"CLSID\%CLSID_Scriptlet%\Version",,,"4.0"
HKCR,"CLSID\%CLSID_Scriptlet%\VersionIndependentProgID",,,"ScriptBridge.ScriptBridge"
HKCR,"CLSID\%CLSID_Scriptlet%\VersionIndependentProgID",,,"ScriptBridge.ScriptBridge"
HKCR,"MIME\Database\Content Type\text/x-scriptlet","CLSID",,"%CLSID_Scriptlet%"
HKCR,"MIME\Database\Content Type\text/x-scriptlet","CLSID",,"%CLSID_Scriptlet%"
...
...
include/mshtml.idl
View file @
c5327934
...
@@ -30,6 +30,35 @@ interface IHTMLDocument2;
...
@@ -30,6 +30,35 @@ interface IHTMLDocument2;
interface
IHTMLStyleSheetsCollection
;
interface
IHTMLStyleSheetsCollection
;
/*****************************************************************************
/*****************************************************************************
*
IHTMLFiltersCollection
interface
*/
[
odl
,
oleautomation
,
dual
,
uuid
(
3050
F3EE
-
98B5
-
11
Cf
-
BB82
-
00
AA00BDCE0B
)
]
interface
IHTMLFiltersCollection
:
IDispatch
{
[
propget
,
id
(
DISPID_IHTMLFILTERSCOLLECTION_LENGTH
)
]
HRESULT
length
(
[
retval
,
out
]
long
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLFILTERSCOLLECTION__NEWENUM
)
]
HRESULT
_newEnum
(
[
retval
,
out
]
IUnknown
**
p
)
;
[
id
(
DISPID_IHTMLFILTERSCOLLECTION_ITEM
)
]
HRESULT
item
(
[
in
]
VARIANT
*
pvarIndex
,
[
retval
,
out
]
VARIANT
*
pvarResult
)
;
}
[
uuid
(
3050
F1C5
-
98B5
-
11
CF
-
BB82
-
00
AA00BDCE0B
)
]
library
MSHTML
{
/*****************************************************************************
*
IHTMLStyle
interface
*
IHTMLStyle
interface
*/
*/
[
[
...
@@ -1096,30 +1125,6 @@ interface IHTMLRuleStyle : IDispatch
...
@@ -1096,30 +1125,6 @@ interface IHTMLRuleStyle : IDispatch
}
}
/*****************************************************************************
/*****************************************************************************
*
IHTMLFiltersCollection
interface
*/
[
odl
,
oleautomation
,
dual
,
uuid
(
3050
F3EE
-
98B5
-
11
Cf
-
BB82
-
00
AA00BDCE0B
)
]
interface
IHTMLFiltersCollection
:
IDispatch
{
[
propget
,
id
(
DISPID_IHTMLFILTERSCOLLECTION_LENGTH
)
]
HRESULT
length
(
[
retval
,
out
]
long
*
p
)
;
[
propget
,
id
(
DISPID_IHTMLFILTERSCOLLECTION__NEWENUM
)
]
HRESULT
_newEnum
(
[
retval
,
out
]
IUnknown
**
p
)
;
[
id
(
DISPID_IHTMLFILTERSCOLLECTION_ITEM
)
]
HRESULT
item
(
[
in
]
VARIANT
*
pvarIndex
,
[
retval
,
out
]
VARIANT
*
pvarResult
)
;
}
/*****************************************************************************
*
IHTMLElement
interface
*
IHTMLElement
interface
*/
*/
[
[
...
@@ -2989,3 +2994,5 @@ coclass HTMLDocument
...
@@ -2989,3 +2994,5 @@ coclass HTMLDocument
[
default
]
interface
IHTMLDocument2
;
[
default
]
interface
IHTMLDocument2
;
[
source
,
default
]
dispinterface
HTMLDocumentEvents
;
[
source
,
default
]
dispinterface
HTMLDocumentEvents
;
}
;
}
;
}
/*
library
MSHTML
*/
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