Lines Matching refs:GetLastError
193 if (hProcess == NULL && GetLastError() == ERROR_ACCESS_DENIED) {
199 if (GetLastError() == ERROR_INVALID_PARAMETER) {
205 (int)pid, (int)GetLastError());
303 TRUE : (GetLastError() == ERROR_PIPE_CONNECTED);
335 if (GetLastError() == ERROR_BROKEN_PIPE) {
469 if (GetLastError() == ERROR_NOT_ENOUGH_MEMORY) {
504 if (GetLastError() != ERROR_NO_TOKEN) {
527 error = GetLastError();
552 if (GetLastError() == ERROR_SUCCESS) {
555 error = GetLastError();
571 error = GetLastError();