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:
Smart Card Database Query Functions
SCardListInterfaces
..msdn    Add comment     W32 Constants      Translate this page
Provides a list of interfaces supplied by a given card.
Code examples:
Smart Card Database Query Functions
Declaration:
LONG SCardListInterfaces(
  __in     SCARDCONTEXT hContext,
  __in     LPCTSTR szCard,
  __out    LPGUID pguidInterfaces,
  __inout  LPDWORD pcguidInterfaces
);
FoxPro declaration:
DECLARE LONG SCardListInterfaces IN Winscard;
    INTEGER hContext,;
    STRING szCard,;
    STRING @pguidInterfaces,;
    LONG @pcguidInterfaces
Parameters:
hContext [in]
Handle that identifies the resource manager context for the query.

szCard [in]
Name of the smart card already introduced to the smart card subsystem.

pguidInterfaces [out]
Array of interface identifiers (GUIDs) that indicate the interfaces supported by the smart card.

pcguidInterfaces [in, out]
Size of the pcguidInterfaces array, and receives the actual size of the returned array.
Return value:
Returns SCARD_S_SUCCESS (0) or error code.
Usage:
LOCAL cBuffer, nBufsize, nResult
nBufsize=256
cBuffer=REPLICATE(CHR(0), nBufsize)

nResult = SCardListInterfaces(hContext,;
    cCardName, @cBuffer, @nBufsize)
My comment:
The SCardListInterfaces function is a database query function.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-10-22 19:47:15
Modified: 2008-10-22 19:50:36
Visited in last 7 days: 17
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)
5 sec.Links
10 sec.Function: 'CeCreateDatabase'
Function group: 'Remote Application Programming (RAPI)'
14 sec.Function: 'CopyFile'
Function group: 'File Management'
17 sec.Function: 'ntohl'
Function group: 'Windows Sockets 2 (Winsock)'
21 sec.Function: 'closesocket'
Function group: 'Windows Sockets 2 (Winsock)'
25 sec.Function: 'waveInOpen'
Function group: 'Windows Multimedia'
32 sec.
Function group: 'Process and Thread'
36 sec.
Function group: 'Desktop Window Manager (DWM)'
39 sec.Function: 'WSAEnumProtocols'
Function group: 'Windows Sockets 2 (Winsock)'
44 sec.Function: 'waveInOpen'
Function group: 'Windows Multimedia'
Google
Advertise here!