Gets a Macintosh* table cookie for the specified code page.
#include <unilib.h> int UniGetMacintoshTable ( const char *name, UniRuleTable_t *table);
(IN) Specifies which Macintosh code page to obtain a translation table for. The following case-insensitive strings are currently supported:
(OUT) Points to the cookie for the translation table.
If successful, returns 0. Otherwise, returns a negative error code and the value of table is undefined.
A Macintosh component, service, or application must explicitly request that a table be loaded and pass the cookie associated with that table to functions requiring table information to perform their task. Table cookies are obtained by calling UniGetMacintoshTable. The corresponding call to dispose of these tables is UniDisposeTable.
The table files are located in an nls subdirectory of the one where server.exe was installed. If the UniGetMacintoshTable function yields I/O errors when opening a previously unused code page table for reading, the most likely reason is that the file is absent or corrupted. The name of the file corresponds closely with the value passed in name parameter, but truncated to an 8-character name.