Lines Matching defs:dwErr

303     DWORD     dwErr = GetLastError();
304 AssertMsg(hSMgrCreate, ("OpenSCManager(,,create) failed dwErr=%d\n", dwErr));
321 dwErr = GetLastError();
327 else if (dwErr == ERROR_SERVICE_EXISTS)
331 AssertMsgFailed(("CreateService failed! dwErr=%Rwa szDriver=%s\n", dwErr, szDriver));
332 rc = RTErrConvertFromWin32(dwErr);
355 DWORD dwErr = GetLastError();
356 AssertMsg(hSMgr, ("OpenSCManager(,,delete) failed dwErr=%d\n", dwErr));
387 dwErr = GetLastError();
388 AssertMsgFailed(("ControlService failed with dwErr=%Rwa. status=%d\n", dwErr, Status.dwCurrentState));
389 rc = RTErrConvertFromWin32(dwErr);
395 dwErr = GetLastError();
400 AssertMsgFailed(("OpenService failed dwErr=%Rwa\n", dwErr));
401 rc = RTErrConvertFromWin32(dwErr);
407 rc = RTErrConvertFromWin32(dwErr);
424 DWORD dwErr = GetLastError();
425 AssertMsg(hSMgr, ("OpenSCManager(,,delete) failed rc=%d\n", dwErr));
438 dwErr = GetLastError();
439 AssertMsgFailed(("DeleteService failed dwErr=%Rwa\n", dwErr));
440 rc = RTErrConvertFromWin32(dwErr);
446 dwErr = GetLastError();
447 if (dwErr == ERROR_SERVICE_DOES_NOT_EXIST)
451 AssertMsgFailed(("OpenService failed dwErr=%Rwa\n", dwErr));
452 rc = RTErrConvertFromWin32(dwErr);
534 DWORD dwErr = GetLastError();
535 AssertMsgFailed(("couldn't open service manager in SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS mode! (dwErr=%d)\n", dwErr));
536 return RTErrConvertFromWin32(dwErr);
586 DWORD dwErr = GetLastError();
587 AssertMsg(fRc, ("StartService failed with dwErr=%Rwa\n", dwErr));
588 rc = RTErrConvertFromWin32(dwErr);
605 DWORD dwErr = GetLastError(); NOREF(dwErr);
607 ("Failed to start. dwErr=%Rwa iWait=%d status=%d\n", dwErr, iWait, Status.dwCurrentState));
623 DWORD dwErr = GetLastError();
624 AssertMsgFailed(("OpenService failed! LastError=%Rwa\n", dwErr));
625 rc = RTErrConvertFromWin32(dwErr);