Paul Vriens : ntdll/tests: ProcessImageFileName is not supported before XP.

Alexandre Julliard julliard at winehq.org
Mon Mar 10 07:16:47 CDT 2008


Module: wine
Branch: master
Commit: af7172c18682c438008d611df561304f8cb18f0b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=af7172c18682c438008d611df561304f8cb18f0b

Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date:   Fri Mar  7 22:16:49 2008 +0100

ntdll/tests: ProcessImageFileName is not supported before XP.

---

 dlls/ntdll/tests/info.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index 08ab192..9fab806 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -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);




More information about the wine-cvs mailing list