Win32 typedef'd types

Ok so I've been working my way slowly through learning some Win32. I'm just following MSDN right now, and after a quick search, it looks as if Microsoft has typedef'd every data type, for some reason. Is there some list of what they actually are somewhere?
On a related note, I hit a problem.

szWindowClass is undefined. Copied that from MSDN, cause I didn't know what to set lpszClassName as

On the description of it, it says it can either be a null terminated string, or an atom.
The hell does it mean by atom??
Last edited on
They're spelled out for you in WinDef.h. Also here is a pretty quick run down for the more common types as well as a pretty importent mention of the BOOL type: http://msdn.microsoft.com/en-us/library/ff381404(v=vs.85).aspx
There's a list of all the Windows data types here:

http://msdn.microsoft.com/en-us/library/aa383751%28VS.85%29.aspx
:O Thanks for the lists. That actually answered another question I had asked haha.

Still missing this szWindowClass though :/

Ah nevermind, the link to Atoms has been removed :(
Last edited on
Eh I actually just did this for

(LPCWSTR)"Test Class\0"

not giving me errors, and I don't know what szWindowClass is anyways.
Topic archived. No new replies allowed.