For years, I have told the completely apocryphal story of how the Zw prefix
came about. It was an all-day meeting to decide the various abbreviations
for the kernel component methods. They got prefixes like Io, Ob, Nt, Ke,
Ki, Mm, etc., but it was now 5pm and everyone was tired. “So what do we
call this class of functions?” and nobody wanted to say anything, they just
wanted to get out of that meeting and go home. “Hell, Zach Weinstein is
going to write that code, so let’s call it Zw!” said someone, and they
adjourned the meeting.
I’ve been in those kinds of meetings, I’ve run those kinds of meetings, and
I’ve made those kinds of decisions. One of our systems once had a module
called DICTOAN (“Dammit, I can’t think of a name!” And yes, I was tired,
and gave it that name, and wrote it).
It’s probably at least as credible as the actual reason. And it amuses
people, who at that point need some humor.
joe
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Friday, January 21, 2011 6:22 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] win32k internals
- Most internal functions (e.g. xxxCreateThreadInfo) start by “xxx”
prefix, are MS developers
perverted? (as stated by Alex Ionescu) or what’s the secret of other
prefixes “yyy-”, “zzz-”? I found in
one Alex’s blog entry from '08: "I’ve also finally found out why Win32k
functions are called “xxx” and
“yyy”. Now I just need to find out about “zzz”
I think these functions are the same as in Windows 1.x in year 1985.
USER is a very conservative piece of code.
–
Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
–
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.