Carbon


GetTextServiceLanguage

Header: TextServices.h Carbon status: Supported

Returns the language supported by the default (current) input method text service component for the current keyboard script.

OSErr GetTextServiceLanguage (
    ScriptLanguageRecord *slRecordPtr
);
Parameter descriptions
slRecordPtr

A pointer to a script-language structure that, upon completion of the call, describes the language supported by the current text service component.

function result

A result code.

DISCUSSION

You can use the text service component function GetScriptLanguageSupport to determine which additional scripts and languages a text service component supports.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)