NSpProtocolList_GetIndexedRef
You can use the NSpProtocolList_GetIndexedRef function to receive the protocol reference at the indicated location in the list for iteration.
NSpProtocolReference NSpProtocolList_GetIndexedRef (
NSpProtocolListReference inProtocolList,
UInt32 inIndex);
inProtocolList
- An opaque reference to a list of protocols.
inIndex
- A valid index entry.
- function result
- A result code of
noErr, or a NetSprocket or Open Transport result code.
DESCRIPTION
This is a peek function that allows you to look at the contents of a protocol list. NSpProtocolList_GetIndexedRef does not remove the protocol from the list, so you must not delete the reference to it.