Contents

TECPluginNewEncodingConverterPtr

Defines a pointer to a function that determinesa conversion path for a source and destination encoding, then createsa text encoding converter object and returns a pointer to it.

Declaration

typedef OSStatus (*TECPluginNewEncodingConverterPtr)(TECObjectRef *newEncodingConverter, TECConverterContextRec *plugContext, TextEncoding inputEncoding, TextEncoding outputEncoding);

Parameters

  • newEncodingConverter:

    A pointer to a converter object. On return, this points to a newly created text converter object.

  • plugContext:

    A pointer to a TEC converter context record.

  • inputEncoding:

    The text encoding specification for the source text.

  • outputEncoding:

    The text encoding specification for the destination text.

Return Value

A resultcode. See Result Codes.

See Also

Callbacks