Commit bfa30775 authored by Kevin Koltzau's avatar Kevin Koltzau Committed by Alexandre Julliard

Properly declare handles.

parent 575c174d
...@@ -895,7 +895,7 @@ SetServiceStatus( SERVICE_STATUS_HANDLE hService, LPSERVICE_STATUS lpStatus ) ...@@ -895,7 +895,7 @@ SetServiceStatus( SERVICE_STATUS_HANDLE hService, LPSERVICE_STATUS lpStatus )
service_data *service; service_data *service;
BOOL r = TRUE; BOOL r = TRUE;
TRACE("%lx %lx %lx %lx %lx %lx %lx %lx\n", hService, TRACE("%p %lx %lx %lx %lx %lx %lx %lx\n", hService,
lpStatus->dwServiceType, lpStatus->dwCurrentState, lpStatus->dwServiceType, lpStatus->dwCurrentState,
lpStatus->dwControlsAccepted, lpStatus->dwWin32ExitCode, lpStatus->dwControlsAccepted, lpStatus->dwWin32ExitCode,
lpStatus->dwServiceSpecificExitCode, lpStatus->dwCheckPoint, lpStatus->dwServiceSpecificExitCode, lpStatus->dwCheckPoint,
...@@ -1511,7 +1511,7 @@ BOOL WINAPI StartServiceW(SC_HANDLE hService, DWORD dwNumServiceArgs, ...@@ -1511,7 +1511,7 @@ BOOL WINAPI StartServiceW(SC_HANDLE hService, DWORD dwNumServiceArgs,
return r; return r;
} }
hLock = LockServiceDatabase(hsvc->scm); hLock = LockServiceDatabase((SC_HANDLE)hsvc->scm);
if (!hLock) if (!hLock)
return r; return r;
...@@ -2224,7 +2224,7 @@ BOOL WINAPI SetServiceBits( SERVICE_STATUS_HANDLE hServiceStatus, ...@@ -2224,7 +2224,7 @@ BOOL WINAPI SetServiceBits( SERVICE_STATUS_HANDLE hServiceStatus,
BOOL bSetBitsOn, BOOL bSetBitsOn,
BOOL bUpdateImmediately) BOOL bUpdateImmediately)
{ {
FIXME("%08lx %08lx %x %x\n", hServiceStatus, dwServiceBits, FIXME("%p %08lx %x %x\n", hServiceStatus, dwServiceBits,
bSetBitsOn, bUpdateImmediately); bSetBitsOn, bUpdateImmediately);
return TRUE; return TRUE;
} }
...@@ -114,8 +114,9 @@ extern "C" { ...@@ -114,8 +114,9 @@ extern "C" {
/* Handle types */ /* Handle types */
typedef HANDLE SC_HANDLE, *LPSC_HANDLE; DECLARE_HANDLE(SC_HANDLE);
typedef DWORD SERVICE_STATUS_HANDLE; typedef SC_HANDLE *LPSC_HANDLE;
DECLARE_HANDLE(SERVICE_STATUS_HANDLE);
typedef LPVOID SC_LOCK; typedef LPVOID SC_LOCK;
/* Service status structure */ /* Service status structure */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment