mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 01:33:01 +00:00
[DHCPCSVC]: Forgot this code formatting in my previous commit.
svn path=/trunk/; revision=64293
This commit is contained in:
parent
33f5eed378
commit
507f6b105a
2 changed files with 6 additions and 10 deletions
|
@ -28,10 +28,6 @@ add_library(dhcpcsvc SHARED
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def)
|
||||||
|
|
||||||
set_module_type(dhcpcsvc win32dll)
|
set_module_type(dhcpcsvc win32dll)
|
||||||
|
|
||||||
add_importlibs(dhcpcsvc ws2_32 iphlpapi advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(dhcpcsvc ws2_32 iphlpapi advapi32 msvcrt kernel32 ntdll)
|
||||||
|
|
||||||
|
|
||||||
add_pch(dhcpcsvc include/rosdhcp.h SOURCE)
|
add_pch(dhcpcsvc include/rosdhcp.h SOURCE)
|
||||||
|
|
||||||
add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -419,15 +419,15 @@ ServiceMain(DWORD argc, LPWSTR* argv)
|
||||||
UpdateServiceStatus(SERVICE_STOPPED);
|
UpdateServiceStatus(SERVICE_STOPPED);
|
||||||
}
|
}
|
||||||
|
|
||||||
INT WINAPI
|
BOOL WINAPI
|
||||||
DllMain(PVOID hinstDll,
|
DllMain(HINSTANCE hinstDLL,
|
||||||
ULONG dwReason,
|
DWORD fdwReason,
|
||||||
PVOID reserved)
|
LPVOID lpvReserved)
|
||||||
{
|
{
|
||||||
switch (dwReason)
|
switch (fdwReason)
|
||||||
{
|
{
|
||||||
case DLL_PROCESS_ATTACH:
|
case DLL_PROCESS_ATTACH:
|
||||||
DisableThreadLibraryCalls(hinstDll);
|
DisableThreadLibraryCalls(hinstDLL);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DLL_PROCESS_DETACH:
|
case DLL_PROCESS_DETACH:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue