Gets the provided language ID friendly name.
Handle to the OCR document.
The language ID to retrieve it's friendly name.
Pointer to a character string to be updated with the language friendly name.
Pointer to variable to be updated with the length of the language friendly name character string.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
To use the L_Doc2GetLanguageFriendlyName function:
Before calling this function, you must declare a variable as a pointer to a character string. Then, pass the variable in the pszLangName parameter. This function will update the variable with the language friendly name character string.
The pnLength parameter should always be passed to represent the allocated language name parameter length; otherwise the function will return ERROR_INV_PARAMETER.
Required DLLs and Libraries
For an example, refer to L_Doc2GetSupportedLanguages.