/*
      TOP SECRET Microsoft(c)
      Project: Longhorn
*/

#include "win95.h"
#include "win98.h"
#include "DRM.h"
#include "crash.h"

void main(){
        while(!CRASHED){

                if(APP_STARTING){
                        if(apptype(source,open) ){
                                wait(100);
                                slow_system();
                                send_report_to_microsoft(usage, full);
                        }
                }

                if(uptime>150){
                        crash_system();
                }

                if(!DX10GPU){
                        set_graphics_mode(aero, win98);
                        show_advertisement(dx10gpu_card);
                }

                if(multimedia){
                        if(!DRM){
                                slow_system();
                                send_report_to_microsoft(usage, full);
                                send_report_to_RIAA(usage, full);
                        }
                }

        }else{
                //something have crashed
                Make_error_message(twice);

                if(user_press_yes){
                        send_report_to_microsoft(crash, full);
                }

                if(user_press_no){
                        send_report_to_microsoft(crash, full);
                        send_report_to_microsoft(usage, full);
                        hang_system();
                }

        }
}

//Idea based on techradars advertisement. www.techradar.com
//Comments and suggestion to vuhvuh@pelikoira.netremove
//www.pelikoira.net