|
| static char | FirstDriveFromMask (ULONG unitmask) |
| |
| static int | GetDriveStatus (const std::string &strPath, bool bStatusEx=false) |
| |
| static bool | XBMCShellExecute (const std::string &strPath, bool bWaitForScriptExit=false) |
| |
| static std::string | GetResInfoString () |
| |
| static size_t | GetSystemMemorySize () |
| |
| static std::string | GetProfilePath (const bool platformDirectories) |
| |
| static std::string | UncToSmb (const std::string &strPath) |
| |
| static std::string | SmbToUnc (const std::string &strPath) |
| |
| static bool | AddExtraLongPathPrefix (std::wstring &path) |
| |
| static bool | RemoveExtraLongPathPrefix (std::wstring &path) |
| |
| static std::wstring | ConvertPathToWin32Form (const std::string &pathUtf8) |
| |
| static std::wstring | ConvertPathToWin32Form (const CURL &url) |
| |
| static __time64_t | fileTimeToTimeT (const __int64 ftimei64) |
| |
| static __time64_t | fileTimeToTimeT (const FILETIME &ftimeft) |
| |
| static __time64_t | fileTimeToTimeT (const LARGE_INTEGER &ftimeli) |
| |
| static HRESULT | ToggleTray (const char cDriveLetter='\0') |
| |
| static HRESULT | EjectTray (const char cDriveLetter='\0') |
| |
| static HRESULT | CloseTray (const char cDriveLetter='\0') |
| |
| static BOOL | IsCurrentUserLocalAdministrator () |
| |
| static void | CropSource (CRect &src, CRect &dst, CRect target, UINT rotation=0) |
| |
| static std::string | WUSysMsg (DWORD dwError) |
| |
| static bool | SetThreadLocalLocale (bool enable=true) |
| |
| static HDR_STATUS | ToggleWindowsHDR () |
| |
| static HDR_STATUS | GetWindowsHDRStatus () |
| |
| static bool | GetSystemSdrWhiteLevel (const std::wstring &gdiDeviceName, float *sdrWhiteLevel) |
| | Retrieve from the system the max luminance of SDR content in HDR.
|
| |
| static void | PlatformSyslog () |
| |
| static VideoDriverInfo | GetVideoDriverInfo (const UINT vendorId, const std::wstring &driverDesc) |
| |
| static VideoDriverInfo | GetVideoDriverInfoDX (const UINT vendorId, LUID adapterLuid) |
| |
| static VideoDriverInfo | FormatVideoDriverInfo (const UINT vendorId, uint64_t rawVersion) |
| |
| static VideoDriverInfo | FormatVideoDriverInfo (const UINT vendorId, const std::string &version) |
| |
| static std::wstring | GetDisplayFriendlyName (const std::wstring &GdiDeviceName) |
| |
| static bool | SetThreadName (const HANDLE handle, const std::string &name) |
| | Set the thread name using SetThreadDescription when available.
|
| |
| static bool | IsDriverVersionAtLeast (const std::string &version1, const std::string &version2) |
| | Compare two Windows driver versions (xx.xx.xx.xx string format)
|
| |
| static std::string | FormatHRESULT (HRESULT hr) |
| | Format a Windows HRESULT value into a string for logging.
|
| |