Damjan Jovanovic damjan.jov@gmail.com wrote:
diff --git a/dlls/kernelbase/kernelbase.spec b/dlls/kernelbase/kernelbase.spec index 7c5ae99a79..9546d011c7 100644 --- a/dlls/kernelbase/kernelbase.spec +++ b/dlls/kernelbase/kernelbase.spec @@ -1769,3 +1769,4 @@ @ stdcall lstrlenW(wstr) KERNELBASE_lstrlenW # @ stub time # @ stub wprintf +@ cdecl wine_hlocal_hashtable_find_unlocked(ptr)
This is not acceptable.
diff --git a/include/winbase.h b/include/winbase.h index 8b30c5a69a..0a1ad0b3c0 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -2915,6 +2915,22 @@ WINBASEAPI UINT WINAPI _lwrite(HFILE,LPCSTR,UINT); extern char * CDECL wine_get_unix_file_name( LPCWSTR dos ); extern WCHAR * CDECL wine_get_dos_file_name( LPCSTR str );
+#include "pshpack1.h"
+struct local_header +{
- WORD magic;
- void *ptr;
- BYTE flags;
- BYTE lock;
- struct local_header *next;
+};
+#include "poppack.h"
+extern struct local_header *wine_hlocal_hashtable_find_unlocked(const void *ptr);
And this.