Return
codes indicating success or the type of failure:
NO_ERROR
Success.
ERROR_INVALID_FUNCTION
Invalid function requested.
ERROR_INVALID_STREAM
Invalid stream handle.
ERROR_INVALID_HID
Invalid handler ID.
ERROR_INVALID_PROTOCOL
There was an SPCB negotiation
failure. ulErrorStatus points to the field of the SPCB
that failed the negotiation. The fields of the SPCB
are numbered, starting with 1.