|
Sunshine master
Self-hosted game stream host for Moonlight.
|
Declarations for common nvidia preferences. More...
Go to the source code of this file.
Classes | |
| struct | nvprefs::nvprefs_options |
| Parsed command-line options for the NVIDIA preferences helper. More... | |
| struct | nvprefs::safe_handle |
| Owning Windows HANDLE wrapper that closes handles automatically. More... | |
| struct | nvprefs::safe_hlocal_deleter |
| Deleter for memory allocated by Windows LocalAlloc APIs. More... | |
Typedefs | |
| template<typename T > | |
| using | nvprefs::safe_hlocal = util::uniq_ptr<std::remove_pointer_t<T>, safe_hlocal_deleter> |
Unique pointer for memory released with LocalFree. | |
| using | nvprefs::safe_sid = util::safe_ptr_v2<void, PVOID, FreeSid> |
Safe pointer for Windows security identifiers released with FreeSid. | |
Functions | |
| void | nvprefs::error_message (const std::string &message) |
| Forward an NVPrefs error message to the logger. | |
| void | nvprefs::error_message (const std::wstring &message) |
| Forward an NVPrefs error message to the logger. | |
| nvprefs_options | nvprefs::get_nvprefs_options () |
| Get nvprefs options. | |
| void | nvprefs::info_message (const std::string &message) |
| Forward an informational NVPrefs message to the logger. | |
| void | nvprefs::info_message (const std::wstring &message) |
| Forward an informational NVPrefs message to the logger. | |
Declarations for common nvidia preferences.
| void nvprefs::error_message | ( | const std::string & | message | ) |
Forward an NVPrefs error message to the logger.
| message | Message text to log or report. |
| void nvprefs::error_message | ( | const std::wstring & | message | ) |
Forward an NVPrefs error message to the logger.
| message | Message text to log or report. |
| nvprefs_options nvprefs::get_nvprefs_options | ( | ) |
Get nvprefs options.
| void nvprefs::info_message | ( | const std::string & | message | ) |
Forward an informational NVPrefs message to the logger.
| message | Message text to log or report. |
| void nvprefs::info_message | ( | const std::wstring & | message | ) |
Forward an informational NVPrefs message to the logger.
| message | Message text to log or report. |