qmgr: Renamed bits_main.c to qmgr_main.c and updated comments.
This commit is contained in:
parent
1cc7530332
commit
b655da6412
|
@ -7,7 +7,7 @@ IMPORTS = kernel32
|
||||||
EXTRALIBS =
|
EXTRALIBS =
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
bits_main.c
|
qmgr_main.c
|
||||||
|
|
||||||
@MAKE_DLL_RULES@
|
@MAKE_DLL_RULES@
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Implementation of qmgr.dll
|
* Main DLL interface to Queue Manager (BITS)
|
||||||
*
|
*
|
||||||
* Background Intelligent Transfer Service (BITS) interface. Dll is named
|
* Background Intelligent Transfer Service (BITS) interface. Dll is named
|
||||||
* qmgr for backwards compatibility with early versions of BITS.
|
* qmgr for backwards compatibility with early versions of BITS.
|
||||||
|
@ -25,24 +25,25 @@
|
||||||
|
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
#include "winbase.h"
|
#include "winbase.h"
|
||||||
|
|
||||||
#include "wine/debug.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)
|
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
|
TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
|
||||||
|
|
||||||
switch (fdwReason)
|
switch (fdwReason)
|
||||||
{
|
{
|
||||||
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);
|
DisableThreadLibraryCalls(hinstDLL);
|
||||||
break;
|
break;
|
||||||
case DLL_PROCESS_DETACH:
|
case DLL_PROCESS_DETACH:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
Loading…
Reference in New Issue