SCardFreeMemory (Windows CE 5.0)

Send Feedback

This function frees memory that has been returned from the resource manager using the SCARD_AUTOALLOCATE length designator.

LONG SCardFreeMemory(  SCARDCONTEXT hContext,  LPCVOID pvMem,
);

Parameters

  • hContext
    [in] Handle that identifies the resource manager context returned from SCardEstablishContext, or NULL if the creating function also specified NULL for its hContext parameter. For more information, see Smart Card Database Query Functions.
  • pvMem
    [in] Memory block to be freed.

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

Requirements

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

See Also

Smart Card Functions | SCardEstablishContext | SCardGetProviderId | SCardListCards | SCardListInterfaces | SCardListReaders

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.