Lines Matching refs:path
96 for (auto const &path : *paths) size = static_cast<ULONG>(path.length() * sizeof(wchar_t));
97 // size in bytes, so multiply path size by two and add 2 for the null terminator
100 // only want to write data if there is path data to write
105 for (auto const &path : *paths) {
106 for (auto w : path) {
297 return &key.path;
302 std::vector<RegistryEntry> *get_registry_vector(std::string const &path) {
303 if (path == "HKEY_LOCAL_MACHINE\\" VK_DRIVERS_INFO_REGISTRY_LOC) return &platform_shim.hkey_local_machine_drivers;
304 if (path == "HKEY_LOCAL_MACHINE\\" VK_ELAYERS_INFO_REGISTRY_LOC) return &platform_shim.hkey_local_machine_explicit_layers;
305 if (path == "HKEY_LOCAL_MACHINE\\" VK_ILAYERS_INFO_REGISTRY_LOC) return &platform_shim.hkey_local_machine_implicit_layers;
306 if (path == "HKEY_CURRENT_USER\\" VK_ELAYERS_INFO_REGISTRY_LOC) return &platform_shim.hkey_current_user_explicit_layers;
307 if (path == "HKEY_CURRENT_USER\\" VK_ILAYERS_INFO_REGISTRY_LOC) return &platform_shim.hkey_current_user_implicit_layers;
308 if (path == "HKEY_LOCAL_MACHINE\\" VK_SETTINGS_INFO_REGISTRY_LOC) return &platform_shim.hkey_local_machine_settings;
309 if (path == "HKEY_CURRENT_USER\\" VK_SETTINGS_INFO_REGISTRY_LOC) return &platform_shim.hkey_current_user_settings;
319 const std::string *path = get_path_of_created_key(hKey);
320 if (path == nullptr) return ERROR_NO_MORE_ITEMS;
322 const auto *location_ptr = get_registry_vector(*path);
384 _Out_writes_opt_(*pathLength) PWSTR path) {
386 if (*pathLength > 0 && !path) return ERROR_INVALID_PARAMETER;
399 path[i] = platform_shim.app_package_path.c_str()[i];