RAII wrapper for a Windows registry key handle.
More...
|
| HKEY | get () const |
| | Get the owned registry key handle.
|
| registry_key_t & | operator= (const registry_key_t &)=delete |
| | Copy assignment is disabled because the wrapper owns a handle.
|
| HKEY * | put () |
| | Prepare the wrapper to receive a registry key handle.
|
|
| registry_key_t ()=default |
| | Construct an empty registry key wrapper.
|
|
| registry_key_t (const registry_key_t &)=delete |
| | Copy construction is disabled because the wrapper owns a handle.
|
|
| ~registry_key_t () |
| | Close the owned registry key handle.
|
RAII wrapper for a Windows registry key handle.
◆ get()
| HKEY confighttp::registry_key_t::get |
( |
| ) |
const |
|
inline |
Get the owned registry key handle.
- Returns
- Registry key handle.
◆ operator=()
Copy assignment is disabled because the wrapper owns a handle.
- Returns
- This registry key wrapper.
◆ put()
| HKEY * confighttp::registry_key_t::put |
( |
| ) |
|
|
inline |
Prepare the wrapper to receive a registry key handle.
- Returns
- Address of the wrapped handle.
The documentation for this class was generated from the following file: