Changeset 1074 for pjproject/trunk/pjlib/src/pj/file_io_win32.c
- Timestamp:
- Mar 16, 2007 9:25:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/file_io_win32.c
r974 r1074 205 205 } 206 206 207 PJ_DEF(pj_status_t) pj_file_flush(pj_oshandle_t fd) 208 { 209 BOOL rc; 210 211 rc = FlushFileBuffers(fd); 212 213 if (!rc) { 214 DWORD dwStatus = GetLastError(); 215 if (dwStatus != 0) 216 return PJ_RETURN_OS_ERROR(dwStatus); 217 } 218 219 return PJ_SUCCESS; 220 }
Note: See TracChangeset
for help on using the changeset viewer.