- HKPD // performance data (WinNT/2K only)
-#if WINVER >= 0x0400
- ,
- HKCC, // current config (starting from Win95/NT 4.0)
- HKDD // dynamic data (Win95/98 only)
-#endif // Winver
-#endif // Win32/16
+ HKPD, // performance data (WinNT/2K only)
+ HKCC, // current config
+ HKDD, // dynamic data (Win95/98 only)
+ HKMAX
+ };
+
+ // access mode for the key
+ enum AccessMode
+ {
+ Read, // read-only
+ Write // read and write
+ };
+
+ // Different registry views supported under WOW64.
+ enum WOW64ViewMode
+ {
+ // 32 bit registry for 32 bit applications, 64 bit registry
+ // for 64 bit ones.
+ WOW64ViewMode_Default,
+
+ // Can be used in 64 bit apps to access 32 bit registry,
+ // has no effect (i.e. treated as default) in 32 bit apps.
+ WOW64ViewMode_32,
+
+ // Can be used in 32 bit apps to access 64 bit registry,
+ // has no effect (i.e. treated as default) in 64 bit apps.
+ WOW64ViewMode_64