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 )
service_data *service;
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->dwControlsAccepted, lpStatus->dwWin32ExitCode,
lpStatus->dwServiceSpecificExitCode, lpStatus->dwCheckPoint,
......@@ -1511,7 +1511,7 @@ BOOL WINAPI StartServiceW(SC_HANDLE hService, DWORD dwNumServiceArgs,
return r;
}
hLock = LockServiceDatabase(hsvc->scm);
hLock = LockServiceDatabase((SC_HANDLE)hsvc->scm);
if (!hLock)
return r;
......@@ -2224,7 +2224,7 @@ BOOL WINAPI SetServiceBits( SERVICE_STATUS_HANDLE hServiceStatus,
BOOL bSetBitsOn,
BOOL bUpdateImmediately)
{
FIXME("%08lx %08lx %x %x\n", hServiceStatus, dwServiceBits,
FIXME("%p %08lx %x %x\n", hServiceStatus, dwServiceBits,
bSetBitsOn, bUpdateImmediately);
return TRUE;
}
......@@ -114,8 +114,9 @@ extern "C" {
/* Handle types */
typedef HANDLE SC_HANDLE, *LPSC_HANDLE;
typedef DWORD SERVICE_STATUS_HANDLE;
DECLARE_HANDLE(SC_HANDLE);
typedef SC_HANDLE *LPSC_HANDLE;
DECLARE_HANDLE(SERVICE_STATUS_HANDLE);
typedef LPVOID SC_LOCK;
/* 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