Registers a log file for debugging or tracing purposes into the current WIMGAPI session.
BOOL WINAPI WIMRegisterLogFile( PCWSTR pszLogFile, DWORD dwFlags );
[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.
[in] Reserved. Must be zero.
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.