IXtfConsoleControlClient::SetConfigValue
Sets the value of the specified configuration setting.Syntax
Parameters
pszKeyType: LPCWSTR A pointer to the name of the configuration setting to set the value of. pszValue
Type: LPCWSTR A pointer to the value to set for the configuration setting specified in pszKey.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This function sets the value of a single configuration setting for the current development console. IfpszKey is set to the pointer of a string that contains a valid name (or key) of a configuration setting, the function returns S_OK and sets the value of the configuration setting to the string at the pointer specified in pszValue. Otherwise, the function returns an error.
For more information about accessing configuration settings using XBOX Tools Framework (XTF), see Configuration (xbconfig.exe) (NDA topic).
Requirements
Header: xtfconsolecontrol.h Library: xtfconsolecontrol.lib Supported platforms: Windows (for XBOX console tools)See also
IXtfConsoleControlClient::GetConfigValueIXtfConsoleControlClient
XtfConsoleControl
