Share via


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

Initializes a new instance of the Event class.

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

Reference

Event Class (Windows Runtime C++ Template Library)