Skip to content
jsorg71 edited this page Oct 8, 2016 · 5 revisions

xrdp smart card development notes

Completed functions. Functions where are parameters are tested.

SCardEstablishContext:
LONG WINAPI SCardEstablishContext(
  _In_  DWORD          dwScope,
  _In_  LPCVOID        pvReserved1,
  _In_  LPCVOID        pvReserved2,
  _Out_ LPSCARDCONTEXT phContext
);
Tested dwScope, phContext can not be NULL, tested return value.
pvReserved1 and pvReserved2 can't be passed.
SCardReleaseContext:
LONG WINAPI SCardReleaseContext(
  _In_ SCARDCONTEXT hContext
);
Tested return value.
LONG WINAPI SCardCancel(
  _In_ SCARDCONTEXT hContext
);
Tested return value.
LONG WINAPI SCardGetStatusChange(
  _In_    SCARDCONTEXT        hContext,
  _In_    DWORD               dwTimeout,
  _Inout_ LPSCARD_READERSTATE rgReaderStates,
  _In_    DWORD               cReaders
);
Clone this wiki locally