BUG: Processes with Real Time Priority Class Can't Be Created with the Win32_Process Class (243846)



The information in this article applies to:

  • Microsoft Windows Management Instrumentation 1.0
  • Microsoft Windows Management Instrumentation 1.1
  • Microsoft Windows Management Instrumentation 1.5

This article was previously published under Q243846

SYMPTOMS

If an application attempts to specify a value of 256 for REALTIME_PRIORITY_CLASS, the process is created with HIGH_PRIORITY_CLASS.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Windows Management Instrumentation (WMI) defines the Win32_Process class to represent processes running on a computer. The Win32_Process class contains a Create method that is used to create new processes on the system. The signature of this method is as follows:
uint32 Create( [in] string CommandLine,
	      [in] string CurrentDirectory,
	      [in] object:Win32_ProcessStartup ProcessStartupInformation,
	      [out] uint32 ProcessId );
				
The third parameter is an instance of the Win32_ProcessStartup class that contains properties that specify the characteristics of the process to be created. An application sets the value of the "PriorityClass" property to determine the scheduling priority of the threads of the process.

REFERENCES

For information on the differences between the REALTIME_PRIORITY_CLASS and the HIGH_PRIORITY_CLASS scheduling priorities, please refer to "Processes and Threads" in the Microsoft Developers Network documentation. Windows Management Instrumentation in the Platform SDK documentation

Modification Type:MinorLast Reviewed:3/20/2004
Keywords:kbDSWManage2003Swept kbBug kbWBEM kbWBEM100 KB243846