Sets up the object to run properly.
The pLangTag string is mapped to a full windows or Unix locale string using the mapping definitions in the pTagMapFile.
- Parameters
-
flags | [ in ] Set perferences for the new object. |
pLocale | [ in ] A standard langange tag (e.g., en_us, fr_fr, fr_ca (french canadian)). This parameter can be set to NULL, in which case a default is used. |
- Returns
Success | P6R::eOk | |
Failure | P6R::ePathNotFound | Could not open locale mapping file. |
P6R::eFail | Failed to convert the pLocale string to a value locale string supported by the system. |
P6R::eNoMemory | Insufficient memory to create path to locale mapping file. |
P6R::eFormatError | Format of path from p6GetModuleFilename is invalid. |