Registers a log file for debugging or tracing purposes into the current WIMGAPI session.

BOOL
WINAPI
WIMRegisterLogFile(
	PCWSTR  pszLogFile,
	DWORD   dwFlags
	);

Parameters

pszLogFile

[in] A pointer to the full file path of the file to receive debug or tracing information. This parameter is required and cannot be NULL.

dwFlags

[in] Reserved. Must be zero.

Return Value

Returns TRUE and sets the LastError to ERROR_SUCCESS on the successful completion of this function. Returns FALSE in case of a failure and sets the LastError to the appropriate Win32® error value.

See Also