Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This function frees memory that has been returned from the resource manager using the SCARD_AUTOALLOCATE length designator.
Syntax
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 hContextparameter. For more information, see Smart Card Database Query Functions.
- pvMem
-
[in] Memory block to be freed.
Return Value
The following table shows the possible return values.
Value | Description |
---|---|
SCARD_S_SUCCESS |
Succeeds |
An error value (see Smart Card Error Valuesfor a list of all error values). |
Fails |
Requirements
Header | winscard.h |
Library | winscard.lib |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |