pcsc-lite 2.3.0
|
Fake PC/SC library (example code) More...
Go to the source code of this file.
Functions | |
LONG | SCardEstablishContext (DWORD dwScope, LPCVOID pvReserved1, LPCVOID pvReserved2, LPSCARDCONTEXT phContext) |
LONG | SCardReleaseContext (SCARDCONTEXT hContext) |
LONG | SCardIsValidContext (SCARDCONTEXT hContext) |
LONG | SCardConnect (SCARDCONTEXT hContext, LPCSTR szReader, DWORD dwShareMode, DWORD dwPreferredProtocols, LPSCARDHANDLE phCard, LPDWORD pdwActiveProtocol) |
LONG | SCardReconnect (SCARDHANDLE hCard, DWORD dwShareMode, DWORD dwPreferredProtocols, DWORD dwInitialization, LPDWORD pdwActiveProtocol) |
LONG | SCardDisconnect (SCARDHANDLE hCard, DWORD dwDisposition) |
LONG | SCardBeginTransaction (SCARDHANDLE hCard) |
LONG | SCardEndTransaction (SCARDHANDLE hCard, DWORD dwDisposition) |
LONG | SCardStatus (SCARDHANDLE hCard, LPSTR mszReaderName, LPDWORD pcchReaderLen, LPDWORD pdwState, LPDWORD pdwProtocol, LPBYTE pbAtr, LPDWORD pcbAtrLen) |
LONG | SCardGetStatusChange (SCARDCONTEXT hContext, DWORD dwTimeout, SCARD_READERSTATE *rgReaderStates, DWORD cReaders) |
LONG | SCardControl (SCARDHANDLE hCard, DWORD dwControlCode, LPCVOID pbSendBuffer, DWORD cbSendLength, LPVOID pbRecvBuffer, DWORD cbRecvLength, LPDWORD lpBytesReturned) |
LONG | SCardTransmit (SCARDHANDLE hCard, const SCARD_IO_REQUEST *pioSendPci, LPCBYTE pbSendBuffer, DWORD cbSendLength, SCARD_IO_REQUEST *pioRecvPci, LPBYTE pbRecvBuffer, LPDWORD pcbRecvLength) |
LONG | SCardListReaderGroups (SCARDCONTEXT hContext, LPSTR mszGroups, LPDWORD pcchGroups) |
LONG | SCardListReaders (SCARDCONTEXT hContext, LPCSTR mszGroups, LPSTR mszReaders, LPDWORD pcchReaders) |
LONG | SCardFreeMemory (SCARDCONTEXT hContext, LPCVOID pvMem) |
LONG | SCardCancel (SCARDCONTEXT hContext) |
LONG | SCardGetAttrib (SCARDHANDLE hCard, DWORD dwAttrId, LPBYTE pbAttr, LPDWORD pcbAttrLen) |
LONG | SCardSetAttrib (SCARDHANDLE hCard, DWORD dwAttrId, LPCBYTE pbAttr, DWORD cbAttrLen) |
Fake PC/SC library (example code)
Definition in file libfake.c.
LONG SCardBeginTransaction | ( | SCARDHANDLE | hCard | ) |
LONG SCardCancel | ( | SCARDCONTEXT | hContext | ) |
LONG SCardConnect | ( | SCARDCONTEXT | hContext, |
LPCSTR | szReader, | ||
DWORD | dwShareMode, | ||
DWORD | dwPreferredProtocols, | ||
LPSCARDHANDLE | phCard, | ||
LPDWORD | pdwActiveProtocol ) |
LONG SCardControl | ( | SCARDHANDLE | hCard, |
DWORD | dwControlCode, | ||
LPCVOID | pbSendBuffer, | ||
DWORD | cbSendLength, | ||
LPVOID | pbRecvBuffer, | ||
DWORD | cbRecvLength, | ||
LPDWORD | lpBytesReturned ) |
LONG SCardDisconnect | ( | SCARDHANDLE | hCard, |
DWORD | dwDisposition ) |
LONG SCardEndTransaction | ( | SCARDHANDLE | hCard, |
DWORD | dwDisposition ) |
LONG SCardEstablishContext | ( | DWORD | dwScope, |
LPCVOID | pvReserved1, | ||
LPCVOID | pvReserved2, | ||
LPSCARDCONTEXT | phContext ) |
LONG SCardFreeMemory | ( | SCARDCONTEXT | hContext, |
LPCVOID | pvMem ) |
LONG SCardGetAttrib | ( | SCARDHANDLE | hCard, |
DWORD | dwAttrId, | ||
LPBYTE | pbAttr, | ||
LPDWORD | pcbAttrLen ) |
LONG SCardGetStatusChange | ( | SCARDCONTEXT | hContext, |
DWORD | dwTimeout, | ||
SCARD_READERSTATE * | rgReaderStates, | ||
DWORD | cReaders ) |
LONG SCardIsValidContext | ( | SCARDCONTEXT | hContext | ) |
LONG SCardListReaderGroups | ( | SCARDCONTEXT | hContext, |
LPSTR | mszGroups, | ||
LPDWORD | pcchGroups ) |
LONG SCardListReaders | ( | SCARDCONTEXT | hContext, |
LPCSTR | mszGroups, | ||
LPSTR | mszReaders, | ||
LPDWORD | pcchReaders ) |
LONG SCardReconnect | ( | SCARDHANDLE | hCard, |
DWORD | dwShareMode, | ||
DWORD | dwPreferredProtocols, | ||
DWORD | dwInitialization, | ||
LPDWORD | pdwActiveProtocol ) |
LONG SCardReleaseContext | ( | SCARDCONTEXT | hContext | ) |
LONG SCardSetAttrib | ( | SCARDHANDLE | hCard, |
DWORD | dwAttrId, | ||
LPCBYTE | pbAttr, | ||
DWORD | cbAttrLen ) |
LONG SCardStatus | ( | SCARDHANDLE | hCard, |
LPSTR | mszReaderName, | ||
LPDWORD | pcchReaderLen, | ||
LPDWORD | pdwState, | ||
LPDWORD | pdwProtocol, | ||
LPBYTE | pbAtr, | ||
LPDWORD | pcbAtrLen ) |
LONG SCardTransmit | ( | SCARDHANDLE | hCard, |
const SCARD_IO_REQUEST * | pioSendPci, | ||
LPCBYTE | pbSendBuffer, | ||
DWORD | cbSendLength, | ||
SCARD_IO_REQUEST * | pioRecvPci, | ||
LPBYTE | pbRecvBuffer, | ||
LPDWORD | pcbRecvLength ) |