-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WinSCard FFI implementation #205
Conversation
…sed by mstsc functions
…ChangeA, SCardGetStatusChangeW
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Well documented again. 👍
I left a few comments that you can address and merge yourself. (Since we are merging into a dev branch, I think you should have the permissions.)
note: The commit type as per conventional commit specification for refactoring is refactor
instead refac
. If you want to stick to the convention.
I answered the comments but didn't resolve them and left them to you. Maybe you will have any other questions |
Thank you! Everything is good! 🙆♂️ |
Hi,
This pull request contains the WinSCard FFI implementation.
The WinSCard FFI is very tricky because Microsoft designed this API with complications. For example, during the smart card context deletion, we also need to free all allocated resources by this context (like smart card handles and buffers). For every dangerous/critical place, I added a comment about it.
I can't make this PR smaller 😞 . The smart card context and smart card handles are very coupled together, so I can't split this PR into two.
Docs & references:
winscard.h
.