Return a config value if found, if not found return default value does not indicate if return value came from config or the default value useful for one-time init of static variables in code locations where config may be queried too often, like : static int32 bMyConfigValue = GConfig->GetIntOrDefault(Section,Key,DefaultValue,ConfigFilename);