diff options
Diffstat (limited to 'ACE/examples/NT_Service/main.cpp')
-rw-r--r-- | ACE/examples/NT_Service/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/examples/NT_Service/main.cpp b/ACE/examples/NT_Service/main.cpp index 785913e3613..fb3e65cbf39 100644 --- a/ACE/examples/NT_Service/main.cpp +++ b/ACE/examples/NT_Service/main.cpp @@ -141,10 +141,9 @@ Process::parse_args (int argc, ACE_TCHAR* argv[]) // Define a function to handle Ctrl+C to cleanly shut this down. -static BOOL __stdcall -ConsoleHandler (DWORD ctrlType) +static BOOL WINAPI +ConsoleHandler (DWORD /*ctrlType*/) { - ACE_UNUSED_ARG (ctrlType); SERVICE::instance ()->handle_control (SERVICE_CONTROL_STOP); return TRUE; } |