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
3a268796
Commit
3a268796
authored
Sep 02, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 02, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added support for text/vbscript script type.
parent
41079639
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
script.c
dlls/mshtml/script.c
+6
-0
No files found.
dlls/mshtml/script.c
View file @
3a268796
...
...
@@ -48,6 +48,8 @@ static const WCHAR emptyW[] = {0};
static
const
CLSID
CLSID_JScript
=
{
0xf414c260
,
0x6ac0
,
0x11cf
,{
0xb6
,
0xd1
,
0x00
,
0xaa
,
0x00
,
0xbb
,
0xbb
,
0x58
}};
static
const
CLSID
CLSID_VBScript
=
{
0xb54f3741
,
0x5b07
,
0x11cf
,{
0xa4
,
0xb0
,
0x00
,
0xaa
,
0x00
,
0x4a
,
0x55
,
0xe8
}};
struct
ScriptHost
{
IActiveScriptSite
IActiveScriptSite_iface
;
...
...
@@ -718,10 +720,14 @@ static BOOL get_guid_from_type(LPCWSTR type, GUID *guid)
{
const
WCHAR
text_javascriptW
[]
=
{
't'
,
'e'
,
'x'
,
't'
,
'/'
,
'j'
,
'a'
,
'v'
,
'a'
,
's'
,
'c'
,
'r'
,
'i'
,
'p'
,
't'
,
0
};
const
WCHAR
text_vbscriptW
[]
=
{
't'
,
'e'
,
'x'
,
't'
,
'/'
,
'v'
,
'b'
,
's'
,
'c'
,
'r'
,
'i'
,
'p'
,
't'
,
0
};
/* FIXME: Handle more types */
if
(
!
strcmpiW
(
type
,
text_javascriptW
))
{
*
guid
=
CLSID_JScript
;
}
else
if
(
!
strcmpiW
(
type
,
text_vbscriptW
))
{
*
guid
=
CLSID_VBScript
;
}
else
{
FIXME
(
"Unknown type %s
\n
"
,
debugstr_w
(
type
));
return
FALSE
;
...
...
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