Commit 9b80443a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

kernel32: Reimplement GetVolumePathName() using…

kernel32: Reimplement GetVolumePathName() using NtQueryInformationFile(FileAttributeTagInformation). Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 340757c6
......@@ -920,12 +920,12 @@ static void test_GetVolumePathNameA(void)
ret = GetVolumePathNameA( "C::", volume_path, sizeof(volume_path) );
ok(ret, "Failed to obtain the volume path, error %u.\n", GetLastError());
todo_wine ok(!strcmp(volume_path, expect_path), "Expected %s, got %s.\n",
ok(!strcmp(volume_path, expect_path), "Expected %s, got %s.\n",
debugstr_a( expect_path ), debugstr_a( volume_path ));
ret = GetVolumePathNameA( "C:ABC:DEF:\\AnInvalidFolder", volume_path, sizeof(volume_path) );
ok(ret, "Failed to obtain the volume path, error %u.\n", GetLastError());
todo_wine ok(!strcmp(volume_path, expect_path), "Expected %s, got %s.\n",
ok(!strcmp(volume_path, expect_path), "Expected %s, got %s.\n",
debugstr_a( expect_path ), debugstr_a( volume_path ));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment