aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-08-02 07:22:46 +0000
committerCorinna Vinschen <corinna@vinschen.de>2007-08-02 07:22:46 +0000
commitf86258b5c104b47446797249347c5836b2c33333 (patch)
treed956838b665af20812e071f576be130390854956
parentae08b378c9f2348a07de9b14f0b0d4a1c4cda4b5 (diff)
downloadnewlib-f86258b5c104b47446797249347c5836b2c33333.zip
newlib-f86258b5c104b47446797249347c5836b2c33333.tar.gz
newlib-f86258b5c104b47446797249347c5836b2c33333.tar.bz2
* include/winbase.h (ReOpenFile): Add prototype.
* lib/kernel32.def (ReOpenFile@16): Add export.
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/winbase.h3
-rw-r--r--winsup/w32api/lib/kernel32.def1
3 files changed, 9 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index e6f4662..4e8e511 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,8 @@
+2007-08-02 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/winbase.h (ReOpenFile): Add prototype.
+ * lib/kernel32.def (ReOpenFile@16): Add export.
+
2007-07-31 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wtsapi32.h (WTS_CURRENT_SESSION, WTSDisconnectSession): Define.
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h
index 43ca80c..5a77471 100644
--- a/winsup/w32api/include/winbase.h
+++ b/winsup/w32api/include/winbase.h
@@ -1838,6 +1838,9 @@ WINBASEAPI BOOL WINAPI RemoveDirectoryW(LPCWSTR);
#if (_WIN32_WINNT >= 0x0500)
WINBASEAPI ULONG WINAPI RemoveVectoredExceptionHandler(PVOID);
#endif
+#if (_WIN32_WINNT >= 0x0502)
+WINBASEAPI HANDLE WINAPI ReOpenFile(HANDLE,DWORD,DWORD,DWORD);
+#endif
#if (_WIN32_WINNT >= 0x0500)
WINBASEAPI BOOL WINAPI ReplaceFileA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPVOID,LPVOID);
WINBASEAPI BOOL WINAPI ReplaceFileW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPVOID,LPVOID);
diff --git a/winsup/w32api/lib/kernel32.def b/winsup/w32api/lib/kernel32.def
index 96c68ec..b832395 100644
--- a/winsup/w32api/lib/kernel32.def
+++ b/winsup/w32api/lib/kernel32.def
@@ -633,6 +633,7 @@ ReleaseSemaphore@12
RemoveDirectoryA@4
RemoveDirectoryW@4
RemoveVectoredExceptionHandler@4
+ReOpenFile@16
ReplaceFile@24
ReplaceFileA@24
ReplaceFileW@24