SCardEstablishContext function winscard

int SCardEstablishContext(
  1. int dwScope,
  2. Pointer<NativeType> pvReserved1,
  3. Pointer<NativeType> pvReserved2,
  4. Pointer<IntPtr> phContext
)

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

LONG SCardEstablishContext(
  DWORD          dwScope,
  LPCVOID        pvReserved1,
  LPCVOID        pvReserved2,
  LPSCARDCONTEXT phContext
);

Implementation

int SCardEstablishContext(int dwScope, Pointer pvReserved1, Pointer pvReserved2,
        Pointer<IntPtr> phContext) =>
    _SCardEstablishContext(dwScope, pvReserved1, pvReserved2, phContext);