9namespace mp4v2 {
namespace platform {
namespace win32 {
17 bool IsUTF16Valid( )
const;
19 operator LPCWSTR( )
const {
return _wideCharString; }
20 operator LPWSTR( )
const {
return _wideCharString; }
26 wchar_t *ConvertToUTF16 (
const string &
utf8 );
28 static int ConvertToUTF16Buf (
const char *
utf8,
32 static bool HasPrefix (
const string &utf8string );
33 static string StripPrefix (
const string &utf8string );
35 static int IsAbsolute (
const string &utf8string );
37 static int IsPathSeparator (
char c );
39 static int IsUncPath (
const string &utf8string );
41 static const uint8_t *Utf8DecodeChar (
42 const uint8_t *utf8_char,
48 static size_t Utf8LenFromUcs4 ( uint32_t ucs4 );
50 static uint8_t Utf8NumOctets ( uint8_t utf8_first_byte );
60 wchar_t* _wideCharString;