Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
PriorityBoostEnabledCore
bool
System.Diagnostics.Process.PriorityBoostEnabledCore
get
set
private
Definition at line
754
of file
Process.cs
.
755
{
756
get
757
{
758
using
SafeProcessHandle
handle
=
GetProcessHandle
(1024);
759
if
(!global::Interop.Kernel32.GetProcessPriorityBoost(
handle
,
out
var
disabled
))
760
{
761
throw
new
Win32Exception
();
762
}
763
return
!
disabled
;
764
}
765
set
766
{
767
using
SafeProcessHandle
handle
=
GetProcessHandle
(512);
768
if
(!global::Interop.Kernel32.SetProcessPriorityBoost(
handle
, !
value
))
769
{
770
throw
new
Win32Exception
();
771
}
772
}
773
}
Microsoft.Win32.SafeHandles.SafeProcessHandle
Definition
SafeProcessHandle.cs:6
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.Diagnostics.Process.GetProcessHandle
SafeProcessHandle GetProcessHandle()
Definition
Process.cs:1690
Win32Exception
System.Runtime.Serialization.CollectionKind.Dictionary
@ Dictionary
System.ExceptionArgument.value
@ value
System.ExceptionArgument.handle
@ handle
System
Diagnostics
Process
Generated by
1.10.0