Export (0) Print
Expand All

I_IrmProtector.HrSetLangId Method

Last modified: October 07, 2009

Applies to: SharePoint Foundation 2010

Sets the language identifier for the protector.


HRESULT HrSetLangId(
    LANGID langid
) PURE;

Langid

[in] A language identifier.

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.

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.

Show:
© 2014 Microsoft