Load the internationalized string that is associated with the strings name represented by the "pKey" parameter.
The specific string returned is dependent on the path to the string table file passed into the initialize method.
- Parameters
-
pSectionName | [IN] Set to NULL to get the "strings" section, caller can use this parameter to define their own application specific strings section. |
pKey | [IN] Pointer to a string that uniquely defines the string to return. |
pBuffer | [IN] A pointer to a P6WCHAR buffer in which to place the requested string. |
cBuffer | [IN] Number of characters in the buffer pointed to by pBuffer. |
pWritten | [OUT] Optional can be NULL, returns the number of characters written into pBuffer. This parameter cannot be NULL when pBuffer is also NULL. |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotFound | pKey is not defined in the loaded string table. |
P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eInvalidArg | pKey is NULL, or both pBuffer and pWritten are NULL. |