Author: hbelusca
Date: Thu Sep 25 23:45:30 2014
New Revision: 64293
URL:
http://svn.reactos.org/svn/reactos?rev=64293&view=rev
Log:
[DHCPCSVC]: Forgot this code formatting in my previous commit.
Modified:
trunk/reactos/dll/win32/dhcpcsvc/CMakeLists.txt
trunk/reactos/dll/win32/dhcpcsvc/dhcpcsvc.c
Modified: trunk/reactos/dll/win32/dhcpcsvc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dhcpcsvc/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/dhcpcsvc/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dhcpcsvc/CMakeLists.txt [iso-8859-1] Thu Sep 25 23:45:30 2014
@@ -28,10 +28,6 @@
${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)
Modified: trunk/reactos/dll/win32/dhcpcsvc/dhcpcsvc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/dhcpcsvc/dhcpcsv…
==============================================================================
--- trunk/reactos/dll/win32/dhcpcsvc/dhcpcsvc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/dhcpcsvc/dhcpcsvc.c [iso-8859-1] Thu Sep 25 23:45:30 2014
@@ -419,15 +419,15 @@
UpdateServiceStatus(SERVICE_STOPPED);
}
-INT WINAPI
-DllMain(PVOID hinstDll,
- ULONG dwReason,
- PVOID reserved)
-{
- switch (dwReason)
+BOOL WINAPI
+DllMain(HINSTANCE hinstDLL,
+ DWORD fdwReason,
+ LPVOID lpvReserved)
+{
+ switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
- DisableThreadLibraryCalls(hinstDll);
+ DisableThreadLibraryCalls(hinstDLL);
break;
case DLL_PROCESS_DETACH: