| title | Event Class (WRL) | Microsoft Docs | |||
|---|---|---|---|---|
| ms.custom | ||||
| ms.date | 09/24/2018 | |||
| ms.technology |
|
|||
| ms.topic | reference | |||
| f1_keywords |
|
|||
| dev_langs |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 55dfc9fc-62d4-4bb2-9d85-5b6dd88569e8 | |||
| author | mikeblome | |||
| ms.author | mblome | |||
| ms.workload |
|
Represents an event.
class Event : public HandleT<HandleTraits::EventTraits>;| Name | Description |
|---|---|
| Event::Event | Initializes a new instance of the Event class. |
| Name | Description |
|---|---|
| Event::operator= | Assigns the specified Event reference to the current Event instance. |
HandleT
Event
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers
Initializes a new instance of the Event class.
explicit Event(
HANDLE h = HandleT::Traits::GetInvalidValue()
);
WRL_NOTHROW Event(
_Inout_ Event&& h
);h
Handle to an event. By default, h is initialized to nullptr.
Assigns the specified Event reference to the current Event instance.
WRL_NOTHROW Event& operator=(
_Inout_ Event&& h
);h
An rvalue-reference to an Event instance.
A pointer to the current Event instance.