NtQueryProcessInformation case needed by NT version of MSI

Robert Shearman R.J.Shearman at warwick.ac.uk
Fri Apr 11 13:31:39 CDT 2003


Hi,

This patch enables MSI to get a little bit further (but still fails due
to the failure to close a thread token with value of 0xcafe).

Rob
-------------- next part --------------
--- newwine/dlls/ntdll/nt.c	Fri Dec 13 16:05:34 2002
+++ wine/dlls/ntdll/nt.c	Tue Mar 25 02:19:58 2003
@@ -166,6 +166,15 @@
 		else
 			ret = STATUS_INFO_LENGTH_MISMATCH;
 		break;
+	case ProcessWow64Information:
+		if (ProcessInformationLength == 4)
+		{
+			memset(ProcessInformation,0,ProcessInformationLength);
+			len = 4;
+		}
+		else
+			ret = STATUS_INFO_LENGTH_MISMATCH;
+		break;
 	default:
 		FIXME("(%p,0x%08x,%p,0x%08lx,%p),stub!\n",
 			ProcessHandle,ProcessInformationClass,


More information about the wine-patches mailing list