[WINSCARD] Sync with Wine Staging 4.18. CORE-16441
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 7 Dec 2019 12:08:06 +0000 (13:08 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 7 Dec 2019 12:08:06 +0000 (13:08 +0100)
dll/win32/winscard/precomp.h
dll/win32/winscard/stubs.c
dll/win32/winscard/winscard.c
media/doc/README.WINE

index 6cce6bb..c5c2918 100644 (file)
@@ -2,8 +2,6 @@
 #ifndef _WINSCARD_PCH_
 #define _WINSCARD_PCH_
 
-#include <wine/config.h>
-
 #include <stdarg.h>
 
 #define WIN32_NO_STATUS
index 3c502cf..c12bcda 100644 (file)
@@ -23,17 +23,6 @@ SCardBeginTransaction(SCARDHANDLE hCard)
   return SCARD_F_UNKNOWN_ERROR;
 }
 
-/*
- * @unimplemented
- */
-LONG
-WINAPI
-SCardCancel(SCARDCONTEXT hContext)
-{
-  UNIMPLEMENTED;
-  return SCARD_F_UNKNOWN_ERROR;
-}
-
 /*
  * @unimplemented
  */
index a8a1735..d524483 100644 (file)
@@ -16,7 +16,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-#include "config.h"
 #include <stdarg.h>
 #include "windef.h"
 #include "winbase.h"
@@ -141,3 +140,10 @@ LONG WINAPI SCardListReadersW(SCARDCONTEXT context, const WCHAR *groups, WCHAR *
     FIXME("(%lx, %s, %p, %p) stub\n", context, debugstr_w(groups), readers, buflen);
     return SCARD_E_NO_READERS_AVAILABLE;
 }
+
+LONG WINAPI SCardCancel(SCARDCONTEXT context)
+{
+    FIXME("(%lx) stub\n", context);
+    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+    return SCARD_F_INTERNAL_ERROR;
+}
index e27bd33..7eeced4 100644 (file)
@@ -206,7 +206,7 @@ dll/win32/wininet             # Synced to WineStaging-4.18
 dll/win32/winmm               # Forked at Wine-20050628
 dll/win32/winmm/midimap       # Forked at Wine-20050628
 dll/win32/winmm/wavemap       # Forked at Wine-20050628
-dll/win32/winscard            # Synced to WineStaging-3.3
+dll/win32/winscard            # Synced to WineStaging-4.18
 dll/win32/wintrust            # Synced to WineStaging-3.9
 dll/win32/wldap32             # Synced to WineStaging-3.3
 dll/win32/wmi                 # Synced to WineStaging-2.9