This demarshalls functions over the message queue and keeps track of clients and their handles. More...
|Represents an Application Context on the Server side. More...|
|static void||ContextThread (LPVOID dwIndex)|
|Handles messages received from Clients. |
|LONG||CreateContextThread (uint32_t *pdwClientID)|
|Creates threads to handle messages received from Clients. |
|static LONG||MSGAddContext (SCARDCONTEXT, DWORD)|
|static LONG||MSGAddHandle (SCARDCONTEXT, SCARDHANDLE, DWORD)|
|static LONG||MSGCheckHandleAssociation (SCARDHANDLE, DWORD)|
|static LONG||MSGCleanupClient (DWORD)|
|static LONG||MSGFunctionDemarshall (psharedSegmentMsg msgStruct, DWORD dwContextIndex)|
|Find out which message was sent by the Client and execute the right task. |
|static LONG||MSGRemoveContext (SCARDCONTEXT, DWORD)|
|static LONG||MSGRemoveHandle (SCARDHANDLE, DWORD)|
|static struct _psContext||psContext [PCSCLITE_MAX_APPLICATIONS_CONTEXTS]|
This demarshalls functions over the message queue and keeps track of clients and their handles.
Each Client message is deald by creating a thread (
CreateContextThread). The thread establishes reands and demarshalls the message and calls the appropriate function to threat it.
Definition in file winscard_svc.c.