다음을 통해 공유


AtlWaitWithMessageLoop

Waits for the object to be signaled, meanwhile dispatching window messages as needed.

Important

This function cannot be used in applications that execute in the Windows Runtime.

BOOL AtlWaitWithMessageLoop( 
HANDLE hEvent  
);

Parameters

  • hEvent
    [in] The handle of the object to wait for.

Return Value

Returns TRUE if the object has been signaled.

Remarks

This is useful if you want to wait for an object's event to happen and be notified of it happening, but allow window messages to be dispatched while waiting.

Requirements

Header: atlbase.h

See Also

Other Resources

Event Handling Global Functions