Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 1.89 KB

event-class-wrl.md

File metadata and controls

81 lines (55 loc) · 1.89 KB
description title ms.date ms.topic f1_keywords helpviewer_keywords ms.assetid
Learn more about: Event Class (WRL)
Event Class (WRL)
09/24/2018
reference
corewrappers/Microsoft::WRL::Wrappers::Event
corewrappers/Microsoft::WRL::Wrappers::Event::Event
corewrappers/Microsoft::WRL::Wrappers::Event::operator=
Microsoft::WRL::Wrappers::Event class
Microsoft::WRL::Wrappers::Event::Event, constructor
Microsoft::WRL::Wrappers::Event::operator= operator
55dfc9fc-62d4-4bb2-9d85-5b6dd88569e8

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.