bits: INF and resource file for qmgr registration (8/26)

Roy Shea roy at cs.hmc.edu
Mon Nov 19 18:21:14 CST 2007


---
 dlls/qmgr/Makefile.in |    2 ++
 dlls/qmgr/qmgr.inf    |   32 ++++++++++++++++++++++++++++++++
 dlls/qmgr/rsrc.rc     |   21 +++++++++++++++++++++
 3 files changed, 55 insertions(+), 0 deletions(-)
 create mode 100644 dlls/qmgr/qmgr.inf
 create mode 100644 dlls/qmgr/rsrc.rc

diff --git a/dlls/qmgr/Makefile.in b/dlls/qmgr/Makefile.in
index aa3440d..4da82de 100644
--- a/dlls/qmgr/Makefile.in
+++ b/dlls/qmgr/Makefile.in
@@ -11,6 +11,8 @@ C_SRCS = \
 	qmgr_main.c \
 	qmgr.c
 
+RC_SRCS = rsrc.rc
+
 IDL_I_SRCS = qmgr_local.idl
 
 @MAKE_DLL_RULES@
diff --git a/dlls/qmgr/qmgr.inf b/dlls/qmgr/qmgr.inf
new file mode 100644
index 0000000..4b9fb56
--- /dev/null
+++ b/dlls/qmgr/qmgr.inf
@@ -0,0 +1,32 @@
+[version]
+Signature="$CHICAGO$"
+
+
+[Strings]
+Services="System\CurrentControlSet\Services"
+
+
+[RegisterDll]
+AddReg = Qmgr.Reg
+
+
+[UnregisterDll]
+DelReg = Qmgr.Reg
+
+
+[Qmgr.Reg]
+
+HKCR,"AppID\BITS","AppID",,"%CLSID_BackgroundCopyQMgr%"
+HKCR,"AppID\%CLSID_BackgroundCopyQMgr%","LocalService",,"BITS"
+HKCR,"CLSID\%CLSID_BackgroundCopyManager%","AppID",,"%CLSID_BackgroundCopyQMgr%"
+
+HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","netsvcs",0x00010000,"BITS"
+
+HKLM,"%Services%\BITS","Type",0x00010001,00000110
+HKLM,"%Services%\BITS","Start",0x00010001,00000003
+HKLM,"%Services%\BITS","ErrorControl",0x00010001,00000001
+HKLM,"%Services%\BITS","Description",,"BITS Service"
+HKLM,"%Services%\BITS","DispalyName",,"BITS"
+HKLM,"%Services%\BITS","ImagePath",0x00020000,"svchost.exe -k netsvcs"
+HKLM,"%Services%\BITS\Parameters","ServiceDll",0x00020000,"qmgr.dll"
+
diff --git a/dlls/qmgr/rsrc.rc b/dlls/qmgr/rsrc.rc
new file mode 100644
index 0000000..bf493b7
--- /dev/null
+++ b/dlls/qmgr/rsrc.rc
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2007 Google (Roy Shea)
+ *
+ * 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: qmgr.inf */
+REGINST REGINST qmgr.inf
+
-- 
1.5.3.1




More information about the wine-patches mailing list