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.

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_proc function)
  • 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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com