|  | 
| Previous | Next | 
The SetLogFileName method sets the full path to the current log file. All subsequent log entries will be placed in this file.
Syntax
HRESULT SetLogFileName(
  LPSTR  pszFilename
);
Parameters
pszFilename
[in] Pointer to a string that is the full path to the new log file.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
| Return code | Description | 
| E_INVALIDARG | The pszFilename parameter is an invalid or NULL pointer. | 
| E_FAIL | The method failed to get exclusive access to the log file. | 
| E_ABORT | The method timed out while trying to get exclusive access to the log file. | 
See Also
| Previous | Next |