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
SCardGetProviderId
..msdn    Add comment     W32 Constants      Translate this page
Returns the identifier (GUID) of the primary service provider for a given card.
Code examples:
Smart Card Database Query Functions
Declaration:
LONG SCardGetProviderId(
  __in   SCARDCONTEXT hContext,
  __in   LPCTSTR szCard,
  __out  LPGUID pguidProviderId
);
FoxPro declaration:
DECLARE LONG SCardGetProviderId IN Winscard;
    INTEGER hContext,;
    STRING szCard,;
    STRING @pguidProviderId
Parameters:
hContext [in]
Handle that identifies the resource manager context for the query.

szCard [in]
Name of the card defined to the system.

pguidProviderId [out]
Identifier (GUID) of the primary service provider. This provider may be activated using COM, and will supply access to other services in the card.
Return value:
Returns SCARD_S_SUCCESS (0) or error code.
Usage:
LOCAL nResult, cBuffer
cBuffer=REPLICATE(CHR(0),32)
nResult = SCardGetProviderId(hContext,;
    cCardName, @cBuffer)
My comment:
The SCardGetProviderId function is a database query function.
Word Index links for the SCardGetProviderId :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-10-22 19:51:06
Modified: 2008-10-22 19:54:36
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.246.116)
15 sec.Function: 'NetMessageNameAdd'
Function group: 'Network Management'
27 sec.Function: 'SetFileAttributes'
Function group: 'File Management'
41 sec.Function: 'GdipGetDpiX'
Function group: 'GDI+ Graphics'
54 sec.Function: 'AVIStreamGetFrameClose'
Function group: 'Windows Multimedia'
1.13 min.Example: 'How to extract frames from AVI files'
1.33 min.Function: 'GetDeviceCaps'
Function group: 'Device Context'
1.78 min.Function: 'waveOutOpen'
Function group: 'Windows Multimedia'
1.97 min.Articles
2.17 min.Function: 'mciGetErrorString'
Function group: 'Windows Multimedia'
2.38 min.Function: 'CeEnumDBVolumes'
Function group: 'Remote Application Programming (RAPI)'
Google
Advertise here!