Re: Wine, good, evil, and black and white 2

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

 



On Sunday 16 July 2006 05:29, thunderduck3141 wrote:
>
> h4x0r@Mainframe:~/.wine/drive_c/Program Files/Lionhead Studios/Black &
> White 2$ wine white.exe fixme:system:SystemParametersInfoW
> Unimplemented action: 112 (SPI_GETMOUSESPEED)
> fixme:powermgnt:GetSystemPowerStatus (): stub, harmless.
> wine: Call from 0x611c68 to unimplemented function
> kernel32.dll.HeapSetInformation, aborting
> wine: Unimplemented function kernel32.dll.HeapSetInformation called at
> address 0x611c68 (thread 0009), starting debugger...

The attached patch should help. Apply it to the source and rebuild wine.

Bye Stefan
--- ../wine-git/dlls/kernel/kernel32.spec	2006-07-11 23:46:30.000000000 +0200
+++ dlls/kernel/kernel32.spec	2006-07-16 11:07:50.000000000 +0200
@@ -696,7 +696,7 @@
 @ stub HeapQueryTagW
 @ stdcall HeapReAlloc(long long ptr long) ntdll.RtlReAllocateHeap
 @ stub HeapSetFlags
-# @ stub HeapSetInformation
+@ stdcall HeapSetInformation(long ptr ptr long)
 @ stdcall HeapSize(long long ptr) ntdll.RtlSizeHeap
 @ stub HeapSummary
 @ stdcall HeapUnlock(long)
--- ../wine-git/dlls/kernel/heap.c	2006-07-11 23:46:30.000000000 +0200
+++ dlls/kernel/heap.c	2006-07-16 11:36:33.000000000 +0200
@@ -282,6 +282,13 @@
 {
     return RtlReAllocateHeap( heap, flags, ptr, size );
 }
+BOOL WINAPI HeapSetInformation( HANDLE heap, /* HEAP_INFORMATION_CLASS */ void *heapInfoClass,
+	PVOID heapInfo, SIZE_T heapInfoSize)
+{
+    FIXME("%p, %p(%lu), %p, %lu\n", heap, heapInfoClass,
+	heapInfoClass ? *(ULONG*) heapInfoClass : 0, heapInfo, heapInfoSize);
+    return TRUE;
+}
 
 SIZE_T WINAPI HeapSize( HANDLE heap, DWORD flags, LPVOID ptr )
 {
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

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

  Powered by Linux