SpiEnumerateProtocols - Parameters
hid (HID) - input
ID
(returned by SpiGetHandler) whose
protocols are to be queried.
paSPCBKeys (PVOID) - in/out
Address
of an array of SPCB keys to be filled in that identify the protocols supported
by the specified stream handler.
pulNumSPCBKeys (PULONG) - in/out
Pointer to the number of entries on input. Upon
return, contains the number actually returned. If more protocols are available
than there are entries in the array, this function returns ERROR_INVALID_BUFFER_SIZE,
and this parameter contains the number of array entries needed.
rc (ULONG) - returns
Return
codes. Return codes indicating success or the type of failure:
NO_ERROR
ERROR_INVALID_FUNCTION
Invalid function requested.
ERROR_INVALID_HID
ERROR_INVALID_BUFFER_SIZE
Array passed is too small to hold all the SPCB
keys. The size of the buffer needed is returned in pulNumSPCBKeys.
ERROR_INVALID_BLOCK
FAILURE
Stream
handler-specific error return code.
[Back: SpiEnumerateProtocols Return Value - rc]
[Next: SpiEnumerateProtocols - Remarks]