다음을 통해 공유


Event::Event Constructor (Windows Runtime C++ Template Library)

 

The latest version of this topic can be found at Event::Event Constructor (Windows Runtime C++ Template Library).

Initializes a new instance of the Event class.

Syntax

explicit Event(  
   HANDLE h = HandleT::Traits::GetInvalidValue()  
);  
WRL_NOTHROW Event(  
   _Inout_ Event&& h  
);  

Parameters

h
Handle to an event. By default, h is initialized to nullptr.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

Event Class (Windows Runtime C++ Template Library)