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
a1e8bc65
Commit
a1e8bc65
authored
Aug 04, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wshom.ocx: Added Dll[Un]RegisterServer implementation.
parent
2d58bca0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
86 additions
and
9 deletions
+86
-9
Makefile.in
dlls/wshom.ocx/Makefile.in
+2
-0
wshom.idl
dlls/wshom.ocx/wshom.idl
+16
-4
wshom.rc
dlls/wshom.ocx/wshom.rc
+24
-0
wshom.rgs
dlls/wshom.ocx/wshom.rgs
+34
-0
wshom_main.c
dlls/wshom.ocx/wshom_main.c
+10
-5
No files found.
dlls/wshom.ocx/Makefile.in
View file @
a1e8bc65
...
@@ -3,6 +3,8 @@ MODULE = wshom.ocx
...
@@ -3,6 +3,8 @@ MODULE = wshom.ocx
C_SRCS
=
\
C_SRCS
=
\
wshom_main.c
wshom_main.c
RC_SRCS
=
wshom.rc
IDL_TLB_SRCS
=
wshom.idl
IDL_TLB_SRCS
=
wshom.idl
@MAKE_DLL_RULES@
@MAKE_DLL_RULES@
dlls/wshom.ocx/wshom.idl
View file @
a1e8bc65
...
@@ -115,7 +115,10 @@ library IWshRuntimeLibrary
...
@@ -115,7 +115,10 @@ library IWshRuntimeLibrary
[
[
helpstring
(
"Windows Script Host Shell Object"
),
helpstring
(
"Windows Script Host Shell Object"
),
uuid
(
f935dc22
-
1
cf0
-
11
d0
-
adb9
-
00
c04fd58a0b
)
uuid
(
f935dc22
-
1
cf0
-
11
d0
-
adb9
-
00
c04fd58a0b
),
threading
(
apartment
),
progid
(
"WScript.Shell.1"
),
vi_progid
(
"WScript.Shell"
)
]
]
coclass
IWshShell_Class
{
coclass
IWshShell_Class
{
[
default
]
interface
IWshShell3
;
[
default
]
interface
IWshShell3
;
...
@@ -123,7 +126,10 @@ library IWshRuntimeLibrary
...
@@ -123,7 +126,10 @@ library IWshRuntimeLibrary
[
[
helpstring
(
"Windows Script Host Shell Object"
),
helpstring
(
"Windows Script Host Shell Object"
),
uuid
(
72
c24dd5
-
d70a
-
438b
-
8
a42
-
98424b88
afb8
)
uuid
(
72
c24dd5
-
d70a
-
438b
-
8
a42
-
98424b88
afb8
),
threading
(
apartment
),
progid
(
"WScript.Shell.1"
),
vi_progid
(
"WScript.Shell"
)
]
]
coclass
WshShell
{
coclass
WshShell
{
[
default
]
interface
IWshShell3
;
[
default
]
interface
IWshShell3
;
...
@@ -131,7 +137,10 @@ library IWshRuntimeLibrary
...
@@ -131,7 +137,10 @@ library IWshRuntimeLibrary
[
[
helpstring
(
"Windows Script Host Network Object"
),
helpstring
(
"Windows Script Host Network Object"
),
uuid
(
f935dc26
-
1
cf0
-
11
d0
-
adb9
-
00
c04fd58a0b
)
uuid
(
f935dc26
-
1
cf0
-
11
d0
-
adb9
-
00
c04fd58a0b
),
threading
(
apartment
),
progid
(
"WScript.Network.1"
),
vi_progid
(
"WScript.Network"
)
]
]
coclass
IWshNetwork_Class
{
coclass
IWshNetwork_Class
{
[
default
]
interface
IWshNetwork2
;
[
default
]
interface
IWshNetwork2
;
...
@@ -139,7 +148,10 @@ library IWshRuntimeLibrary
...
@@ -139,7 +148,10 @@ library IWshRuntimeLibrary
[
[
helpstring
(
"Windows Script Host Network Object"
),
helpstring
(
"Windows Script Host Network Object"
),
uuid
(
093
ff999
-
1
ea0
-
4079
-
9525
-
9614
c3504b74
)
uuid
(
093
ff999
-
1
ea0
-
4079
-
9525
-
9614
c3504b74
),
threading
(
apartment
),
progid
(
"WScript.Network.1"
),
vi_progid
(
"WScript.Network"
)
]
]
coclass
WshNetwork
{
coclass
WshNetwork
{
[
default
]
interface
IWshNetwork2
;
[
default
]
interface
IWshNetwork2
;
...
...
dlls/wshom.ocx/wshom.rc
0 → 100644
View file @
a1e8bc65
/*
* Copyright 2011 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
*/
#include "windef.h"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: wshom.rgs */
1 WINE_REGISTRY wshom.rgs
dlls/wshom.ocx/wshom.rgs
0 → 100644
View file @
a1e8bc65
HKCR
{
NoRemove CLSID
{
'{f935dc22-1cf0-11d0-adb9-00c04fd58a0b}'
{
'Implemented Categories'
{
'{40fc6ed5-2438-11cf-a3db-080036f12502}'
}
}
'{72c24dd5-d70a-438b-8a42-98424b88afb8}'
{
'Implemented Categories'
{
'{40fc6ed5-2438-11cf-a3db-080036f12502}'
}
}
'{f935dc26-1cf0-11d0-adb9-00c04fd58a0b}'
{
'Implemented Categories'
{
'{40fc6ed5-2438-11cf-a3db-080036f12502}'
}
}
'{093ff999-1ea0-4079-9525-9614c3504b74}'
{
'Implemented Categories'
{
'{40fc6ed5-2438-11cf-a3db-080036f12502}'
}
}
}
}
dlls/wshom.ocx/wshom_main.c
View file @
a1e8bc65
...
@@ -24,11 +24,15 @@
...
@@ -24,11 +24,15 @@
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "ole2.h"
#include "rpcproxy.h"
#include "wine/debug.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
wshom
);
WINE_DEFAULT_DEBUG_CHANNEL
(
wshom
);
static
HINSTANCE
wshom_instance
;
/******************************************************************
/******************************************************************
* DllMain (wshom.ocx.@)
* DllMain (wshom.ocx.@)
*/
*/
...
@@ -41,7 +45,8 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
...
@@ -41,7 +45,8 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
case
DLL_WINE_PREATTACH
:
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hInstDLL
);
wshom_instance
=
hInstDLL
;
DisableThreadLibraryCalls
(
wshom_instance
);
break
;
break
;
}
}
...
@@ -71,8 +76,8 @@ HRESULT WINAPI DllCanUnloadNow(void)
...
@@ -71,8 +76,8 @@ HRESULT WINAPI DllCanUnloadNow(void)
*/
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
{
FIXM
E
(
"()
\n
"
);
TRAC
E
(
"()
\n
"
);
return
S_OK
;
return
__wine_register_resources
(
wshom_instance
)
;
}
}
/***********************************************************************
/***********************************************************************
...
@@ -80,6 +85,6 @@ HRESULT WINAPI DllRegisterServer(void)
...
@@ -80,6 +85,6 @@ HRESULT WINAPI DllRegisterServer(void)
*/
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
{
FIXM
E
(
"()
\n
"
);
TRAC
E
(
"()
\n
"
);
return
S_OK
;
return
__wine_unregister_resources
(
wshom_instance
)
;
}
}
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