[DHCPCSVC]: Forgot this code formatting in my previous commit.

svn path=/trunk/; revision=64293
This commit is contained in:
Hermès Bélusca-Maïto 2014-09-25 23:45:30 +00:00
parent 33f5eed378
commit 507f6b105a
2 changed files with 6 additions and 10 deletions

View file

@ -28,10 +28,6 @@ add_library(dhcpcsvc SHARED
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def)
set_module_type(dhcpcsvc win32dll)
add_importlibs(dhcpcsvc ws2_32 iphlpapi advapi32 msvcrt kernel32 ntdll)
add_pch(dhcpcsvc include/rosdhcp.h SOURCE)
add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32 FOR all)

View file

@ -419,15 +419,15 @@ ServiceMain(DWORD argc, LPWSTR* argv)
UpdateServiceStatus(SERVICE_STOPPED);
}
INT WINAPI
DllMain(PVOID hinstDll,
ULONG dwReason,
PVOID reserved)
BOOL WINAPI
DllMain(HINSTANCE hinstDLL,
DWORD fdwReason,
LPVOID lpvReserved)
{
switch (dwReason)
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDll);
DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH: