pcsc-lite 2.3.0
winscard_svc.h File Reference

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

#include <stdint.h>
#include "wintypes.h"

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)
 
LONG MSGSendReaderStates (uint32_t filedes)
 

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

◆ ContextsDeinitialize()

void ContextsDeinitialize ( void )

Definition at line 150 of file winscard_svc.c.

◆ ContextsInitialize()

LONG ContextsInitialize ( int customMaxThreadCounter,
int customMaxThreadCardHandles )

Definition at line 120 of file winscard_svc.c.

◆ CreateContextThread()

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_ERRORExceeded the maximum number of simultaneous Application Contexts.
SCARD_E_NO_MEMORYError creating the Context Thread.

Definition at line 192 of file winscard_svc.c.

◆ MSGSendReaderStates()

LONG MSGSendReaderStates ( uint32_t filedes)

Definition at line 879 of file winscard_svc.c.

◆ MSGSignalClient()

LONG MSGSignalClient ( uint32_t filedes,
LONG rv )

Definition at line 862 of file winscard_svc.c.