GetStringTableName Function

Retrieves the name of a string table.

int GetStringTableName(int tableidx, char[] name, int maxlength)

Parameters

int tableidx

A string table index.

char[] name

Buffer to store the name of the string table.

int maxlength

Maximum length of string buffer.

Return Value

Number of bytes written to the buffer (UTF-8 safe).

Errors

Invalid string table index.