假装蓝屏*QAQ*

//无害

#include<windows.h>
#include<bits/stdc++.h>
void full_screen()
{   
    HWND hwnd = GetForegroundWindow();
    int cx = GetSystemMetrics(SM_CXSCREEN);            /* 屏幕宽度 像素 */
    int cy = GetSystemMetrics(SM_CYSCREEN);            /* 屏幕高度 像素 */

    LONG l_WinStyle = GetWindowLong(hwnd,GWL_STYLE);   /* 获取窗口信息 */
    /* 设置窗口信息 最大化 取消标题栏及边框 */
    SetWindowLong(hwnd,GWL_STYLE,(l_WinStyle | WS_POPUP | WS_MAXIMIZE) & ~WS_CAPTION & ~WS_THICKFRAME & ~WS_BORDER);

    SetWindowPos(hwnd, HWND_TOP, 0, 0, cx, cy, 0);
}

using namespace std;
int main() {

    system("mode 96,28");
    system("color 1f");
    MoveWindow(0, -30, -7, 8600, 1080, TRUE);
    cout << "A problem has been detected and windows has been shut"
"    down to prevent damage\n\
    to your computer.\n\n\
    DRIVER_IROL_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 \n\
    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\n\
    for any windows updates you might need.\n\n\
    If problems continue. disable or remove any newly installed hardware\n\
    or software. Disable BIOS memory option such as caching or shadowing.\n\
    If you need to nsu Safe Mode to remove or disable components, restart\n\
    your computer, press F8 to select Advanced Startup Options, and then\n\
    select Safe Mode.\n\n\
    Technical information:\n\
    \"\"\"STOP:0x00000050(0xFD3094c2,0x00000001,0xFBFE7617,0x00000000)\n\n\
    \"\"\"SPCMDON.SYS - Address FBFE7617 base at FBFE5000, DateStamp 3d6dd67c" << endl;
    keybd_event(VK_F11,0,0,0);
    while(1)
    {
        system("color 1f");
    }
}

  • 9
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值