From e263e6bca03d783ece2f2dc86345dcdfc4b9776d Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 2 Sep 2022 16:08:29 -0500 Subject: Delay closing the bundle log so that restart failures will be logged. --- src/libs/dutil/WixToolset.DUtil/inc/logutil.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/libs/dutil/WixToolset.DUtil/inc/logutil.h') diff --git a/src/libs/dutil/WixToolset.DUtil/inc/logutil.h b/src/libs/dutil/WixToolset.DUtil/inc/logutil.h index 0ad8510a..fba1e81e 100644 --- a/src/libs/dutil/WixToolset.DUtil/inc/logutil.h +++ b/src/libs/dutil/WixToolset.DUtil/inc/logutil.h @@ -81,6 +81,12 @@ HRESULT DAPI LogRename( __in_z LPCWSTR wzNewPath ); +/******************************************************************** + LogFlush - calls ::FlushFileBuffers with the log file handle. + +********************************************************************/ +HRESULT DAPI LogFlush(); + void DAPI LogClose( __in BOOL fFooter ); @@ -344,7 +350,7 @@ HRESULT DAPI LogFooter(); LogStringWorkRaw - Write a raw, unformatted string to the log ********************************************************************/ -HRESULT LogStringWorkRaw( +HRESULT DAPI LogStringWorkRaw( __in_z LPCSTR szLogData ); -- cgit v1.2.3-55-g6feb