![]() |
Sunshine v2025.118.151840
Self-hosted game stream host for Moonlight.
|
Miscellaneous declarations for Windows. More...
#include <chrono>#include <string_view>#include <windows.h>#include <winnt.h>Go to the source code of this file.
Functions | |
| std::wstring | platf::from_utf8 (const std::string &string) |
| Convert a UTF-8 string into a UTF-16 wide string. | |
| void | platf::print_status (const std::string_view &prefix, HRESULT status) |
| int64_t | platf::qpc_counter () |
| std::chrono::nanoseconds | platf::qpc_time_difference (int64_t performance_counter1, int64_t performance_counter2) |
| HDESK | platf::syncThreadDesktop () |
| std::string | platf::to_utf8 (const std::wstring &string) |
| Convert a UTF-16 wide string into a UTF-8 string. | |
Miscellaneous declarations for Windows.
| std::wstring platf::from_utf8 | ( | const std::string & | string | ) |
Convert a UTF-8 string into a UTF-16 wide string.
| string | The UTF-8 string. |
| std::string platf::to_utf8 | ( | const std::wstring & | string | ) |
Convert a UTF-16 wide string into a UTF-8 string.
| string | The UTF-16 wide string. |