@Joshue: Yes, that would be an exception. It's well-documented where HKEY_LOCAL_MACHINE comes from and that it's safe to use, unlike (HKL)0x04090409. Note that I said "data type" (as in HANDLE, HKEY, HGLOBAL, etc.), and HKEY_LOCAL_MACHINE and friends are objects rather than types.
↧