prg_calendar_destroy()
摘要
销毁由 prg_calendar_create 创建的日历对象。
语法
prg_calendar_destroy (calendar_handle, destroy_proc)
| 参数 | 类型 | 说明 |
|---|---|---|
calendar_handle |
PrgT_Calendar_Handle |
要销毁的对象 |
destroy_proc |
PrgT_Calendar_Event_Destroy_Proc |
若非 PRGC_NIL,将被调用以销毁日历对象中尚未处理的事件所关联的数据 |
返回类型
void
无返回值。
头文件
prg_calendar.h
详情
销毁由 prg_calendar_create() 创建的日历对象。如果提供了 destroy_proc,将调用它以销毁日历中尚未处理的事件所关联的数据。
该回调的原型见 PrgT_Calendar_Event_Destroy_Proc。