prg_profile_lib_profile_add()
Abstract
Adds a profile to a profile library.
Syntax
prg_profile_lib_profile_add (lib_handle, profile_handle)
| Argument | Type | Description |
|---|---|---|
lib_handle |
PrgT_Profile_Lib_Handle |
Handle to a public profile library to which the profile is to be added, or PRGC_LOCAL_PROFILE_LIB_HANDLE. |
profile_handle |
PrgT_Profile_Handle |
Handle to the profile to be added. |
Return Type
PrgT_Compcode
PrgC_Compcode_Failure if the profile is already attached to a profile library; PrgC_Compcode_Success otherwise.
Header
prg_profile_funcs.h
Details
The profile to be added must not be owned by any profile library.
The profile name might be modified if the profile library already contains a profile with the same name. (The profile's base name is specified with prg_profile_create_bt().)