<summary>
Get the locale name where the current position is at.
</summary>
<param name="currentPosition">The current text position.</param>
<param name="localeName">Character array that receives the current locale name</param>
<param name="nameSize">Size of the character array in character count including the terminated NULL character.</param>
<param name="textRange">The position range of the current format.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Get the locale name where the current position is at. </summary> <param name="currentPosition">The current text position.</param> <param name="localeName">Character array that receives the current locale name</param> <param name="nameSize">Size of the character array in character count including the terminated NULL character.</param> <param name="textRange">The position range of the current format.</param> <returns> Standard HRESULT error code. </returns>