From a90fa0098b6acee7f6aecd2f8ccb25b57f6c4cbc Mon Sep 17 00:00:00 2001 From: dannysmith Date: Wed, 7 Dec 2005 20:27:09 +0000 Subject: [PATCH] * include/winbase.h (GetDevicePowerState): Add prototype. * lib/kernel32.def (GetDevicePowerState): Correct suffix. --- winsup/w32api/include/winbase.h | 1 + winsup/w32api/lib/kernel32.def | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/winsup/w32api/include/winbase.h b/winsup/w32api/include/winbase.h index fdfb2be5f1..faf95ae2b8 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 6ef6528e1b..0730470c09 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 -- 2.11.0