Skip to content

Latest commit

 

History

History
99 lines (85 loc) · 2.72 KB

nf-winscard-scardreleasecontext.md

File metadata and controls

99 lines (85 loc) · 2.72 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winscard.SCardReleaseContext
SCardReleaseContext function (winscard.h)
Closes an established resource manager context, freeing any resources allocated under that context, including SCARDHANDLE objects and memory allocated using the SCARD_AUTOALLOCATE length designator.
SCardReleaseContext
SCardReleaseContext function [Security]
_smart_scardreleasecontext
security.scardreleasecontext
winscard/SCardReleaseContext
security\scardreleasecontext.htm
security
aa17cf94-ca66-4b5e-b1cd-00319f496b09
12/05/2018
SCardReleaseContext, SCardReleaseContext function [Security], _smart_scardreleasecontext, security.scardreleasecontext, winscard/SCardReleaseContext
winscard.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Winscard.lib
Winscard.dll
Windows
19H1
SCardReleaseContext
winscard/SCardReleaseContext
c++
APIRef
kbSyntax
DllExport
Winscard.dll
Ext-MS-Win-wlan-scard-l1-1-0.dll
Ext-MS-Win-Security-WinSCard-L1-1-0.dll
SCardReleaseContext

SCardReleaseContext function

-description

The SCardReleaseContext function closes an established resource manager context, freeing any resources allocated under that context, including SCARDHANDLE objects and memory allocated using the SCARD_AUTOALLOCATE length designator.

-parameters

-param hContext [in]

Handle that identifies the resource manager context. The resource manager context is set by a previous call to SCardEstablishContext.

-returns

This function returns different values depending on whether it succeeds or fails.

Return code Description
Success
SCARD_S_SUCCESS.
Failure
An error code. For more information, see Smart Card Return Values.

-see-also

SCardEstablishContext