Roy Shea : qmgr: Renamed bits_main.c to qmgr_main.c and updated comments.

Alexandre Julliard julliard at winehq.org
Thu Dec 6 08:26:49 CST 2007


Module: wine
Branch: master
Commit: b655da64122ea7bb80dc44a4d602598bb39a5fe2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b655da64122ea7bb80dc44a4d602598bb39a5fe2

Author: Roy Shea <roy at cs.hmc.edu>
Date:   Wed Dec  5 17:23:41 2007 -0800

qmgr: Renamed bits_main.c to qmgr_main.c and updated comments.

---

 dlls/qmgr/Makefile.in                  |    2 +-
 dlls/qmgr/{bits_main.c => qmgr_main.c} |   21 +++++++++++----------
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/dlls/qmgr/Makefile.in b/dlls/qmgr/Makefile.in
index 24dc03b..5ac07d3 100644
--- a/dlls/qmgr/Makefile.in
+++ b/dlls/qmgr/Makefile.in
@@ -7,7 +7,7 @@ IMPORTS   = kernel32
 EXTRALIBS =
 
 C_SRCS = \
-	bits_main.c
+	qmgr_main.c
 
 @MAKE_DLL_RULES@
 
diff --git a/dlls/qmgr/bits_main.c b/dlls/qmgr/qmgr_main.c
similarity index 77%
rename from dlls/qmgr/bits_main.c
rename to dlls/qmgr/qmgr_main.c
index 76321ca..d00ac2d 100644
--- a/dlls/qmgr/bits_main.c
+++ b/dlls/qmgr/qmgr_main.c
@@ -1,5 +1,5 @@
 /*
- * Implementation of qmgr.dll
+ * Main DLL interface to Queue Manager (BITS)
  *
  * Background Intelligent Transfer Service (BITS) interface.  Dll is named
  * qmgr for backwards compatibility with early versions of BITS.
@@ -25,24 +25,25 @@
 
 #include "windef.h"
 #include "winbase.h"
+
 #include "wine/debug.h"
-#include "objbase.h"
 
-WINE_DEFAULT_DEBUG_CHANNEL(bits);
+WINE_DEFAULT_DEBUG_CHANNEL(qmgr);
 
+/* Entry point for DLL */
 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 {
     TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
 
     switch (fdwReason)
     {
-    case DLL_WINE_PREATTACH:
-        return FALSE;  /* prefer native version */
-    case DLL_PROCESS_ATTACH:
-        DisableThreadLibraryCalls(hinstDLL);
-        break;
-    case DLL_PROCESS_DETACH:
-        break;
+        case DLL_WINE_PREATTACH:
+            return FALSE;  /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hinstDLL);
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
     }
 
     return TRUE;




More information about the wine-cvs mailing list