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
30bbed5d
Commit
30bbed5d
authored
Sep 18, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrobj: Add partial DllInstall implementation.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
de6554a3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
scrobj.c
dlls/scrobj/scrobj.c
+19
-0
scrobj.spec
dlls/scrobj/scrobj.spec
+1
-0
No files found.
dlls/scrobj/scrobj.c
View file @
30bbed5d
...
...
@@ -444,6 +444,25 @@ HRESULT WINAPI DllUnregisterServer(void)
return
__wine_unregister_resources
(
scrobj_instance
);
}
/***********************************************************************
* DllInstall (scrobj.@)
*/
HRESULT
WINAPI
DllInstall
(
BOOL
install
,
const
WCHAR
*
arg
)
{
HRESULT
hres
;
if
(
install
)
{
hres
=
DllRegisterServer
();
if
(
!
arg
||
FAILED
(
hres
))
return
hres
;
}
else
if
(
!
arg
)
return
DllUnregisterServer
();
FIXME
(
"argument %s not supported
\n
"
,
debugstr_w
(
arg
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
scriptlet_typelib_CreateInstance
(
IClassFactory
*
factory
,
IUnknown
*
outer
,
REFIID
riid
,
void
**
obj
)
{
struct
scriptlet_typelib
*
This
;
...
...
dlls/scrobj/scrobj.spec
View file @
30bbed5d
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stdcall -private DllInstall(long wstr)
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
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