prg_profile_lib_write()
摘要
将公共 profile 库保存到磁盘。
语法
prg_profile_lib_write (lib_handle, lib_name)
| 参数 | 类型 | 说明 |
|---|---|---|
lib_handle |
PrgT_Profile_Lib_Handle |
目标 profile 库的句柄。 |
lib_name |
const char * |
profile 库的模型名(若该 profile 库此前已保存过,可省略)。 |
返回类型
PrgT_Compcode
若未指定 profile 库、profile 库为本地库、profile 库为只读,或保存操作失败,则返回 PrgC_Compcode_Failure;否则返回 PrgC_Compcode_Success。
头文件
prg_profile_funcs.h
详情
此函数将指定的公共 profile 库写入磁盘存储。
符号常量
表 4:Profile 包/库子包符号常量
| 说明 | 类型 | 符号常量 |
|---|---|---|
| 无效 profile 句柄 | PrgT_Profile_Handle |
PRGC_NIL_PROFILE_HANDLE |
| profile 库句柄 | PrgT_Profile_Lib_Handle |
PRGC_NIL_PROFILE_LIB_HANDLEPRGC_LOCAL_PROFILE_LIB_HANDLE |
| profile 库选项 | int |
PRGC_PROFILE_LIB_OPT_ALLOW_MODS |