Поделиться через


AtlTraceLoadSettings

Call this function to load trace settings from a file.

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

Параметры

  • 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.

Возвращаемое значение

TRUE if the file was successfully loaded, FALSE otherwise.

Заметки

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.

Требования

Header: atldebugapi.h

См. также

Основные понятия

Debugging and Error Reporting Global Functions

ATLTraceTool Sample: Displays Output of ATLTRACE2