IXtfConsoleControlClient::GetConfigSettings
Causes all configuration settings to be enumerated, invoking a callback for each configuration setting.Syntax
Parameters
pCallbackType: IXtfConfigSettingsCallback* A pointer to an instance of the IXtfConfigSettingsCallback interface, to be invoked as each configuration setting is enumerated.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This function causes the XBOX Tools Framework (XTF) API to enumerate all of the configuration settings on the current development console. When a configuration setting is found, the XTF API invokes the OnFoundSetting callback function from the IXtfConfigSettingsCallback interface implemented in your app and specified inpCallback. The XTF API passes a pointer to an XTFCONFIGSETTING structure, describing the configuration setting, when it invokes your implemented OnFoundSetting function.
Memory for the XTFCONFIGSETTING structure is owned by the XBOX Tools Framework (XTF) API and is invalidated after each invocation of your IXtfConfigSettingsCallback::OnFoundSetting callback function. You must copy the information in the structure if you need it for later use.
XTFCONFIGSETTING structures for all configuration settings on the current development console.
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
IXtfConfigSettingsCallback::OnFoundSettingIXtfConsoleControlClient::GetAllSettings
IXtfConsoleControlClient
XtfConsoleControl
