The Windows error code returned by the last PIN response attempt.
A bad PIN/passcode value appears to result in a error code with value 1244, which is NativeErrorNotAuthenticated.
If one tries to respond to that failure with another passcode, then error 1167 NativeErrorDeviceNotConnected results. So it seems that only one attempt is possible.