Lines Matching defs:myHContext
669 MYPCSC_SCARDCONTEXT myHContext;
675 rv = SCardEstablishContext(SCARD_SCOPE_SYSTEM, NULL, NULL, &myHContext);
678 if (myHContext)
680 _scard_handle_list_add(myHContext);
681 hContext = _scard_handle_list_get_server_handle(myHContext);
693 myHContext));
711 MYPCSC_SCARDCONTEXT myHContext;
716 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
719 myHContext));
721 rv = SCardReleaseContext(myHContext);
723 _scard_handle_list_remove(myHContext);
744 MYPCSC_SCARDCONTEXT myHContext;
752 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
755 (unsigned) hContext, myHContext));
762 rv = SCardListReaders(myHContext, NULL, readers, &readerCount);
787 MYPCSC_SCARDCONTEXT myHContext;
796 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
798 (unsigned) hContext, myHContext));
813 rv = SCardListReaders(myHContext, NULL, readers, &cchReaders);
866 SCARDCONTEXT myHContext;
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"));
888 rv = SCardConnect(myHContext, szReader, (MYPCSC_DWORD) dwShareMode,
991 MYPCSC_SCARDCONTEXT myHContext;
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));
1119 MYPCSC_SCARDCONTEXT myHContext;
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));
1193 rv = SCardGetStatusChange(myHContext, (MYPCSC_DWORD) dwTimeout,
1236 MYPCSC_SCARDCONTEXT myHContext;
1241 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
1244 (unsigned long) myHContext));
1245 rv = SCardCancel(myHContext);
1265 MYPCSC_SCARDCONTEXT myHContext;
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));
1345 rv = SCardGetStatusChange(myHContext, 0x00000001, myRsArray, readerCount);
1905 MYPCSC_SCARDCONTEXT myHContext;
1916 myHContext = _scard_handle_list_get_pcsc_handle(hContext);
1919 (unsigned) hContext, (unsigned int) myHContext, (int) dwGroups));
1929 rv = SCardListReaderGroups(myHContext, szGroups, &groups);
2099 MYPCSC_SCARDCONTEXT myHContext;
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));