Searched refs:strw (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/SDL2/src/core/windows/ |
A D | SDL_windows.c | 169 WCHAR *strw = NULL; in WIN_LookupAudioDeviceName() 185 strw = WIN_UTF8ToString(keystr); in WIN_LookupAudioDeviceName() 186 rc = (RegOpenKeyExW(HKEY_LOCAL_MACHINE, strw, 0, KEY_QUERY_VALUE, &hkey) == ERROR_SUCCESS); in WIN_LookupAudioDeviceName() 187 SDL_free(strw); in WIN_LookupAudioDeviceName() 198 strw = (WCHAR *) SDL_malloc(len + sizeof (WCHAR)); in WIN_LookupAudioDeviceName() 199 if (!strw) { in WIN_LookupAudioDeviceName() 204 rc = (RegQueryValueExW(hkey, L"Name", NULL, NULL, (LPBYTE) strw, &len) == ERROR_SUCCESS); in WIN_LookupAudioDeviceName() 207 SDL_free(strw); in WIN_LookupAudioDeviceName() 211 strw[len / 2] = 0; /* make sure it's null-terminated. */ in WIN_LookupAudioDeviceName() 213 retval = WIN_StringToUTF8(strw); in WIN_LookupAudioDeviceName() [all …]
|
/AliOS-Things-master/components/SDL2/src/thread/windows/ |
A D | SDL_systhread.c | 173 WCHAR *strw = WIN_UTF8ToString(name); local 174 if (strw) { 175 pSetThreadDescription(GetCurrentThread(), strw); 176 SDL_free(strw);
|
Completed in 3 milliseconds