Provides information about the specified Code Page: a descriptive string and the category of the Code Page.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_output_codepage_info_get( LPCSTR pCodePageName, LPSTR pDesc, AT_INT nBuferLength, enumIGRecOutCodePageType* pCodePageType ); |
Name | Type | Description |
---|---|---|
pCodePageName | LPCSTR | Name of the Code Page inquired. |
pDesc | LPSTR | Pointer of a buffer to hold the Code Page descriptor information. |
nBuferLength | AT_INT | Length of pDesc buffer. |
pCodePageType | enumIGRecOutCodePageType* | Pointer to enumIGRecOutCodePageType variable to hold Code Page category information. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0;
LPSTR lpszDesc = 0;
AT_INT iDescLen = 1024;
enumIGRecOutCodePageType eCodePageType = IG_REC_CODEPAGE_UNKNOWN;
lpszDesc = (LPSTR) malloc(iDescLen);
ErrCount += IG_REC_output_codepage_info_get("Windows ANSI", lpszDesc, iDescLen, &eCodePageType);
free(lpszDesc);
|