stub for GetDevicePowerState

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

Fix a crash when closing Eudora.

Changelog:
	dlls/kernel	: kernel32.spec
	win32		: newfns.c

	Add stub for GetDevicePowerState().

Rein.
-- 
Rein Klazes
rklazes@xs4all.nl
--- wine/dlls/kernel/kernel32.spec	2003-03-04 11:19:15.000000000 +0100
+++ mywine/dlls/kernel/kernel32.spec	2003-03-14 12:21:14.000000000 +0100
@@ -384,7 +384,7 @@
 @ stdcall GetDefaultCommConfigA(str ptr long) GetDefaultCommConfigA
 @ stdcall GetDefaultCommConfigW(wstr ptr long) GetDefaultCommConfigW
 @ stub GetDefaultSortkeySize
-@ stub GetDevicePowerState
+@ stdcall GetDevicePowerState(long ptr) GetDevicePowerState
 @ stdcall GetDiskFreeSpaceA(str ptr ptr ptr ptr) GetDiskFreeSpaceA
 @ stdcall GetDiskFreeSpaceW(wstr ptr ptr ptr ptr) GetDiskFreeSpaceW
 @ stdcall GetDriveTypeA(str) GetDriveTypeA
--- wine/win32/newfns.c	2003-01-16 07:13:37.000000000 +0100
+++ mywine/win32/newfns.c	2003-03-14 12:41:42.000000000 +0100
@@ -311,3 +311,12 @@
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
     return FALSE;
 }
+
+/******************************************************************************
+ *           GetDevicePowerState   (KERNEL32.@)
+ */
+BOOL WINAPI GetDevicePowerState(HANDLE hDevice, BOOL* pfOn)
+{
+    FIXME("(hDevice %p pfOn %p): stub\n", hDevice, pfOn);
+    return TRUE; /* no information */
+}

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux