Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Defines common characteristics of a handle.
Syntax
struct HANDLETraits;
Members
Public Typedefs
| Name | Description |
|---|---|
Type |
A synonym for HANDLE. |
Public Methods
| Name | Description |
|---|---|
| HANDLETraits::Close | Closes the specified handle. |
| HANDLETraits::GetInvalidValue | Represents an invalid handle. |
Inheritance Hierarchy
HANDLETraits
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::HandleTraits
HANDLETraits::Close
Closes the specified handle.
inline static bool Close(
_In_ Type h
);
Parameters
h
The handle to close.
Return Value
true if handle h closed successfully; otherwise, false.
HANDLETraits::GetInvalidValue
Represents an invalid handle.
inline static HANDLE GetInvalidValue();
Return Value
Always returns INVALID_HANDLE_VALUE. (INVALID_HANDLE_VALUE is defined by Windows.)