[PSDK]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 17 May 2014 14:00:54 +0000 (14:00 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 17 May 2014 14:00:54 +0000 (14:00 +0000)
* Add some missing definitions.
* Fix SCardReleaseStartedEvent().

svn path=/trunk/; revision=63328

reactos/include/psdk/winscard.h

index 825e26d..884d350 100644 (file)
 #include <winsmcrd.h>
 #include <scarderr.h>
 
+/* Valid scopes for contexts */
+#define SCARD_SCOPE_USER     0
+#define SCARD_SCOPE_TERMINAL 1
+#define SCARD_SCOPE_SYSTEM   2
+
 #ifndef _LPCBYTE_DEFINED
 #define _LPCBYTE_DEFINED
 typedef const BYTE *LPCBYTE;
@@ -129,7 +134,7 @@ LONG        WINAPI SCardLocateCardsByATRW(SCARDCONTEXT,LPSCARD_ATRMASK,DWORD,LPS
 #define     SCardLocateCardsByATR WINELIB_NAME_AW(SCardLocateCardsByATR)
 LONG        WINAPI SCardReconnect(SCARDHANDLE,DWORD,DWORD,DWORD,LPDWORD);
 LONG        WINAPI SCardReleaseContext(SCARDCONTEXT);
-void        WINAPI SCardReleaseStartedEvent(HANDLE);
+void        WINAPI SCardReleaseStartedEvent(void);
 LONG        WINAPI SCardRemoveReaderFromGroupA(SCARDCONTEXT,LPCSTR,LPCSTR);
 LONG        WINAPI SCardRemoveReaderFromGroupW(SCARDCONTEXT,LPCWSTR,LPCWSTR);
 #define     SCardRemoveReaderFromGroup WINELIB_NAME_AW(SCardRemoveReaderFromGroup)