SCardGetTransmitCount function (winscard.h)

The SCardGetTransmitCount function retrieves the number of transmit operations that have completed since the specified card reader was inserted.

Syntax

LONG SCardGetTransmitCount(
  [in]  SCARDHANDLE hCard,
  [out] LPDWORD     pcTransmitCount
);

Parameters

[in] hCard

A handle to a smart card obtained from a previous call to SCardConnect.

[out] pcTransmitCount

A pointer to the number of transmit operations that have completed since the specified card reader was inserted.

Return value

If the function succeeds, it returns SCARD_S_SUCCESS.

If the function fails, it returns an error code. For more information, see Smart Card Return Values.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header winscard.h
Library Winscard.lib
DLL Winscard.dll