SCardGetTransmitCount function

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

Syntax


LONG WINAPI SCardGetTransmitCount(
  _In_  SCARDHANDLE hCard,
  _Out_ LPDWORD     pcTransmitCount
);

Parameters

hCard [in]

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

pcTransmitCount [out]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Winscard.h

Library

Winscard.lib

DLL

Winscard.dll

 

 

Show: