Windows 7 Source Code Leaked??
Don’t take it seriously :P
/** /** * Top Secret * (c) 2009 Microscope Corp. * All rights reserved */ #include <windows_xp.h> /* still need this */ #include <windows_vista.h> /* this is main part on Windows 7 */ #include <new_icons.h> /* just to make different from vista */ #include <high_spec_hardware.h> #define MAXREPORTBUG 1024 int numberOfBugs = 3457888E+08; int numberWorkingNewFeatures = 0; int totalNewFeatures = 5; void main() { // MessageBox("Welcome to Windows XP"); // MessageBox("Welcome to Windows Vista"); MessageBox("Welcome to Windows 7"); AddNewFeature(totalNewFeatures); RunXPFeature(); RunVistaFeature(); RunFancyAnimation(); // DelayTime(); /* to make look faster*/ // DelayTime(); while (!crashed) { if (HardwareCompatibilityCheck() == 1) { NewFancyInterface(); RunInternetExplorer8(); CheckUserLicence(); // DelayTime(); /* this line removed for Win7, keep remain on Vista */ // DelayTime() ; if (MouseNotFound() ) { MessageBox("Please Double Click to Continue!."); } if (IEisDefaultBrowser == false ) { MakeIEDefault(); } while (BugsFounds()) { BlameHardware(); ReportBugs(SoftwareInfo,HardwareInfo); } } } if (crashed()) { BlameHardware(); MakeSwapFile(50); // Size in GB ShowCopyRight(); ShowUserAgreement(); // do not try to blame coder RunDiskDefragment(); //try to fix to make user happy RunDiskScan(); RunHDDFlicker(); // to look its still working } } bool HardwareCompatibilityCheck() { //DelayTime(); /* to look faster */ if (ProcessorSpeed < 4 Ghz) && (MemorySize < 2 GB) { MessageBox("Your System not capable to run Windows 7. Please upgrade the hardware and try to install again."); ShowWindowsMarketPlace(); ReportBugs('Low Hardware'); WindowsRestart(); } if (GraphicCard == "Low") BSOD(); Return 1; } void MakeIEDefault() { if (BrowserDefault != InternetExplorer) { KillOtherBrowser('Opera'); /* this must set first, case again EC */ KillOtherBrowser('Firefox'); /* second priority */ KillOtherBrowser('Chrome'); KillOtherBrowser('Safari'); // KillOtherBrowser('Netscape'); } BrowserDefault('InternetExplorer'); IEisDefaultBrowser = true; } void KillOtherBrowser(BrowserName) { RemoveFile(BrowserName); RemoveRegistry(BrowserName); BlockInstall(BrowserName); } void NewFancyInterface() { bool WindowsVistaCore; WindowsVistaCore == true; // Delaytime(); /* to look faster */ ShowNewIcons(); ShowNewStyle(); ShowEverythingFancy(); /* most important for the market */ ShowNiceGraphic(); /* also important */ } void ReportBugs(string ErrorReport) { if (numberOfBugs > MAXREPORTBUG) { IgnoreReportBugs(); } if (Length(ErrorReport) > 128) //not exceed than 128 char { IgnoreReportBugs(); } /* those line above is important to avoid flooding bugs report */ DelayTime(); BlameHardware(); SendErrorReport(ErrorReport); numberOfBugs += 1; }
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.



Dapat darimana neh bang? idenya keren banget.
ASLI ngakak bacanya…