![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include "WSDiscoveryWin32.h"
#include "utils/StringUtils.h"
#include "utils/log.h"
#include "platform/win32/CharsetConverter.h"
#include <mutex>
#include <windns.h>
#include <ws2tcpip.h>
Namespaces | |
namespace | WSDiscovery |
Functions | |
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 |