prg_profile_lib_write()
Abstract
Saves a public profile library to disk.
Syntax
prg_profile_lib_write (lib_handle, lib_name)
| Argument | Type | Description |
|---|---|---|
lib_handle |
PrgT_Profile_Lib_Handle |
Handle to the profile library of interest. |
lib_name |
const char * |
Model name for the profile library (optional if the profile library has been saved previously). |
Return Type
PrgT_Compcode
PrgC_Compcode_Failure if no profile library is specified, if the profile library is local, if the profile library is read-only, or if the save operation fails; PrgC_Compcode_Success otherwise.
Header
prg_profile_funcs.h
Details
This function writes the specified public profile library to disk storage.
Symbolic Constants
Table 4: Profile Package/Library Sub-Package Symbolic Constants
| Description | Type | Symbolic Constant |
|---|---|---|
| Invalid profile handle | PrgT_Profile_Handle |
PRGC_NIL_PROFILE_HANDLE |
| Profile library handles | PrgT_Profile_Lib_Handle |
PRGC_NIL_PROFILE_LIB_HANDLEPRGC_LOCAL_PROFILE_LIB_HANDLE |
| Profile library options | int |
PRGC_PROFILE_LIB_OPT_ALLOW_MODS |