FreeRDP
smartcard_call.h File Reference
This graph shows which files directly or indirectly include this file:

Functions

FREERDP_API void smartcard_call_context_free (scard_call_context *ctx)
 
FREERDP_API scard_call_context * smartcard_call_context_new (const rdpSettings *settings)
 
FREERDP_API BOOL smartcard_call_context_signal_stop (scard_call_context *ctx, BOOL reset)
 
FREERDP_API BOOL smartcard_call_context_add (scard_call_context *ctx, const char *name)
 
FREERDP_API BOOL smartcard_call_cancel_context (scard_call_context *ctx, SCARDCONTEXT context)
 
FREERDP_API BOOL smartcard_call_cancel_all_context (scard_call_context *ctx)
 
FREERDP_API BOOL smartcard_call_release_context (scard_call_context *ctx, SCARDCONTEXT context)
 
FREERDP_API BOOL smartcard_call_is_configured (scard_call_context *ctx)
 
FREERDP_API BOOL smarcard_call_set_callbacks (scard_call_context *ctx, void *userdata, void *(*fn_new)(void *, SCARDCONTEXT), void(*fn_free)(void *))
 
FREERDP_API void * smartcard_call_get_context (scard_call_context *ctx, SCARDCONTEXT hContext)
 
FREERDP_API LONG smartcard_irp_device_control_call (scard_call_context *context, wStream *out, UINT32 *pIoStatus, SMARTCARD_OPERATION *operation)
 

Function Documentation

◆ smarcard_call_set_callbacks()

FREERDP_API BOOL smarcard_call_set_callbacks ( scard_call_context *  ctx,
void *  userdata,
void *(*)(void *, SCARDCONTEXT fn_new,
void(*)(void *)  fn_free 
)
Here is the caller graph for this function:

◆ smartcard_call_cancel_all_context()

FREERDP_API BOOL smartcard_call_cancel_all_context ( scard_call_context *  ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_call_cancel_context()

FREERDP_API BOOL smartcard_call_cancel_context ( scard_call_context *  ctx,
SCARDCONTEXT  context 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_call_context_add()

FREERDP_API BOOL smartcard_call_context_add ( scard_call_context *  ctx,
const char *  name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_call_context_free()

FREERDP_API void smartcard_call_context_free ( scard_call_context *  ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_call_context_new()

FREERDP_API scard_call_context* smartcard_call_context_new ( const rdpSettings *  settings)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_call_context_signal_stop()

FREERDP_API BOOL smartcard_call_context_signal_stop ( scard_call_context *  ctx,
BOOL  reset 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_call_get_context()

FREERDP_API void* smartcard_call_get_context ( scard_call_context *  ctx,
SCARDCONTEXT  hContext 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_call_is_configured()

FREERDP_API BOOL smartcard_call_is_configured ( scard_call_context *  ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_call_release_context()

FREERDP_API BOOL smartcard_call_release_context ( scard_call_context *  ctx,
SCARDCONTEXT  context 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ smartcard_irp_device_control_call()

FREERDP_API LONG smartcard_irp_device_control_call ( scard_call_context *  context,
wStream out,
UINT32 *  pIoStatus,
SMARTCARD_OPERATION operation 
)

[MS-RDPESC] 3.2.5.1: Sending Outgoing Messages: the output buffer length SHOULD be set to 2048

Since it's a SHOULD and not a MUST, we don't care about it, but we still reserve at least 2048 bytes.

[MS-RPCE] 2.2.6.3 Primitive Type Serialization The type MUST be aligned on an 8-byte boundary. If the size of the primitive type is not a multiple of 8 bytes, the data MUST be padded.

Here is the caller graph for this function: