[SHSVCS] Add missing VOID. CORE-11799 (#94)

This commit is contained in:
Amine Khaldi 2017-10-27 23:42:40 +01:00
parent 81a5b04f62
commit 511ad21fae
2 changed files with 6 additions and 6 deletions

View file

@ -20,17 +20,17 @@ HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
return S_OK;
}
HRESULT WINAPI DllRegisterServer()
HRESULT WINAPI DllRegisterServer(VOID)
{
return S_OK;
}
HRESULT WINAPI DllUnregisterServer()
HRESULT WINAPI DllUnregisterServer(VOID)
{
return S_OK;
}
HRESULT WINAPI DllCanUnloadNow()
HRESULT WINAPI DllCanUnloadNow(VOID)
{
return S_OK;
}

View file

@ -28,13 +28,13 @@ static WCHAR ServiceName[] = L"Themes";
HANDLE hThemeStartWaitObject, hThemeStopWaitObject, hThemeServiceWaitObject;
HANDLE hStartEvent, hStopEvent, hServiceProcess;
BOOL WINAPI ThemeWatchForStart();
BOOL WINAPI ThemeWatchForStart(VOID);
/* FUNCTIONS *****************************************************************/
static
HANDLE
GetThemeServiceProcessHandle()
GetThemeServiceProcessHandle(VOID)
{
SC_HANDLE scm, service;
SERVICE_STATUS_PROCESS status;
@ -112,7 +112,7 @@ ThemeStartCallback(PVOID lpParameter, BOOLEAN TimerOrWaitFired)
BOOL
WINAPI
ThemeWatchForStart()
ThemeWatchForStart(VOID)
{
hStartEvent = CreateEventW(NULL, TRUE, FALSE, L"Global\\ThemeStartEvent");
hStopEvent = CreateEventW(NULL, TRUE, FALSE, L"Global\\ThemeStopEvent");