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. |
|LONG||MSGAddContext (SCARDCONTEXT, DWORD)|
|LONG||MSGAddHandle (SCARDCONTEXT, SCARDHANDLE, DWORD)|
|LONG||MSGCheckHandleAssociation (SCARDHANDLE, DWORD)|
|LONG||MSGFunctionDemarshall (psharedSegmentMsg msgStruct, DWORD dwContextIndex)|
|Find out which message was sent by the Client and execute the right task. |
|LONG||MSGRemoveContext (SCARDCONTEXT, DWORD)|
|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.