The DisableTrace method disables the logging of network
function calls.
Parameters
None.
Return Value
If the method succeeds, the return value is non-zero. A return
value of zero indicates an error. Failure typically indicates that
the log file cannot be created.
Remarks
This method will disable output to the log file for the current
thread or process, depending on the flags used when logging was
enabled. If this method is not called, the resources that were
allocated for the logging session will be released when the process
ends.
Requirements
Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csdnsv12.lib
Unicode: Implemented as Unicode and ANSI versions
See Also
|