SCardForgetCardType

This function removes an introduced smart card from the smart card subsystem.

LONG SCardForgetCardType(
  SCARDCONTEXT hContext, 
  LPCTSTR szCardName 
);

Parameters

  • hContext
    [in] Handle to the resource manager context. The resource manager context is set by a previous call to SCardEstablishContext.
  • szCardName
    [in] Null-terminated string that contains the friendly name of the card to be removed from the smart card database.

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

SCardForgetCardType is a database management function.

Requirements

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

See Also

SCardEstablishContext | SCardForgetReader | SCardIntroduceCardType

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.