Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IWStrTable::loadString ( const P6WCHAR pSectionName,
const P6WCHAR pKey,
P6WCHAR pBuffer,
P6UINT32  cBuffer,
P6UINT32 pWritten 
)
pure virtual

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
SuccessP6R::eOk 
FailureP6R::eNotFoundpKey is not defined in the loaded string table.
P6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgpKey is NULL, or both pBuffer and pWritten are NULL.