Skip to content

Commit

Permalink
Added project files
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaslangrock committed Sep 4, 2019
1 parent eba6c3b commit a2fb9fd
Show file tree
Hide file tree
Showing 15 changed files with 2,508 additions and 0 deletions.
25 changes: 25 additions & 0 deletions FakeBSOD.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29215.179
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FakeBSOD", "FakeBSOD\FakeBSOD.csproj", "{0918AAB6-3847-4DBC-8540-715C3CDCB54A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0918AAB6-3847-4DBC-8540-715C3CDCB54A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0918AAB6-3847-4DBC-8540-715C3CDCB54A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0918AAB6-3847-4DBC-8540-715C3CDCB54A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0918AAB6-3847-4DBC-8540-715C3CDCB54A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0F103D96-551E-4EF5-8EC5-00D93472A722}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions FakeBSOD/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
</startup>
</configuration>
75 changes: 75 additions & 0 deletions FakeBSOD/BSOD.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions FakeBSOD/BSOD.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using System;
using System.Diagnostics;
using System.Windows.Forms;

namespace FakeBSOD
{
public partial class BSOD : Form
{
private string BSOD_Content = "A problem has been detected and windows has been shut down to prevent damage to your computer.\n\n" +
"DRIVER_IRQL_NOT_LESS_OR_EQUAL\n\n" +
"If this is the first time you've seen this stop error screen.\n" +
"restart your computer. If this screen appears again, follow these steps:\n\n" +
"Check to make sure any new hardware or software is properly installed.\n" +
"If this is a new installation, ask your hardware or software manufacturer for any windows updates you might need.\n\n" +
"If problems continue, disable or remove any newly installed hardware or software. Disable BIOS memory options such as caching or shadowing.\n" +
"If you need to use safe mode to remove or disable components, restart your computer, press F8 to select Advantage Startup Options, and then select Safe Mode.\n\n" +
"Technical information:\n\n" +
"*** STOP: 0x00000000D1 (0x00000000C, 0x000000002, 0x000000000, 0xF86B5A89)\n\n" +
"*** gv3.sys - Address F86B5A89 base at F86B5000, DateStamp 3dd991eb\n\n" +
"Beginning dump of physical memory\nPhysical memory dump complete.\n" +
"Contact your system administrator or technical support group for further assistance.";

public BSOD()
{
InitializeComponent();
}

private void BSOD_Load(object sender, EventArgs e)
{
Cursor.Hide(); // hide cursor
BSOD_Text.Text = BSOD_Content; // put the text on the screen
}

private void BSOD_FormClosing(object sender, FormClosingEventArgs e)
{
if (!Debugger.IsAttached) { e.Cancel = true; } // makes debugging easier
}
}
}
Loading

0 comments on commit a2fb9fd

Please sign in to comment.