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,
31 static int GetPrefixLen (
const string &utf8string );
33 static int IsAbsolute (
const string &utf8string );
35 static int IsPathSeparator (
char c );
37 static int IsUncPath (
const string &utf8string );
39 static const UINT8 *Utf8DecodeChar (
40 const UINT8 *utf8_char,
46 static size_t Utf8LenFromUcs4 ( UINT32 ucs4 );
48 static UINT8 Utf8NumOctets ( UINT8 utf8_first_byte );
58 wchar_t* _wideCharString;