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:
SCardIsValidContext
..msdn    Add comment     W32 Constants      Translate this page
Determines whether a smart card context handle is valid.
Code examples:
Declaration:
LONG SCardIsValidContext(
    __in  SCARDCONTEXT hContext
);
FoxPro declaration:
DECLARE LONG SCardIsValidContext IN Winscard;
    INTEGER hContext
Parameters:
hContext [in]
Handle that identifies the resource manager context. The resource manager context can be set by a previous call to SCardEstablishContext.
Return value:
If the hContext parameter is valid, the function returns SCARD_S_SUCCESS (0).
Usage:
#DEFINE SCARD_S_SUCCESS 0

? "SCardIsValidContext:",;
    IIF(SCardIsValidContext(hContext)=SCARD_S_SUCCESS,;
    "Valid", "Invalid")
My comment:
See also: SCardEstablishContext
Word Index links for the SCardIsValidContext :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-10-08 15:42:42
Modified: 2008-10-08 15:45:35
Visited in last 7 days: 8
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.227.127.109)
16 sec.Function: 'GetVolumePathNamesForVolumeName'
33 sec.
Function group: 'Error Handling'
50 sec.Function: 'InsertMenuItem'
1.1 min.Function: 'CoTaskMemFree'
1.37 min.Function: 'CreateDirectory'
1.63 min.Function: 'StrToIntEx'
1.9 min.Function: 'CreateJobObject'
2.18 min.Function: 'WaitForSingleObject'
2.47 min.Function: 'GetSystemPowerStatus'
2.75 min.Function: 'ClipCursor'
Google
Advertise here!