MsgString

Get or set the message string in a particular language.

 

Property get

HRESULT MsgString([in] long
langId, [out, retval] BSTR *pVal);

Parameters

langId

[in] the language id for which the message string is to be retreived

pVal

[out, retval] pointer to a BSTR variable that receives the string

Return Values

S_OK

Function was successfully called

E_POINTER

pVal was no valid pointer

E_FAIL

no message exists in the specified language

Property set

HRESULT MsgString([in] long
langId, [in] BSTR newVal);

Parameters

langId

[in] the language id for which the message string is to be set

newVal

[in] BSTR variable holding the new value

Return Values

S_OK

The function completed successfully

E_FAIL

A message string in the specified language already exists