Freigeben über


AtlTraceLoadSettings

Call this function to load trace settings from a file.

BOOL AtlTraceLoadSettings(
   LPCTSTR* pszFilename,
   DWORD_PTR dwProcess = 0
);

Parameters

  • pszFilename
    The full path and file name of a .TRC file. This parameter can be NULL, in which case the .TRC file should have the same file name as the EXE, and reside in the same directory.

  • dwProcess
    Reserved.

Return Value

TRUE if the file was successfully loaded, FALSE otherwise.

Remarks

This function will load trace settings from a .TRC file. The .TRC file can be created using AtlTraceTool.exe. The trace settings control the type and amount of trace messages that appear in the Output window.

Requirements

Header: atldebugapi.h

See Also

Concepts

Debugging and Error Reporting Global Functions

ATLTraceTool Sample: Displays Output of ATLTRACE2