Added stub for GetDevicePowerState().

This commit is contained in:
Rein Klazes 2003-03-14 23:01:24 +00:00 committed by Alexandre Julliard
parent d5897a6448
commit cfd8bb8c18
2 changed files with 10 additions and 1 deletions

View File

@ -384,7 +384,7 @@
@ stdcall GetDefaultCommConfigA(str ptr long) GetDefaultCommConfigA @ stdcall GetDefaultCommConfigA(str ptr long) GetDefaultCommConfigA
@ stdcall GetDefaultCommConfigW(wstr ptr long) GetDefaultCommConfigW @ stdcall GetDefaultCommConfigW(wstr ptr long) GetDefaultCommConfigW
@ stub GetDefaultSortkeySize @ stub GetDefaultSortkeySize
@ stub GetDevicePowerState @ stdcall GetDevicePowerState(long ptr) GetDevicePowerState
@ stdcall GetDiskFreeSpaceA(str ptr ptr ptr ptr) GetDiskFreeSpaceA @ stdcall GetDiskFreeSpaceA(str ptr ptr ptr ptr) GetDiskFreeSpaceA
@ stdcall GetDiskFreeSpaceW(wstr ptr ptr ptr ptr) GetDiskFreeSpaceW @ stdcall GetDiskFreeSpaceW(wstr ptr ptr ptr ptr) GetDiskFreeSpaceW
@ stdcall GetDriveTypeA(str) GetDriveTypeA @ stdcall GetDriveTypeA(str) GetDriveTypeA

View File

@ -311,3 +311,12 @@ BOOL WINAPI GetQueuedCompletionStatus(
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE; return FALSE;
} }
/******************************************************************************
* GetDevicePowerState (KERNEL32.@)
*/
BOOL WINAPI GetDevicePowerState(HANDLE hDevice, BOOL* pfOn)
{
FIXME("(hDevice %p pfOn %p): stub\n", hDevice, pfOn);
return TRUE; /* no information */
}