SpiGetProtocol - Parameters
hid
(
HID
) - input
ID of the stream handler from which to get the protocol.
pspcbkey
(
PSPCBKEY
) - input
Key (data type) that identifies the protocol to get.
pspcb
(
PSPCB
) - in/out
Address of the memory block to copy the SPCB to.
rc
(
ULONG
) - returns
Return codes indicating success or the type of failure:
NO_ERROR
Success.
ERROR_INVALID_FUNCTION
Invalid function requested.
ERROR_INVALID_HID
Invalid handler ID.
ERROR_INVALID_SPCBKEY
The protocol specified by the SPCB key was not recognized by the handler.
ERROR_INVALID_BLOCK
Invalid pointer.
FAILURE
Stream handler-specific error return code.
[Back: SpiGetProtocol Return Value - rc]
[Next: SpiGetProtocol - Remarks]