Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents an event.
Syntax
class Event : public HandleT<HandleTraits::EventTraits>;
Members
Public Constructors
| Name | Description |
|---|---|
| Event::Event | Initializes a new instance of the Event class. |
Public Operators
| Name | Description |
|---|---|
| Event::operator= | Assigns the specified Event reference to the current Event instance. |
Inheritance Hierarchy
HandleT
Event
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers
Event::Event
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.
Event::operator=
Assigns the specified Event reference to the current Event instance.
WRL_NOTHROW Event& operator=(
_Inout_ Event&& h
);
Parameters
h
An rvalue-reference to an Event instance.
Return Value
A pointer to the current Event instance.