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
SCardListReaders
..msdn    Add comment     W32 Constants      Translate this page
Provides the list of readers within a set of named reader groups.
Code examples:
Smart Card Database Query Functions
Declaration:
LONG SCardListReaders(
  __in     SCARDCONTEXT hContext,
  __in     LPCTSTR mszGroups,
  __out    LPTSTR mszReaders,
  __inout  LPDWORD pcchReaders
);
FoxPro declaration:
DECLARE LONG SCardListReaders IN Winscard;
    INTEGER hContext,;
    STRING mszGroups,;
    STRING @mszReaders,;
    LONG @pcchReaders
Parameters:
hContext [in]
Handle that identifies the resource manager context for the query.

mszGroups [in]
Names of the reader groups defined to the system, as a multi-string.

mszReaders [out]
Multi-string that lists the card readers within the supplied reader groups.

pcchReaders [in, out]
Length of the mszReaders buffer in characters.
Return value:
Returns SCARD_S_SUCCESS (0) or error code.
Usage:
LOCAL cBuffer, nBufsize, nResult
nBufsize=256
cBuffer=REPLICATE(CHR(0), nBufsize)

nResult = SCardListReaders(hContext,;
    NULL, @cBuffer, @nBufsize)
My comment:
The SCardListReaders 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:38:23
Modified: 2008-10-22 19:42:30
Visited in last 7 days: 20
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.226.34.209)
16 sec.Function: 'CountClipboardFormats'
33 sec.Function: 'NetGetDCName'
47 sec.Function: 'getnameinfo'
1.02 min.Function: 'GdipCreateImageAttributes'
1.33 min.Function: 'URLDownloadToCacheFile'
1.6 min.Function: 'GetMenuItemID'
1.82 min.Function: 'LoadBitmap'
2.05 min.
Function group: 'Unicode and Character Set'
2.3 min.Function: 'SetComputerName'
2.55 min.Function: 'GdiplusStartup'
Google
Advertise here!