Fun API Documentation 0.42.1
The programming language that makes you have fun!
Loading...
Searching...
No Matches
pcsc_card_entry Struct Reference

One slot in the PC/SC card handle registry. More...

Data Fields

SCARDHANDLE h
DWORD proto
int in_use

Detailed Description

One slot in the PC/SC card handle registry.

Ownership notes:

  • The registry does not disconnect cards; it only stores the handle returned by SCardConnect() and the negotiated protocol. The VM opcode that created the handle is responsible for calling SCardDisconnect().

Definition at line 90 of file pcsc.c.

Field Documentation

◆ h

SCARDHANDLE h

Connected card handle from SCardConnect().

Definition at line 91 of file pcsc.c.

◆ in_use

int in_use

1 if the slot is currently allocated; 0 otherwise.

Definition at line 93 of file pcsc.c.

◆ proto

DWORD proto

Negotiated protocol flags (e.g., SCARD_PROTOCOL_T0/T1).

Definition at line 92 of file pcsc.c.


The documentation for this struct was generated from the following file: