mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fix lock handle typecasts.
svn path=/trunk/; revision=36540
This commit is contained in:
@@ -728,7 +728,7 @@ DWORD RLockServiceDatabase(
|
||||
// return ScmLockDatabase(0, hMgr->0xC, hLock);
|
||||
|
||||
/* FIXME: Lock the database */
|
||||
*lpLock = (void *)0x12345678; /* Dummy! */
|
||||
*lpLock = (SC_RPC_LOCK)0x12345678; /* Dummy! */
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -2408,7 +2408,7 @@ UnlockServiceDatabase(SC_LOCK ScLock)
|
||||
{
|
||||
/* Call to services.exe using RPC */
|
||||
dwError = RUnlockServiceDatabase(BindingHandle,
|
||||
(SC_RPC_LOCK)ScLock);
|
||||
(LPSC_RPC_LOCK)&ScLock);
|
||||
}
|
||||
_SEH_HANDLE
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user