Share via


SCardBeginTransaction

This function starts a transaction, waiting for the completion of all other transactions before it begins.

When the transaction starts, all other applications are blocked from accessing the smart card during the transaction.

LONG SCardBeginTransaction(
  SCARDHANDLE hCard 
);

Parameters

  • hCard
    [in] Handle to the reference value obtained from a previous call to SCardConnect.

Return Values

The following table shows the possible return values.

Value Description
SCARD_S_SUCCESS Succeeds
An error value (see Smart Card Error Values for a list of all error values). Fails

Remarks

SCardBeginTransaction is a smart card and reader access function.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Winscard.h.
Link Library: Winscard.lib.

See Also

SCardConnect | SCardEndTransaction

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.