HandleT Class
Represents a handle to an object.
template <
typename HandleTraits
>
class HandleT;
Parameters
- HandleTraits
An instance of the HandleTraits stucture that defines common characteristics of a handle.
Members
Public Typedefs
Name |
Description |
---|---|
Traits |
A synonym for HandleTraits. |
Public Constructors
Name |
Description |
---|---|
Initializes a new instance of the HandleT class. |
|
Deinitializes an instance of the HandleT class. |
Public Methods
Name |
Description |
---|---|
Associates the specified handle with the current HandleT object. |
|
Closes the current HandleT object. |
|
Disassociates the current HandleT object from its underlying handle. |
|
Gets the value of the underlying handle. |
|
Indicates whether the current HandleT object represents a handle. |
Protected Methods
Name |
Description |
---|---|
Closes the current HandleT object. |
Public Operators
Name |
Description |
---|---|
Moves the value of the specified HandleT object to the current HandleT object. |
Protected Data Members
Name |
Description |
---|---|
Contains the handle that is represented by the HandleT object. |
Inheritance Hierarchy
HandleT
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers