Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "SetPriorityClass" in [All]

kernel32

.
Summary
.

  Public Shared Function SetPriorityClass( _

.

public static extern bool SetPriorityClass(IntPtr handle, PriorityClass priorityClass);

.

  SetPriorityClass(mhHwnd, CType(20, System.IntPtr))    '20 = high !!

.

  SetPriorityClass(Process.GetCurrentProcess.Handle, PriorityClass.PROCESS_MODE_BACKGROUND_BEGIN)

.
Documentation
[SetPriorityClass] on MSDN

Enums

.

    /// Required to set certain information about a process, such as its priority class (see SetPriorityClass).

.

    ''' <summary>Enables usage of the process handle in the SetPriorityClass function to set the priority class of the process.</summary>

.

     """Enables usage of the process handle in the SetPriorityClass function to set the priority class of the process."""


 
Access PInvoke.net directly from VS: