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
c09f188c
Commit
c09f188c
authored
Dec 18, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wiaservc: Convert coclasses registration to the IRegistrar mechanism.
parent
caf742bd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
11 deletions
+34
-11
Makefile.in
dlls/wiaservc/Makefile.in
+2
-0
wiaservc.idl
dlls/wiaservc/wiaservc.idl
+27
-0
wiaservc.inf
dlls/wiaservc/wiaservc.inf
+0
-11
wiaservc_main.c
dlls/wiaservc/wiaservc_main.c
+5
-0
No files found.
dlls/wiaservc/Makefile.in
View file @
c09f188c
...
...
@@ -7,6 +7,8 @@ C_SRCS = \
wiadevmgr.c
\
wiaservc_main.c
IDL_R_SRCS
=
wiaservc.idl
RC_SRCS
=
rsrc.rc
@MAKE_DLL_RULES@
dlls/wiaservc/wiaservc.idl
0 → 100644
View file @
c09f188c
/*
*
COM
Classes
for
wiaservc
*
*
Copyright
2010
Alexandre
Julliard
*
*
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
*/
[
helpstring
(
"WIA Device Manager"
),
progid
(
"WiaDevMgr.1"
),
vi_progid
(
"WiaDevMgr"
),
uuid
(
a1f4e726
-
8
cf1
-
11
d1
-
bf92
-
0060081
ed811
)
]
coclass
WiaDevMgr
{
interface
IWiaDevMgr
; }
dlls/wiaservc/wiaservc.inf
View file @
c09f188c
...
...
@@ -10,18 +10,7 @@ DelReg = WiaServc.Reg
[WiaServc.Reg]
HKCR,"AppID\%CLSID_WiaDevMgr%",,,"WIA Device Manager"
HKCR,"AppID\%CLSID_WiaDevMgr%","LocalService",,"stisvc"
HKCR,"CLSID\%CLSID_WiaDevMgr%",,,"WIA Device Manager"
HKCR,"CLSID\%CLSID_WiaDevMgr%","AppID",,"%CLSID_WiaDevMgr%"
HKCR,"CLSID\%CLSID_WiaDevMgr%\ProgID",,,"WiaDevMgr.1"
HKCR,"CLSID\%CLSID_WiaDevMgr%\VersionIndependentProgID",,,"WiaDevMgr"
HKCR,"WiaDevMgr.1",,,"WIA Device Manager"
HKCR,"WiaDevMgr.1\CLSID",,,"%CLSID_WiaDevMgr%"
HKCR,"WiaDevMgr",,,"WIA Device Manager"
HKCR,"WiaDevMgr\CLSID",,,"%CLSID_WiaDevMgr%"
HKCR,"WiaDevMgr\CurVer",,,"WiaDevMgr.1"
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","imgsvc",0x00010000,"StiSvc"
...
...
dlls/wiaservc/wiaservc_main.c
View file @
c09f188c
...
...
@@ -25,6 +25,7 @@
#include "winreg.h"
#include "advpub.h"
#include "olectl.h"
#include "rpcproxy.h"
#include "winsvc.h"
#include "wia_lh.h"
...
...
@@ -164,10 +165,14 @@ static HRESULT register_server(BOOL do_register)
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
HRESULT
hr
=
__wine_register_resources
(
hInst
,
NULL
);
if
(
FAILED
(
hr
))
return
hr
;
return
register_server
(
TRUE
);
}
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
HRESULT
hr
=
__wine_unregister_resources
(
hInst
,
NULL
);
if
(
FAILED
(
hr
))
return
hr
;
return
register_server
(
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