Lines Matching defs:dwLastError
122 DWORD dwLastError = GetLastError();
123 int rc = RTErrConvertFromWin32(dwLastError);
125 AssertMsg(hSMgrCreate, ("OpenSCManager(,,create) failed rc=%d\n", dwLastError));
131 DWORD dwLastError = GetLastError();
134 AssertMsg(hService, ("OpenService failed! LastError=%Rwa, pszDriver=%s\n", dwLastError, pszDriverPath));
135 rc = RTErrConvertFromWin32(dwLastError);
156 AssertMsg(hService, ("ChangeServiceConfig failed! LastError=%Rwa, pszDriver=%s\n", dwLastError, pszDriverPath));
157 rc = RTErrConvertFromWin32(dwLastError);
181 DWORD dwLastError = GetLastError();
182 int rc = RTErrConvertFromWin32(dwLastError);
183 AssertMsg(hSMgrCreate, ("OpenSCManager(,,create) failed rc=%d\n", dwLastError));
201 DWORD dwLastError = GetLastError();
202 if (dwLastError == ERROR_SERVICE_EXISTS)
209 AssertMsg(hService, ("CreateService failed! LastError=%Rwa, szDriver=%s\n", dwLastError, szDriver));
210 rc = RTErrConvertFromWin32(dwLastError);