Here's a classic novice error.
You want to call a function, say
GetBinaryType.
What should you write for those question marks?
Well, the prototype says that the second parameter is an LPDWORD,
so let's pass it one.
Hm, but that crashes. Well, maybe we can pass it an LPDWORD this way:
Hm, that still crashes. Oh wait, it's because ...