Compartilhar via


SCardForgetReader (Windows CE 5.0)

Send Feedback

This function removes a previously introduced reader from control by the smart card subsystem. It is removed from the smart card database, including from any reader group to which it may have been added.

LONG SCardForgetReader(SCARDCONTEXThContext, LPCTSTRszReaderName);

Parameters

  • hContext
    [in] Handle to the resource manager context. The resource manager context is set by a previous call to SCardEstablishContext.
  • szReaderName
    [in] Null-terminated string that contains the friendly name of the reader 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

SCardForgetReader is a database management function.

Requirements

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

See Also

SCardEstablishContext | SCardForgetCardType | SCardIntroduceReader

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.