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
611b6725
Commit
611b6725
authored
Jun 24, 2015
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 24, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msscript.ocx: Added DLL registration implementation.
parent
90466296
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
4 deletions
+60
-4
Makefile.in
dlls/msscript.ocx/Makefile.in
+1
-0
msscript.c
dlls/msscript.ocx/msscript.c
+8
-3
msscript.idl
dlls/msscript.ocx/msscript.idl
+4
-1
msscript.rc
dlls/msscript.ocx/msscript.rc
+20
-0
msscript.rgs
dlls/msscript.ocx/msscript.rgs
+27
-0
No files found.
dlls/msscript.ocx/Makefile.in
View file @
611b6725
MODULE
=
msscript.ocx
RC_SRCS
=
msscript.rc
IDL_SRCS
=
msscript.idl
C_SRCS
=
\
...
...
dlls/msscript.ocx/msscript.c
View file @
611b6725
...
...
@@ -17,11 +17,15 @@
*/
#include "windows.h"
#include "ole2.h"
#include "rpcproxy.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
msscript
);
static
HINSTANCE
msscript_instance
;
/******************************************************************
* DllMain (msscript.ocx.@)
*/
...
...
@@ -33,6 +37,7 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID lpv)
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
msscript_instance
=
instance
;
DisableThreadLibraryCalls
(
instance
);
break
;
}
...
...
@@ -63,8 +68,8 @@ HRESULT WINAPI DllCanUnloadNow(void)
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
FIXM
E
(
"()
\n
"
);
return
E_NOTIMPL
;
TRAC
E
(
"()
\n
"
);
return
__wine_register_resources
(
msscript_instance
)
;
}
/***********************************************************************
...
...
@@ -73,5 +78,5 @@ HRESULT WINAPI DllRegisterServer(void)
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
TRACE
(
"()
\n
"
);
return
E_NOTIMPL
;
return
__wine_unregister_resources
(
msscript_instance
)
;
}
dlls/msscript.ocx/msscript.idl
View file @
611b6725
...
...
@@ -294,7 +294,10 @@ library MSScriptControl
[
helpstring
(
"ScriptControl Object"
),
uuid
(
0
e59f1d5
-
1
fbe
-
11
d0
-
8
ff2
-
00
a0d10038bc
)
uuid
(
0
e59f1d5
-
1
fbe
-
11
d0
-
8
ff2
-
00
a0d10038bc
),
threading
(
apartment
),
progid
(
"MSScriptControl.ScriptControl.1"
),
vi_progid
(
"MSScriptControl.ScriptControl"
)
]
coclass
ScriptControl
{
[
default
]
interface
IScriptControl
;
...
...
dlls/msscript.ocx/msscript.rc
0 → 100644
View file @
611b6725
/*
* Copyright 2015 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* @makedep: msscript.rgs */
2 WINE_REGISTRY msscript.rgs
dlls/msscript.ocx/msscript.rgs
0 → 100644
View file @
611b6725
HKCR
{
NoRemove CLSID
{
'{0e59f1d5-1fbe-11d0-8ff2-00a0d10038bc}'
{
'Implemented Categories'
{
'{0de86a52-2baa-11cf-a229-00aa003d7352}'
'{0de86a53-2baa-11cf-a229-00aa003d7352}'
'{0de86a57-2baa-11cf-a229-00aa003d7352}'
'{40fc6ed4-2438-11cf-a3db-080036f12502}'
'{40fc6ed5-2438-11cf-a3db-080036f12502}'
}
Control
MiscStatus = s '0'
{
'1' = s '132499'
}
}
}
'ScriptControl' = s 'ScriptControl Object'
{
CLSID = s '{0e59f1d5-1fbe-11d0-8ff2-00a0d10038bc}'
CurVer = s 'MSScriptControl.ScriptControl.1'
}
}
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