SCardFreeMemory (Compact 7)
3/12/2014
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 hContext parameter.
- 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 Values for a list of all error values). |
Fails |
Requirements
Header |
winscard.h |
Library |
winscard.lib |
See Also
Reference
Smart Card Functions
SCardEstablishContext
SCardGetProviderId
SCardListCards
SCardListInterfaces
SCardListReaders