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
SCardListReaderGroups
..msdn    Add comment     W32 Constants      Translate this page
Provides the list of reader groups that have previously been introduced to the system.
Code examples:
Smart Card Database Query Functions
Declaration:
LONG SCardListReaderGroups(
    __in     SCARDCONTEXT hContext,
    __out    LPTSTR mszGroups,
    __inout  LPDWORD pcchGroups
);
FoxPro declaration:
DECLARE LONG SCardListReaderGroups IN Winscard;
    LONG hContext,;
    STRING @mszGroups,;
    LONG @pcchGroups
Parameters:
hContext [in]
Handle that identifies the resource manager context for the query.

mszGroups [out]
Multi-string that lists the reader groups defined to the system and available to the current user on the current terminal.

pcchGroups [in, out]
Length of the mszGroups buffer in characters, and receives the actual length of the multi-string structure, including all trailing null characters.
Return value:
If the function succeeds, the function returns SCARD_S_SUCCESS (0).
Usage:
nBufsize=128
cBuffer = REPLICATE(CHR(0), nBufsize)

nResult = SCardListReaderGroups(hContext,;
    @cBuffer, @nBufsize)
My comment:
The resource manager context can be set by a previous call to SCardEstablishContext. This parameter cannot be NULL.

See also: SCardListReaders
Word Index links for the SCardListReaderGroups :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-10-08 15:37:06
Modified: 2008-10-08 15:40:03
Visited in last 7 days: 13
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.1.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.211.212.174)
6 sec.Example: 'Using an Event Object. Part B: running an application responding to events'
2 day(s)Function: 'NetShareDel'
Function group: 'Network Management'
 
Function group: 'Monitor Configuration (Vista)'
 Example: 'How to obtain Content-Type value for a file type from the System Registry'
 Example: 'Basic Volume information'
 Example: 'How to display Windows On-Screen Keyboard'
Language: 'C++'
 Function: 'RtlCompressBuffer'
7 day(s)Function: 'CeRapiGetError'
Function group: 'Remote Application Programming (RAPI)'
 Example: 'Winsock: retrieving the host information corresponding to a network address'
 Function: 'CreateWindowEx'
Google
Advertise here!