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 "SCardEstablishContext" in [All]

winscard

.

rv = SCardEstablishContext(SCARD_SCOPE_SYSTEM, NULL, NULL, &hContext);

. . .
Summary
The SCardEstablishContext function establishes the resource manager context (the scope) within which database operations are performed.
.

static extern int SCardEstablishContext(uint dwScope, IntPtr pvReserved1, IntPtr pvReserved2, out IntPtr phContext);

.

Public Shared Function SCardEstablishContext(dwScope as UInteger, pvReserved1 as IntPtr,  pvReserved2 as IntPtr, <out>() phContext as IntPtr) As Integer

.

Public Shared Function SCardEstablishContext(dwScope as SCardScope, pvReserved1 as IntPtr,  pvReserved2 as IntPtr, ByRef phContext as IntPtr) As Integer

.

    static extern int SCardEstablishContext(uint dwScope,

.

        ret = SCardEstablishContext(2, IntPtr.Zero, IntPtr.Zero, out hContext);

.
Documentation
[SCardEstablishContext] on MSDN
.

    /// <param name="hContext">A handle that identifies the resource manager context. The resource manager context is set by a previous call to the SCardEstablishContext function.</param>

.

ret = SCardEstablishContext(SCARD_SCOPE_USER,IntPtr.Zero,IntPtr.Zero,out hContext);

.

// Paste here code for SCardEstablishContext, SCardConnect


 
Access PInvoke.net directly from VS: