Desktop Functions: Smart Device Functions:
|
Search Results for "SCARD_IO_REQUEST" in [All]winscard
public struct SCARD_IO_REQUEST
ref SCARD_IO_REQUEST pioSendRequest,
ref SCARD_IO_REQUEST pioRecvRequest, One may Get the SCARD_IO_REQUEST values which are defined as pointer to initialised data export in WinSCard.dll using the LoadLibrary and GetProcAddress pair. If you use a struct rather than a class for SCARD_IO_REQUEST, don't forget to add "ref" to the pioRecvPci parameter in the signature. Alternatively, if you don't care about the returned protocol control information, change the pioRecvPci parameter to an "IntPtr" and pass "IntPtr.Zero" in as this parameter
UnsafeNativeMethods.SCARD_IO_REQUEST request = new UnsafeNativeMethods.SCARD_IO_REQUEST();
request.cbPciLength = System.Runtime.InteropServices.Marshal.SizeOf(typeof(UnsafeNativeMethods.SCARD_IO_REQUEST));
SCARD_IO_REQUEST ioRecv = new SCARD_IO_REQUEST(); Structures |