@pinvoke=http://pinvoke.net/$$$.htm @geoff=https://geoffchappell.com/studies/windows/win32/ntdll/api/rtl/peb/setprocessiscritical.htm Summary: Undocumented. A function to set whether the process causes a BSOD on kill. This different from NtSetInformationProcess that when you kill it, it will create a really loud beep sound in BSOD !!!!C# Signature: [DllImport("ntdll.dll", SetLastError=false)] static extern uint RtlSetProcessIsCritical(bool bNew, IntPtr expectsZero, bool bNeedsScb); !!!!User-Defined Types: None. !!!!Alternative Managed API: None. !!!!Notes: The expectsZero parameter is actually something to read the old value. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Process.EnterDebugMode(); RtlSetProcessIsCritical(1, 0, 1); Documentation: This function is undocumented! RtlSetProcessIsCritical@geoff on Geoff Chappell
Edit ntdll.RtlSetProce...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.