Using Win32 functions in Visual FoxPro Image Gallery
Authentication
SCardConnect
SCardControl
SCardDisconnect
SCardEstablishContext
SCardGetAttrib
SCardGetProviderId
SCardIsValidContext
SCardListCards
SCardListInterfaces
SCardListReaderGroups
SCardListReaders
SCardReleaseContext
SCardStatus
SCardTransmit
Code examples:
SCardDisconnect
..msdn    Add comment     W32 Constants      Translate this page
Terminates a connection previously opened between the calling application and a smart card in the target reader.
Code examples:
Declaration:
LONG SCardDisconnect(
  __in  SCARDHANDLE hCard,
  __in  DWORD dwDisposition
);
FoxPro declaration:
DECLARE LONG SCardDisconnect IN Winscard;
    INTEGER hCard,;
    LONG dwDisposition
Parameters:
hCard [in]
Reference value obtained from a previous call to SCardConnect.

dwDisposition [in]
Action to take on the card in the connected reader on close.
Return value:
Returns SCARD_S_SUCCESS (0) or error code.
Usage:
LOCAL nResult
nResult = SCardDisconnect(m.hCard, SCARD_LEAVE_CARD)
My comment:
See also: SCardConnect, SCardReconnect
Word Index links for the SCardDisconnect :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-10-23 15:42:27
Modified: 2008-10-23 15:45:34
Visited in last 7 days: 10
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.198.134.32)
10 sec.Function: 'SQLGetInfo'
Function group: 'ODBC API'
21 sec.Solutions
32 sec.Example: 'How to convert a bitmap file to monochrome format (1 bpp)'
45 sec.Function: 'GetTextColor'
Function group: 'Font and Text'
57 sec.Function: 'CeCreateDirectory'
Function group: 'Remote Application Programming (RAPI)'
1.13 min.Function: 'SQLBrowseConnect'
Function group: 'ODBC API'
1.33 min.Function: 'DrawDibOpen'
Function group: 'Windows Multimedia'
1.5 min.Function: 'GetTextFace'
Function group: 'Font and Text'
1.68 min.Function: 'ntohs'
Function group: 'Windows Sockets 2 (Winsock)'
1.88 min.Function: 'FtpRenameFile'
Function group: 'Internet Functions (WinInet)'
Google
Advertise here!