• Home
  • About
  • Awards
  • Contact
  • Legal
  • Wild West Virginia Ramps For Sale!

« George Bush is no longer “The Decider”
Greensburg F5 tornado aerial photos. »
May 09 2007

Disassembling the windows 2000 code

Posted by Bucky in Funny Stuff, technobabble

This is from a disassembling of Windows 2000 code.

This will probably only make sense to more of my “geeky” readers. :)

I wonder how much of this, if any, is true?

There are various references to idiots and morons, some external, some within Microsoft. The file private\ntos\rtl\heap.c, which dates from 1989, tells us
// The specific idiot in this case is Office95, which likes
// to free a random pointer when you start Word95 from a desktop
// shortcut.
The file private\ntos\w32\ntuser\kernel\swp.c from 11-Jul-1991 points at
* for idiots like MS-Access 2.0 who SetWindowPos( SWP_BOZO
* and blow away themselves on the shell, then lets
* just ignore their plea to be removed from the tray

Morons also abound, as in this selection
private\genx\shell\inc\prsht.w:
// we are such morons. Wiz97 underwent a redesign between IE4 and IE5
private\shell\ext\ftp\ftpdrop.cpp:
We have to do this only because Exchange is a moron.

private\shell\shdoc401\unicpp\desktop.cpp:
// We are morons. We changed the IDeskTray interface between IE4

private\shell\browseui\itbar.cpp:
// should be fixed in the apps themselves. Morons!

Microsoft programmers also take their duty to warn others seriously. There are over 4,000 references to “hacks”, mostly warnings. These include
private\inet\mshtml\src\core\cdbase\baseprop.cxx:
// HACK! HACK! HACK! (MohanB) In order to fix #64710 at this very late
private\inet\mshtml\src\core\cdutil\genutil.cxx:
// HACK HACK HACK. REMOVE THIS ONCE MARLETT IS AROUND

private\inet\mshtml\src\other\moniker\resprot.cxx:
// <HACK>
goto EndHack;
// </HACK>

private\inet\mshtml\src\site\layout\flowlyt.cxx:
// God, I hate this hack …

private\inet\wininet\urlcache\cachecfg.cxx:
// Dumb hack for back compat. *sigh*

private\inet\wininet\urlcache\filemgr.cxx:
// ACHTUNG!!! this is a special hack for IBM antivirus software

private\ispu\pkitrust\trustui\acuictl.cpp:
// HACK ALERT, believe it or not there is no way to get the height of the current
// HACK ON TOP OF HACK ALERT,

private\ntos\udfs\devctrl.c:
// Add the hack-o-ramma to fix formats.

private\shell\shdoc401\unicpp\sendto.cpp:
// Mondo hackitude-o-rama.

private\ntos\w32\ntcon\server\link.c:
// HUGE, HUGE hack-o-rama to get NTSD started on this process!

private\ntos\w32\ntuser\client\dlgmgr.c:
// HACK OF DEATH:

private\shell\lib\util.cpp:
// TERRIBLE HORRIBLE NO GOOD VERY BAD HACK

private\ntos\w32\ntuser\client\nt6\user.h:
* The magnitude of this hack compares favorably with that of the national debt.

While surprisingly informal, there are limits to how far the programmers go. There are no derogatory references to Microsoft or Windows themselves. Bill Gates is never mentioned. There are no racist or homophobic slurs. I saw only one drug reference.
private\shell\ext\tweakui\genthunk.c:
* CallProc32W is insane. It’s a variadic function that uses
* the pascal calling convention. (It probably makes more sense
* when you’re stoned.)


  • Hey! Before you go, read another post.

    • How To Make Your Computer Commit Suicide
    • LCD Televisions For $3.00. Yes, You Read That Right.
    • Permanent Method to Crack windows XP WGA
    • It’s OK To Wish Me A Merry Christmas
    • How To Fix The “Do You Want To Move Or Copy Files From This Zone?” Nag In Windows XP
    • Daylight-saving glitch threatens mini-Y2K
    • How To Get A Free Mouse Replacement From Microsoft

    • RSS Feed for Entries
    • Subscribe Via Email


    Share and Enjoy:
    • Digg
    • del.icio.us
    • Fark
    • Reddit
    • StumbleUpon
    • Technorati

    If you like this post, please


    This entry was posted on Wednesday, May 9th, 2007 at 4:54 pm and is filed under Funny Stuff, technobabble. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

    Leave a Reply
    Click here to cancel reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


    *
    To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
    Click to hear an audio file of the anti-spam word

    • Current Oil Price

    • What People Are Saying

      • Sex In A Red Ribbon (2)
        • Coal Miner's Granddaughter: We have the De Beers marketing machine to thank for our need to purchase diamonds as a...
        • Garrick: What amazes me is the extreme lengths to which the concept “sex sells” have been taken. I mean...
      • For Those Of You Who Like Beer (3)
        • Tareq: they are acting that way because they drank 6 pints of beer in an hour…..hmmmm
      • 2 Year Olds Are Such Fun! (6)
        • Efen: LOL…..very. very cute! Efens last blog post..Happy New Year………̷ 0;I hope
      • Auto Warranty Telemarketing Scum (9)
        • Bonnie: In response to “Anonymous…” do you live in Canada? I’m interested in making contact...
    • Search

    • Daily Haunts

      • Avitable
      • Canucklehead.ca
      • Confessions Of A Coal Miner’s Granddaughter
      • Funny Pictures
      • Living Laura
      • Miss Britt
      • Pointless-Drivel
      • Presenting The ShoeWhore
      • Shaping My Way
      • Simply Efen
      • SlickSumBich
      • The Blog Of Whall
      • The Junk Drawer
      • West Virginia Surf Report
    • Meta

      Entries (RSS)
      • Log in
      • WordPress
      • Mandigo theme

    • Humor-Blogs.com

      Ajax CommentLuv Enabled f490976c79a1da47ba5d693b50b6e8fe

    • Archives

      • January 2009
      • December 2008
      • November 2008
      • October 2008
      • September 2008
      • August 2008
      • July 2008
      • June 2008
      • May 2008
      • April 2008
      • March 2008
      • February 2008
      • January 2008
      • December 2007
      • November 2007
      • October 2007
      • September 2007
      • August 2007
      • July 2007
      • June 2007
      • May 2007
      • April 2007
      • March 2007
      • February 2007
      • January 2007
    Header taglines created by these honorary hillbillies:
    Canucklehead, Bucky,

    Powered by WordPress, Mandigo theme by tom.
    Entries (RSS) and Comments (RSS).