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
0325ec71
Commit
0325ec71
authored
Dec 07, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrrun: Moved script extensions registration to scrrun.dll.
parent
e1da3d72
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
6 deletions
+18
-6
jscript.rgs
dlls/jscript/jscript.rgs
+0
-1
scrrun.c
dlls/scrrun/scrrun.c
+10
-4
scrrun.rc
dlls/scrrun/scrrun.rc
+3
-0
scrrun.rgs
dlls/scrrun/scrrun.rgs
+5
-0
vbscript.rgs
dlls/vbscript/vbscript.rgs
+0
-1
No files found.
dlls/jscript/jscript.rgs
View file @
0325ec71
...
...
@@ -116,7 +116,6 @@ HKCR
OLEScript
}
ForceRemove '.js' = s 'JSFile'
ForceRemove JSFile = s 'JScript Script File'
{
ScriptEngine = s 'JScript'
...
...
dlls/scrrun/scrrun.c
View file @
0325ec71
...
...
@@ -21,10 +21,15 @@
#include "windef.h"
#include "winbase.h"
#include "ole2.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
scrrun
);
static
HINSTANCE
scrrun_instance
;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
{
TRACE
(
"%p, %u, %p
\n
"
,
hinst
,
reason
,
reserved
);
...
...
@@ -35,6 +40,7 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinst
);
scrrun_instance
=
hinst
;
break
;
case
DLL_PROCESS_DETACH
:
break
;
...
...
@@ -47,8 +53,8 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
FIXME
(
"
\n
"
);
return
S_OK
;
TRACE
(
"()
\n
"
);
return
__wine_register_resources
(
scrrun_instance
)
;
}
/***********************************************************************
...
...
@@ -56,6 +62,6 @@ HRESULT WINAPI DllRegisterServer(void)
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
FIXME
(
"
\n
"
);
return
S_OK
;
TRACE
(
"()
\n
"
);
return
__wine_unregister_resources
(
scrrun_instance
)
;
}
dlls/scrrun/scrrun.rc
View file @
0325ec71
...
...
@@ -16,6 +16,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* @makedep: scrrun.rgs */
1 WINE_REGISTRY scrrun.rgs
#define WINE_FILEDESCRIPTION_STR "Wine ScrRun dll"
#define WINE_FILENAME_STR "scrrun.dll"
#define WINE_FILEVERSION 5,8,7600,16385
...
...
dlls/scrrun/scrrun.rgs
0 → 100644
View file @
0325ec71
HKCR
{
ForceRemove '.js' = s 'JSFile'
ForceRemove '.vbs' = s 'VBSFile'
}
dlls/vbscript/vbscript.rgs
View file @
0325ec71
...
...
@@ -56,7 +56,6 @@ HKCR
{
OLEScript
}
ForceRemove '.vbs' = s 'VBSFile'
ForceRemove VBSFile = s 'VBScript Script File'
{
ScriptEngine = s 'VBScript'
...
...
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