Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b3e80afa
Commit
b3e80afa
authored
Oct 20, 2008
by
Mounir IDRASSI
Committed by
Alexandre Julliard
Oct 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winscard: Added SCardAccessStartedEvent implementation.
parent
d40e0033
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
winscard.c
dlls/winscard/winscard.c
+11
-0
winscard.spec
dlls/winscard/winscard.spec
+1
-1
No files found.
dlls/winscard/winscard.c
View file @
b3e80afa
...
...
@@ -27,6 +27,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
winscard
);
static
HMODULE
WINSCARD_hModule
;
static
HANDLE
g_startedEvent
=
NULL
;
const
SCARD_IO_REQUEST
g_rgSCardT0Pci
=
{
SCARD_PROTOCOL_T0
,
8
};
const
SCARD_IO_REQUEST
g_rgSCardT1Pci
=
{
SCARD_PROTOCOL_T1
,
8
};
...
...
@@ -43,15 +44,25 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
DisableThreadLibraryCalls
(
hinstDLL
);
WINSCARD_hModule
=
hinstDLL
;
/* FIXME: for now, we act as if the pcsc daemon is always started */
g_startedEvent
=
CreateEventA
(
NULL
,
TRUE
,
TRUE
,
NULL
);
break
;
}
case
DLL_PROCESS_DETACH
:
{
CloseHandle
(
g_startedEvent
);
break
;
}
}
return
TRUE
;
}
HANDLE
WINAPI
SCardAccessStartedEvent
(
void
)
{
return
g_startedEvent
;
}
LONG
WINAPI
SCardAddReaderToGroupA
(
SCARDCONTEXT
context
,
LPCSTR
reader
,
LPCSTR
group
)
{
LONG
retval
;
...
...
dlls/winscard/winscard.spec
View file @
b3e80afa
...
...
@@ -2,7 +2,7 @@
@ stub SCardAccessNewReaderEvent
@ stub SCardReleaseAllEvents
@ stub SCardReleaseNewReaderEvent
@ st
ub SCardAccessStartedEvent
@ st
dcall SCardAccessStartedEvent()
@ stdcall SCardAddReaderToGroupA(long str str)
@ stdcall SCardAddReaderToGroupW(long wstr wstr)
@ stub SCardBeginTransaction
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment