IHostAutoEvent Interface

Provides a representation of the host's implementation of an auto-reset event.

interface IHostAutoEvent : IUnknown {
    HRESULT Set ();
    HRESULT Wait (
        [in] DWORD dwMilliseconds,
        [in] DWORD option



IHostAutoEvent::Set Method

Sets the current IHostAutoEvent instance to a signaled state.

IHostAutoEvent::Wait Method

Causes the current IHostAutoEvent instance to wait until the event is owned or a specified amount of time elapses.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Version: 2.0

Community Additions