Re: MsgWaitForSingleObject and named pipe. Which event am I getting ?

"R.Wieser" <[email protected]> Thu, 19 Mar 2026 14:07:47 +0100
Newsgroups comp.os.ms-windows.programmer.win32,alt.comp.os.windows-xp,alt.windows7.general
Organization A noiseless patient Spider
Message-ID <[email protected]>
Richard, (others),

> HANDLE hConnectEvent = CreateEvent(NULL, TRUE, TRUE, NULL); // Manual 
> reset
> HANDLE hReadEvent = CreateEvent(NULL, TRUE, FALSE, NULL);

Any idea why one is created set, and the other not ?  As far as I can see 
both should be created reset.

Also, any idea why they are (must be?) created as manually-reset events ?

The MSDN docs says that the WaitFor functions change (reset) the event that 
causes it to return.   Any idea to whats the reason for wanting to do it 
manually ?

Regards,
Rudy Wieser