pcsc-lite 1.6.4
Functions
winscard_svc.h File Reference

This demarshalls functions over the message queue and keeps track of clients and their handles. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

LONG ContextsInitialize (int, int)
void ContextsDeinitialize (void)
LONG CreateContextThread (uint32_t *)
 Creates threads to handle messages received from Clients.
LONG MSGSignalClient (uint32_t filedes, LONG rv)

Detailed Description

This demarshalls functions over the message queue and keeps track of clients and their handles.

Definition in file winscard_svc.h.


Function Documentation

LONG CreateContextThread ( uint32_t *  pdwClientID)

Creates threads to handle messages received from Clients.

Parameters:
[in]pdwClientIDConnection ID used to reference the Client.
Returns:
Error code.
Return values:
SCARD_S_SUCCESSSuccess.
SCARD_F_INTERNAL_ERRORExceded the maximum number of simultaneous Application Contexts.
SCARD_E_NO_MEMORYError creating the Context Thread.

Definition at line 141 of file winscard_svc.c.

References AutoExit, _psContext::cardsList_lock, contextsList_lock, _psContext::dwClientID, _psContext::pthThread, SCARD_E_NO_MEMORY, and SCARD_S_SUCCESS.

Referenced by SVCServiceRunLoop().