IOCTL_SMARTCARD_RESET_EVENTS (Windows Embedded CE 6.0)
1/6/2010
This code is used to clear out any events that may have been set before. In Windows Embedded CE you are expected to send an IOCTL_SMARTCARD_RESET_EVENTS before performing a blocking call, such as IOCTL_SMARTCARD_IS_PRESENT or IOCTL_SMARTCARD_IS_ABSENT.
Parameters
- dwOpenData
[in] Handle returned from a call to the smart card reader driver's XXX_Open (Device Manager) function.
- dwCode
[in] Specifies this code.
- pBufIn
Ignored.
- dwLenIn
[in] Must be set to 0.
- pBufOut
Ignored
- dwLenOut
[out] Must be set to 0.
- pdwActualOut
[out] Pointer to a ULONG to return the length of the returned data.
Return Values
One of the following Status values.
Status | Description |
---|---|
STATUS_SUCCESS |
Card successfully ejected. |
STATUS_INVALID_PARAMETER |
The SMCLIB version is older than the driver requires. |
Remarks
Smart card reader drivers return Microsoft® Windows NT® status values, rather than Microsoft Win32® error values, as the return values from the driver's callback function.
Requirements
Header | winsmcrd.h |
Windows Embedded CE | Windows CE 3.0 and later |