Searched refs:buffer_utf16 (Results 1 - 1 of 1) sorted by relevance
/third_party/vulkan-loader/loader/ |
H A D | vk_loader_platform.h | 516 wchar_t *buffer_utf16 = (wchar_t *)loader_stack_alloc(size * sizeof(wchar_t)); in loader_platform_executable_path() local 517 DWORD ret = GetModuleFileNameW(NULL, buffer_utf16, (DWORD)size); in loader_platform_executable_path() 524 int buffer_utf8_size = WideCharToMultiByte(CP_UTF8, 0, buffer_utf16, -1, NULL, 0, NULL, NULL); in loader_platform_executable_path() 528 if (WideCharToMultiByte(CP_UTF8, 0, buffer_utf16, -1, buffer, buffer_utf8_size, NULL, NULL) != buffer_utf8_size) { in loader_platform_executable_path()
|
Completed in 2 milliseconds