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 (void)
LONG CreateContextThread (uint32_t *)
 Creates threads to handle messages received from Clients.


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] pdwClientID Connection ID used to reference the Client.
Returns:
Error code.
Return values:
SCARD_S_SUCCESS Success.
SCARD_F_INTERNAL_ERROR Exceded the maximum number of simultaneous Application Contexts.
SCARD_E_NO_MEMORY Error creating the Context Thread.

Definition at line 78 of file winscard_svc.c.

References ContextThread(), _psContext::dwClientID, PCSCLITE_MAX_APPLICATIONS_CONTEXTS, psContext, SCARD_E_NO_MEMORY, SCARD_F_INTERNAL_ERROR, SCARD_S_SUCCESS, and SYS_CloseFile().

Referenced by SVCServiceRunLoop().

Here is the call graph for this function:


Generated on Mon Aug 17 01:00:16 2009 for pcsc-lite by  doxygen 1.5.9