Partager via


CDebugReportHook::SetPipeName

Call this method to set the machine and name of the pipe to which the debug reports will be sent.

BOOL SetPipeName(
   LPCSTR szMachineName = ".",
   LPCSTR szPipeName = "AtlsDbgPipe" 
) throw( );

Parameters

  • szMachineName
    The name of the machine to which the debug output should be sent.

  • szPipeName
    The name of the named pipe to which the debug output should be sent.

Return Value

Returns TRUE on success, FALSE on failure.

Requirements

Header: atlutil.h

See Also

Concepts

CDebugReportHook Class

CDebugReportHook Members