Unregisters a log file for debugging or tracing purposes from the current WIMGAPI session.
BOOL WINAPI WIMUnregisterLogFile( PCWSTR pszLogFile );
Parameters
pszLogFile
[in] The path to a log file previously specified in a call to the WIMRegisterLogFile function. This parameter is required and cannot be NULL.
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.