Lines Matching refs:hContext
149 SCARDCONTEXT hContext;
152 rv = SCardEstablishContext(SCARD_SCOPE_SYSTEM, NULL, NULL, &hContext);
159 rv = SCardReleaseContext(hContext);
670 SERVER_SCARDCONTEXT hContext;
677 hContext = 0;
681 hContext = _scard_handle_list_get_server_handle(myHContext);
692 DEBUG_SCARD(("SCARD: -> Success (context: 0x%08x [0x%lx])\n", hContext,
699 out_uint32_le(out, hContext); /* must not be 0 (Seems to be pointer), don't know what is this (I use hContext as value) */
702 out_uint32_le(out, hContext);
712 SERVER_SCARDCONTEXT hContext;
715 in_uint32_le(in, hContext);
716 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
718 DEBUG_SCARD(("SCARD: SCardReleaseContext(context: 0x%08x [0x%lx])\n", (unsigned) hContext,
743 SERVER_SCARDCONTEXT hContext;
750 in_uint32_le(in, hContext);
752 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
755 (unsigned) hContext, myHContext));
786 SERVER_SCARDCONTEXT hContext;
795 in_uint32_le(in, hContext);
796 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
798 (unsigned) hContext, myHContext));
867 SERVER_SCARDCONTEXT hContext;
882 in_uint32_le(in, hContext);
884 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
886 DEBUG_SCARD(("SCARD: SCardConnect(context: 0x%08x [0x%lx], share: 0x%08x, proto: 0x%08x, reader: \"%s\")\n", (unsigned) hContext, myHContext, (unsigned) dwShareMode, (unsigned) dwPreferredProtocol, szReader ? szReader : "NULL"));
949 SERVER_SCARDCONTEXT hContext;
962 in_uint32_le(in, hContext);
968 DEBUG_SCARD(("SCARD: SCardReconnect(context: 0x%08x, hcard: 0x%08x [%lx], share: 0x%08x, proto: 0x%08x, init: 0x%08x)\n", (unsigned) hContext, (unsigned) hCard, myHCard, (unsigned) dwShareMode, (unsigned) dwPreferredProtocol, (unsigned) dwInitialization));
990 SERVER_SCARDCONTEXT hContext;
999 in_uint32_le(in, hContext);
1003 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
1006 DEBUG_SCARD(("SCARD: SCardDisconnect(context: 0x%08x [0x%lx], hcard: 0x%08x [0x%lx], disposition: 0x%08x)\n", (unsigned) hContext, myHContext, (unsigned) hCard, myHCard, (unsigned) dwDisposition));
1118 SERVER_SCARDCONTEXT hContext;
1132 in_uint32_le(in, hContext);
1135 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
1137 DEBUG_SCARD(("SCARD: SCardGetStatusChange(context: 0x%08x [0x%lx], timeout: 0x%08x, count: %d)\n", (unsigned) hContext, myHContext, (unsigned) dwTimeout, (int) dwCount));
1235 SERVER_SCARDCONTEXT hContext;
1239 in_uint32_le(in, hContext);
1241 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
1243 DEBUG_SCARD(("SCARD: SCardCancel(context: 0x%08x [0x%08lx])\n", (unsigned) hContext,
1264 SERVER_SCARDCONTEXT hContext;
1277 in_uint32_le(in, hContext);
1290 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
1292 DEBUG_SCARD(("SCARD: SCardLocateCardsByATR(context: 0x%08x [0x%08lx], atrs: %d, readers: %d)\n", (unsigned) hContext, (unsigned long) myHContext, (int) atrMaskCount, (int) readerCount));
1904 SERVER_SCARDCONTEXT hContext;
1914 in_uint32_le(in, hContext);
1916 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
1919 (unsigned) hContext, (unsigned int) myHContext, (int) dwGroups));
2098 SERVER_SCARDCONTEXT hContext;
2122 in_uint32_le(in, hContext);
2139 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
2141 DEBUG_SCARD(("SCARD: SCardControl(context: 0x%08x [0x%08lx], hcard: 0x%08x [0x%08lx], code: 0x%08x, in: %d bytes, out: %d bytes)\n", (unsigned) hContext, (unsigned long) myHContext, (unsigned) hCard, (unsigned long) myHCard, (unsigned) dwControlCode, (int) nInBufferSize, (int) nOutBufferSize));