This function has been deprecated and will be removed from the public API in a future release.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_UD_section_next_get( LPSTR pSection, AT_INT buflen ); |
Name | Type | Description |
---|---|---|
pSection | LPSTR | Pointer to a buffer for the name of the first section in the User dictionary. |
buflen | AT_INT | Specifies the size of the buffer in bytes. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_ERRCOUNT ErrCount = 0; AT_ERRCODE ErrCode = IGE_SUCCESS; AT_INT iSize = 1024; LPSTR lpszFirst = (LPSTR) malloc(iSize); ErrCount += IG_REC_UD_set("NEW_USER2.DICT", "Section_A"); ErrCount += IG_REC_UD_edit_open(); ErrCount += IG_REC_UD_section_first_get(lpszFirst, iSize); while(ErrCode == IGE_SUCCESS) { ErrCount += IG_REC_UD_section_next_get(lpszFirst, iSize); IG_warning_get(0, NULL, 0, NULL, &ErrCode, NULL, NULL, NULL, 0); } ErrCount += IG_REC_UD_edit_close(); free(lpszFirst); |
Creates a listing of the sections in the User dictionary currently opened for editing by the IG_REC_UD_edit_open function.
This function should be used together with IG_REC_UD_section_first_get