Skip to content

Latest commit

 

History

History
86 lines (60 loc) · 1.99 KB

File metadata and controls

86 lines (60 loc) · 1.99 KB
title Event Class (WRL) | Microsoft Docs
ms.custom
ms.date 09/24/2018
ms.technology
cpp-windows
ms.topic reference
f1_keywords
corewrappers/Microsoft::WRL::Wrappers::Event
corewrappers/Microsoft::WRL::Wrappers::Event::Event
corewrappers/Microsoft::WRL::Wrappers::Event::operator=
dev_langs
C++
helpviewer_keywords
Microsoft::WRL::Wrappers::Event class
Microsoft::WRL::Wrappers::Event::Event, constructor
Microsoft::WRL::Wrappers::Event::operator= operator
ms.assetid 55dfc9fc-62d4-4bb2-9d85-5b6dd88569e8
author mikeblome
ms.author mblome
ms.workload
cplusplus
uwp

Event Class (WRL)

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.