![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include "utils/XTimeUtils.h"
#include "platform/win32/CharsetConverter.h"
#include <FileAPI.h>
#include <Windows.h>
Namespaces | |
namespace | KODI |
namespace | KODI::TIME |
Functions | |
uint32_t | KODI::TIME::GetTimeZoneInformation (TimeZoneInformation *timeZoneInformation) |
void | KODI::TIME::GetLocalTime (SystemTime *systemTime) |
int | KODI::TIME::FileTimeToLocalFileTime (const FileTime *fileTime, FileTime *localFileTime) |
int | KODI::TIME::SystemTimeToFileTime (const SystemTime *systemTime, FileTime *fileTime) |
long | KODI::TIME::CompareFileTime (const FileTime *fileTime1, const FileTime *fileTime2) |
int | KODI::TIME::FileTimeToSystemTime (const FileTime *fileTime, SystemTime *systemTime) |
int | KODI::TIME::LocalFileTimeToFileTime (const FileTime *localFileTime, FileTime *fileTime) |
std::string | FromW (const wchar_t *str, size_t length) |
std::string KODI::PLATFORM::WINDOWS::FromW | ( | const wchar_t * | str, |
size_t | length ) |
Convert UTF-16 to UTF-8 strings Windows specific method to avoid initialization issues and locking issues that are unique to Windows as API calls expect UTF-16 strings
str[in] | string to be converted |
length[in] | length in characters of the string |