Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IWConfig::setConfigBool ( const P6WCHAR pSectionName,
const P6WCHAR pKeyName,
P6BOOL  value 
)
pure virtual

If a section name does not exist, then that section is created and the new key-name=value pair is written.

Creates a new or updates an existing "name=value" pair in a section of an ".ini" file. If pSectionName is NULL then the unnamed section is used.

Parameters
pSectionName[ in ] Pointer to string defining the section to write the keyName=value pair
pKeyName[ in ] Pointer to string defining the name part of: "name=value"
value[ in ] boolean with the value of the key.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgIf pKeyName is NULL or contains a reserved character.
P6R::eFormatErrorIf length of pSectionName + pKeyName is > P6R::MAX_IDENTIFER_SIZE
P6R::eNoMemoryInsufficient memory to make a copy of the "value" parameter.
P6R::eNotInitializedA successful call to initialize was not made before this call.