AtlTraceSaveSettings
Visual Studio 2008
Call this function to save the current trace settings to a file.
BOOL AtlTraceSaveSettings( LPCTSTR* pszFilename, DWORD_PTR dwProcess = 0 );
This function will save the current trace settings to a .TRC file. The trace settings control the type and amount of trace messages that appear in the Output window.
AtlTraceSaveSettings makes use of WritePrivateProfileSection to store settings in the .TRC file. If a section already exists it will be replaced, otherwise it will be added to the file.