schedsvc: Drop WINE_ prefix from ERR().
This commit is contained in:
parent
6ab6564b9f
commit
6f6aa9b8a6
|
@ -129,35 +129,35 @@ static RPC_STATUS RPC_init(void)
|
||||||
status = RpcServerUseProtseqEpW(transport, 0, NULL, NULL);
|
status = RpcServerUseProtseqEpW(transport, 0, NULL, NULL);
|
||||||
if (status != RPC_S_OK)
|
if (status != RPC_S_OK)
|
||||||
{
|
{
|
||||||
WINE_ERR("RpcServerUseProtseqEp error %#x\n", status);
|
ERR("RpcServerUseProtseqEp error %#x\n", status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = RpcServerRegisterIf(ITaskSchedulerService_v1_0_s_ifspec, 0, 0);
|
status = RpcServerRegisterIf(ITaskSchedulerService_v1_0_s_ifspec, 0, 0);
|
||||||
if (status != RPC_S_OK)
|
if (status != RPC_S_OK)
|
||||||
{
|
{
|
||||||
WINE_ERR("RpcServerRegisterIf error %#x\n", status);
|
ERR("RpcServerRegisterIf error %#x\n", status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = RpcServerInqBindings(&sched_bindings);
|
status = RpcServerInqBindings(&sched_bindings);
|
||||||
if (status != RPC_S_OK)
|
if (status != RPC_S_OK)
|
||||||
{
|
{
|
||||||
WINE_ERR("RpcServerInqBindings error %#x\n", status);
|
ERR("RpcServerInqBindings error %#x\n", status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = RpcEpRegisterW(ITaskSchedulerService_v1_0_s_ifspec, sched_bindings, NULL, NULL);
|
status = RpcEpRegisterW(ITaskSchedulerService_v1_0_s_ifspec, sched_bindings, NULL, NULL);
|
||||||
if (status != RPC_S_OK)
|
if (status != RPC_S_OK)
|
||||||
{
|
{
|
||||||
WINE_ERR("RpcEpRegister error %#x\n", status);
|
ERR("RpcEpRegister error %#x\n", status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = RpcServerListen(1, RPC_C_LISTEN_MAX_CALLS_DEFAULT, TRUE);
|
status = RpcServerListen(1, RPC_C_LISTEN_MAX_CALLS_DEFAULT, TRUE);
|
||||||
if (status != RPC_S_OK)
|
if (status != RPC_S_OK)
|
||||||
{
|
{
|
||||||
WINE_ERR("RpcServerListen error %#x\n", status);
|
ERR("RpcServerListen error %#x\n", status);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
return RPC_S_OK;
|
return RPC_S_OK;
|
||||||
|
@ -180,7 +180,7 @@ void WINAPI ServiceMain(DWORD argc, LPWSTR *argv)
|
||||||
schedsvc_handle = RegisterServiceCtrlHandlerW(scheduleW, schedsvc_handler);
|
schedsvc_handle = RegisterServiceCtrlHandlerW(scheduleW, schedsvc_handler);
|
||||||
if (!schedsvc_handle)
|
if (!schedsvc_handle)
|
||||||
{
|
{
|
||||||
WINE_ERR("RegisterServiceCtrlHandler error %d\n", GetLastError());
|
ERR("RegisterServiceCtrlHandler error %d\n", GetLastError());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue