Get the next returned server supported extension definition.
Note that if eTooSmall is returned then the required size is returned in the pExtension->name.length field which indicate the size of the buffer the caller must provide. Also if eTooSmall is returned the enumerator has not moved to the next entry so the caller can obtain the proper sized buffer and extract the entry that failed.
- Parameters
-
pExtension | [ out ] Pointer to a structure where the Extension Information is returned. If pExtension->name.pString is set to NULL then the required length is also returned. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eInvalidArg | pExtension is NULL |
P6R::eTooSmall | The name buffer pointed to by pExtension is too small. |