Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "SCardListReaders" in [All]

winscard

.

    [DllImport("WinScard.dll", EntryPoint = "SCardListReadersA", CharSet = CharSet.Ansi)]

.

    static extern int SCardListReaders(

.

        ret = SCardListReaders(hContext, null, null, ref pcchReaders);

.

        ret = SCardListReaders(hContext, null, mszReaders, ref pcchReaders);

. . .
Summary
The SCardListReaders function provides the list of readers within a set of named reader groups, eliminating duplicates.
.

  [DllImport("winscard.dll", EntryPoint="SCardListReadersA", CharSet=CharSet.Ansi)]

.

    public static extern int SCardListReaders(

.

    <DllImport("WinScard.dll", EntryPoint:="SCardListReadersA", CharSet:=CharSet.Ansi)>

.

    Public Shared Function SCardListReaders(

.

if you invoke SCardListReaders with the hContext parameter set to null, you'll get the list of the installed readers (not the plugged ones !)

.

ret = SCardListReaders(hContext,IntPtr.Zero,null,ref pcchReaders);

.

ret = SCardListReaders(hContext,IntPtr.Zero ,mszReaders, ref pcchReaders);

.
Documentation
[SCardListReaders] on MSDN

 
Access PInvoke.net directly from VS: