diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2005-12-07 20:27:09 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2005-12-07 20:27:09 +0000 |
commit | 14d2d90cff23b33dc889a551ae1cc929311495fa (patch) | |
tree | 7926ffa416d7a705c3ac152dcbde8f07d3b6f9c7 | |
parent | 8696d636068e501e4c6a4ce7f131063e26dab314 (diff) | |
download | newlib-14d2d90cff23b33dc889a551ae1cc929311495fa.zip newlib-14d2d90cff23b33dc889a551ae1cc929311495fa.tar.gz newlib-14d2d90cff23b33dc889a551ae1cc929311495fa.tar.bz2 |
* include/winbase.h (GetDevicePowerState): Add prototype.
* lib/kernel32.def (GetDevicePowerState): Correct suffix.
-rw-r--r-- | winsup/w32api/include/winbase.h | 1 | ||||
-rw-r--r-- | winsup/w32api/lib/kernel32.def | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index fdfb2be..faf95ae 100644 --- a/winsup/w32api/include/winbase.h +++ b/winsup/w32api/include/winbase.h @@ -1353,6 +1353,7 @@ WINBASEAPI DWORD WINAPI GetCurrentThreadId(void); #define GetCurrentTime GetTickCount WINBASEAPI BOOL WINAPI GetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,PDWORD); WINBASEAPI BOOL WINAPI GetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,PDWORD); +WINBASEAPI BOOL WINAPI GetDevicePowerState(HANDLE, BOOL*); WINBASEAPI BOOL WINAPI GetDiskFreeSpaceA(LPCSTR,PDWORD,PDWORD,PDWORD,PDWORD); WINBASEAPI BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR,PDWORD,PDWORD,PDWORD,PDWORD); WINBASEAPI BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER); diff --git a/winsup/w32api/lib/kernel32.def b/winsup/w32api/lib/kernel32.def index 6ef6528..0730470 100644 --- a/winsup/w32api/lib/kernel32.def +++ b/winsup/w32api/lib/kernel32.def @@ -289,7 +289,7 @@ GetDateFormatA@24 GetDateFormatW@24 GetDefaultCommConfigA@12 GetDefaultCommConfigW@12 -GetDevicePowerState@4 +GetDevicePowerState@8 GetDiskFreeSpaceA@20 GetDiskFreeSpaceW@20 GetDiskFreeSpaceExA@16 |