Contents

TECPluginGetCountDestinationTextEncodingsPtr

Defines a pointer to a function that counts andreturns the number of destination encodings to which a specifiedsource encoding can be converted in one step.

Declaration

typedef OSStatus (*TECPluginGetCountDestinationTextEncodingsPtr)(TextEncoding inputEncoding, TextEncoding *destinationEncodings, ItemCount maxDestinationEncodings, ItemCount *actualDestinationEncodings);

Parameters

  • inputEncoding:

    The text encoding specification describing the source text.

  • destinationEncodings:

    On return, a pointer to text encodings to which the source encoding can be converted in one step.

  • maxDestinationEncodings:

    The maximum number of text encodings that can be specified by the destinationEncodings parameter.

  • actualDestinationEncodings:

    On return, the actual number of text encodings specified by the destinationEncodings parameter.

Return Value

A resultcode. See Result Codes.

See Also

Callbacks