Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
confighttp::registry_key_t Class Reference

RAII wrapper for a Windows registry key handle. More...

Public Member Functions

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.

Detailed Description

RAII wrapper for a Windows registry key handle.

Member Function Documentation

◆ get()

HKEY confighttp::registry_key_t::get ( ) const
inline

Get the owned registry key handle.

Returns
Registry key handle.

◆ operator=()

registry_key_t & confighttp::registry_key_t::operator= ( const registry_key_t & )
delete

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: