I_IrmProtector.HrSetLangId Method
Applies to: SharePoint Foundation 2010
Sets the language identifier for the protector.
HRESULT HrSetLangId(
LANGID langid
) PURE;
Parameters
Langid
[in] A language identifier.
Return Value
The protector methods return typical HRESULT values. In general, the protector should return a positive OK value if the method succeeds or a negative FAIL value if the method does not succeed.
Remarks
If the protector displays any text itself, this method can be used to load the correct text based upon the language or locale of the user. For example, if the protector stores document templates in multiple languages, this method can be used to select the correct template.
SharePoint Foundation only calls this method when the server is initialized. The protector should store the passed value in its own internal storage.