Oma_Ot_Progress_Proc_Set()
Abstract
Sets a procedure used to manage progress bars when OT tables are being read.
Syntax
Oma_Ot_Progress_Proc_Set (progress_proc)
| Argument | Type | Description |
|---|---|---|
progress_proc |
OmaT_Ot_Progress_Proc |
User-written procedure to manage progress bars for OT reads, or PRGC_NIL to suppress progress bars. |
Return Type
void
No return value.
Header
oma_ot.h
Details
You can use this function to do one of the following things:
- Display a custom progress bar when OT files are read (using your custom
progress_procfunction) - Suppress the progress bar by registering a PRGC_NIL progress proc
You should always use Oma_Ot_Progress_Proc_Get() to retrieve and store the currently registered progress proc before setting a new one with this function, then restore the original progress proc after reading the OT tables.
The progress_proc type is described at OmaT_Ot_Progress_Proc.