mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-30 07:20:52 +00:00
24 lines
437 B
C++
24 lines
437 B
C++
/**
|
|
* @file src/platform/windows/misc.h
|
|
* @brief todo
|
|
*/
|
|
#pragma once
|
|
|
|
#include <chrono>
|
|
#include <string_view>
|
|
#include <windows.h>
|
|
#include <winnt.h>
|
|
|
|
namespace platf {
|
|
void
|
|
print_status(const std::string_view &prefix, HRESULT status);
|
|
HDESK
|
|
syncThreadDesktop();
|
|
|
|
int64_t
|
|
qpc_counter();
|
|
|
|
std::chrono::nanoseconds
|
|
qpc_time_difference(int64_t performance_counter1, int64_t performance_counter2);
|
|
} // namespace platf
|