Lines Matching refs:GetLastError
91 return MyFailure("1st CreateFile: %d\n", GetLastError());
95 MyError("1st SetFilePointerEx failed: %d\n", GetLastError());
100 MyError("write fail: %d\n", GetLastError());
104 MyError("2nd SetFilePointerEx failed: %d\n", GetLastError());
112 MyError("read didn't fail! cb=%#lx lasterr=%d\n", (long)cb, GetLastError());
116 MyError("3rd SetFilePointerEx failed: %d\n", GetLastError());
134 return MyFailure("2nd CreateFile: %d\n", GetLastError());
138 MyError("4th SetFilePointerEx failed: %d\n", GetLastError());
145 MyError("2nd write failed: %d\n", GetLastError());
149 MyError("5th SetFilePointerEx failed: %d\n", GetLastError());
171 return MyFailure("3rd CreateFile: %d\n", GetLastError());
175 MyError("6th SetFilePointerEx failed: %d\n", GetLastError());
182 MyError("1st ReadFile failed: %d\n", GetLastError());
188 MyError("7th SetFilePointerEx failed: %d\n", GetLastError());
195 MyError("3rd write failed: %d\n", GetLastError());
199 MyError("8th SetFilePointerEx failed: %d\n", GetLastError());
207 MyError("read after write didn't fail! cb=%#lx lasterr=%d\n", (long)cb, GetLastError());
211 MyError("9th SetFilePointerEx failed: %d\n", GetLastError());
217 MyError("1st ReadFile failed: %d\n", GetLastError());
223 MyError("10th SetFilePointerEx failed: %d\n", GetLastError());
243 return MyFailure("4th CreateFile: %d\n", GetLastError());
247 MyError("write didn't on read-only+append open: %d cb=%#lx\n", GetLastError(), (long)cb);