Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HandleT Class

Represents a handle to an object.

template <
   typename HandleTraits
>
class HandleT;

HandleTraits

An instance of the HandleTraits stucture that defines common characteristics of a handle.

Name

Description

Traits

A synonym for HandleTraits.

Name

Description

HandleT::HandleT Constructor

Initializes a new instance of the HandleT class.

HandleT::~HandleT Destructor

Deinitializes an instance of the HandleT class.

Name

Description

HandleT::Attach Method

Associates the specified handle with the current HandleT object.

HandleT::Close Method

Closes the current HandleT object.

HandleT::Detach Method

Disassociates the current HandleT object from its underlying handle.

HandleT::Get Method

Gets the value of the underlying handle.

HandleT::IsValid Method

Indicates whether the current HandleT object represents a handle.

Name

Description

HandleT::InternalClose Method

Closes the current HandleT object.

Name

Description

HandleT::operator= Operator

Moves the value of the specified HandleT object to the current HandleT object.

Name

Description

HandleT::handle_ Data Member

Contains the handle that is represented by the HandleT object.

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

Show:
© 2015 Microsoft