Windows error 0x80100002, -2146435070

Detailed Error Information

SCARD_E_CANCELLED[1]

MessageThe action was cancelled by an SCardCancel request.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode16 (0x010)
NameFACILITY_SCARD[2][1]
DescriptionThe source of the error code is the Smart-card subsystem.[2][1]
Error Code2 (0x0002)

Questions

1vote
1answer

Trouble Converting Smart Card Program to UWP

I'm working on converting what was originally a web forms .NET application to UWP. The application is for using company-issued badges to record meeting attendance instead of our current paper sign in sheets. The original program uses an Omnikey 5427 CK in keyboard wedge mode and has no problems. For [...] read more
uwp
raspberry-pi
smartcard
windows-10-iot-core
smartcard-reader
1vote
0answers

Smart Card APIs throw First Chance exceptions but program runs fine

INTRODUCTION I am learning how to use Smart Card API in order to obtain card number once it gets inserted into reader. So far I have managed to create a working application that runs (as far as I can see) without errors. PROBLEM During debugging I see various First chance [...] read more
c++
winapi
winscard
1vote
3answers

Why Win32 error codes don't match method signatures?

Can someone help me understand why Win32 error codes don't match method signatures and what is the correct way to deal with this issue? Take for example SCardReleaseContext, as per the MSDN documentation the return type is LONG. As per this MSDN article, the c# equivalent of LONG is int. [...] read more
c#
pinvoke
0votes
0answers

SCardTransmit() returns 801000002

I had a working contactless system in Windows XP. But when I tried to run it under Win7 it fails in this sCardTransmit function even though it runs connect function well: UCHAR ucAnswerL[255]; DWORD ucAnswerSizeL = 0; BYTE m_send[256]; ucAnswerSizeL = 255; m_send[0] = 0x00; m_send[1] = 0x12; m_send[2] = [...] read more
smartcard
rfid
smartcard-reader
contactless-smartcard

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0