Functions | |
void | Record_Profile_Source (const char *section, const char *filename) |
void Record_Profile_Source | ( | const char * | section, | |
const char * | filename | |||
) |
Identifies the INI file name and section to use for evaluating profile strings.
section | - The sectionheader, usually the application name, of the INI file. Passed by reference. | |
filename | - The name of the .INI file. Passed by reference. |
By default, Hoops looks in the registry under for settings. HC_Record_Profile_Source was added to allow changing the "HOOPS" part of that. For instance
HC_Record_Profile_Source ("FOO", "REGISTRY");would tell it to look in instead. A path under HKEY_CURRENT_USER can also be specified, such as "PTC\\FOO".
The change was to enhance HC_Record_Profile_Source to allow the program to specify a full registry path, such as
HC_Record_Profile_Source ("\\HKEY_LOCAL_MACHINE\\FOO", "REGISTRY");which can be seen by all users.
Hoops currently recognises:
HKEY_CLASSES_ROOT HKEY_CURRENT_USER HKEY_LOCAL_MACHINE HKEY_USERSas valid roots. There are some others that have been added (starting with version 10.0) for completeness:
HKEY_PERFORMANCE_DATA HKEY_CURRENT_CONFIG HKEY_DYN_DATAwith the minor caveat that WinCE doesn't support them. </body>