Commit af7172c1 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

ntdll/tests: ProcessImageFileName is not supported before XP.

parent 470a0a0c
......@@ -765,6 +765,11 @@ static void test_query_process_image_file_name(void)
INT len;
status = pNtQueryInformationProcess(NULL, ProcessImageFileName, &image_file_name, sizeof(image_file_name), NULL);
if (status == STATUS_INVALID_INFO_CLASS)
{
skip("ProcessImageFileName is not supported\n");
return;
}
ok( status == STATUS_INVALID_HANDLE, "Expected STATUS_INVALID_HANDLE, got %08x\n", status);
status = pNtQueryInformationProcess( GetCurrentProcess(), ProcessImageFileName, &image_file_name, 2, &ReturnLength);
......
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