aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/pipe.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-08-19 14:08:23 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-08-19 17:02:27 -0500
commitb72f58abdf6dd5d0020f174358027158cb52cb72 (patch)
tree3070c1f1fa8a74125a2933f23a1be3c514ed1de7 /src/burn/engine/pipe.h
parentbbc36178172e4198351f2f84a91faf56c65e1475 (diff)
downloadwix-b72f58abdf6dd5d0020f174358027158cb52cb72.tar.gz
wix-b72f58abdf6dd5d0020f174358027158cb52cb72.tar.bz2
wix-b72f58abdf6dd5d0020f174358027158cb52cb72.zip
Use a dedicated pipe for redirecting logging from the elevated process.
Fixes 6869
Diffstat (limited to 'src/burn/engine/pipe.h')
-rw-r--r--src/burn/engine/pipe.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/burn/engine/pipe.h b/src/burn/engine/pipe.h
index f2d8070e..6571c0e2 100644
--- a/src/burn/engine/pipe.h
+++ b/src/burn/engine/pipe.h
@@ -15,6 +15,7 @@ typedef struct _BURN_PIPE_CONNECTION
15 HANDLE hProcess; 15 HANDLE hProcess;
16 HANDLE hPipe; 16 HANDLE hPipe;
17 HANDLE hCachePipe; 17 HANDLE hCachePipe;
18 HANDLE hLoggingPipe;
18} BURN_PIPE_CONNECTION; 19} BURN_PIPE_CONNECTION;
19 20
20typedef enum _BURN_PIPE_MESSAGE_TYPE : DWORD 21typedef enum _BURN_PIPE_MESSAGE_TYPE : DWORD
@@ -77,12 +78,15 @@ HRESULT PipeCreateNameAndSecret(
77 ); 78 );
78HRESULT PipeCreatePipes( 79HRESULT PipeCreatePipes(
79 __in BURN_PIPE_CONNECTION* pConnection, 80 __in BURN_PIPE_CONNECTION* pConnection,
80 __in BOOL fCreateCachePipe, 81 __in BOOL fCompanion
81 __out HANDLE* phEvent
82 ); 82 );
83HRESULT PipeWaitForChildConnect( 83HRESULT PipeWaitForChildConnect(
84 __in BURN_PIPE_CONNECTION* pConnection 84 __in BURN_PIPE_CONNECTION* pConnection
85 ); 85 );
86HRESULT PipeTerminateLoggingPipe(
87 __in HANDLE hLoggingPipe,
88 __in DWORD dwParentExitCode
89 );
86HRESULT PipeTerminateChildProcess( 90HRESULT PipeTerminateChildProcess(
87 __in BURN_PIPE_CONNECTION* pConnection, 91 __in BURN_PIPE_CONNECTION* pConnection,
88 __in DWORD dwParentExitCode, 92 __in DWORD dwParentExitCode,
@@ -92,7 +96,7 @@ HRESULT PipeTerminateChildProcess(
92// Child functions. 96// Child functions.
93HRESULT PipeChildConnect( 97HRESULT PipeChildConnect(
94 __in BURN_PIPE_CONNECTION* pConnection, 98 __in BURN_PIPE_CONNECTION* pConnection,
95 __in BOOL fConnectCachePipe 99 __in BOOL fCompanion
96 ); 100 );
97 101
98#ifdef __cplusplus 102#ifdef __cplusplus