make explicit use of unicode functions

svn path=/trunk/; revision=39232
This commit is contained in:
Christoph von Wittich 2009-01-31 13:44:48 +00:00
parent da4305f0d2
commit 5d4d38c175
2 changed files with 4 additions and 4 deletions

View file

@ -108,9 +108,9 @@ ScmWriteDependencies(HKEY hServiceKey,
if (*lpDependencies == 0)
{
RegDeleteValue(hServiceKey,
RegDeleteValueW(hServiceKey,
L"DependOnService");
RegDeleteValue(hServiceKey,
RegDeleteValueW(hServiceKey,
L"DependOnGroup");
}
else

View file

@ -497,8 +497,8 @@ DWORD RCloseServiceHandle(
it is now safe to delete the service */
/* Delete the Service Key */
dwError = RegDeleteKey(hServicesKey,
lpService->lpServiceName);
dwError = RegDeleteKeyW(hServicesKey,
lpService->lpServiceName);
RegCloseKey(hServicesKey);