Shlwapi ordinal 342 implementation

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

 



Hi all.

-----Changelog-------------------------------------------------------------
        [wine/dlls/shlwapi/shlwapi.spec] [wine/dlls/shlwapi/ordinal.c]
          Implement ordinal export 342 from shlwapi.dll

-----Patch-------------------------------------------------------
--- wine/dlls/shlwapi/shlwapi.spec.old  Wed Mar  6 03:06:01 2002
+++ wine/dlls/shlwapi/shlwapi.spec      Wed Mar  6 03:06:32 2002
@@ -351,7 +351,7 @@
 339 forward @ kernel32.GetNumberFormatW
 340 forward @ user32.MessageBoxW
 341 forward @ kernel32.FindNextFileW
-342 stdcall @(long long long) SHLWAPI_342
+342 stdcall @(long long long) SHInterlockedCompareExchange
 343 stub @
 344 stub @
 345 stub @
--- wine/dlls/shlwapi/ordinal.c.old     Wed Mar  6 03:07:19 2002
+++ wine/dlls/shlwapi/ordinal.c Wed Mar  6 03:13:47 2002
@@ -1779,14 +1779,12 @@
  *      @      [SHLWAPI.342]
  *
  */
-DWORD WINAPI SHLWAPI_342 (
-       LPDWORD  w,   /* [out] location to put HKEY value???   */
-       HKEY     x,   /* [in]  appears to be HKEY_CURRENT_USER */
-       LPVOID y)
+DWORD WINAPI SHInterlockedCompareExchange(
+       PLONG dest,
+       LONG xchg,
+       LONG compare)
 {
-       FIXME("(%p 0x%08x %p)stub\n", w,x,y);
-       *w = (DWORD)x;
-       return /* 0xabba1249 */ 0;
+       return InterlockedCompareExchange(dest, xchg, compare);
 }

 /*************************************************************************




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

  Powered by Linux