IOCTL_SMARTCARD_GET_LAST_ERROR

WDM driver version:

None.

VxD driver version:

There is no option to return an error code on completing an overlapped operation. Use IOCTL_SMARTCARD_GET_LAST_ERROR to get the error code of the last operation.

Input

DiocParams->cbOutBuffer
The size of the output buffer. Must be at least sizeof(ULONG).

Output

DiocParams->lpvOutBuffer
Receives the error code.
DiocParams->lpcbBytesReturned
Must be set to sizeof(ULONG).

Return Values

This call must return STATUS_SUCCESS.

Note When your driver uses the smart card driver library, you should store the result of the last overlapped operation in the smart card extension. The library will answer this call automatically using your stored value.