Return Value

If ppText was nil then, the return value will be the number of characters in the string.

Otherwise the return value will be:

Return

Meaning

SUCCESS

The function was successful.

<= 0

An error occurred. Refer to Error Codes.