Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The latest version of this topic can be found at HandleT Class.
Represents a handle to an object.
Syntax
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 |
|---|---|
| HandleT::HandleT Constructor | Initializes a new instance of the HandleT class. |
| HandleT::~HandleT Destructor | Deinitializes an instance of the HandleT class. |
Public Methods
| 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. |
Protected Methods
| Name | Description |
|---|---|
| HandleT::InternalClose Method | Closes the current HandleT object. |
Public Operators
| Name | Description |
|---|---|
| HandleT::operator= Operator | Moves the value of the specified HandleT object to the current HandleT object. |
Protected Data Members
| Name | Description |
|---|---|
| HandleT::handle_ Data Member | Contains the handle that is represented by the HandleT object. |
Inheritance Hierarchy
HandleT
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers