- // return TRUE if the key exists
- bool Exists() const;
- // return TRUE if the key is opened
- bool IsOpened() const { return m_hKey != 0; }
+ // return true if the key exists
+ bool Exists() const;
+ // get the info about key (any number of these pointers may be NULL)
+
+#if defined( __GNUWIN32__) && !defined(wxUSE_NORLANDER_HEADERS)
+ bool GetKeyInfo(size_t *pnSubKeys, // number of subkeys
+ size_t *pnMaxKeyLen, // max len of subkey name
+ size_t *pnValues, // number of values
+ size_t *pnMaxValueLen) const;
+#else
+ bool GetKeyInfo(ulong *pnSubKeys, // number of subkeys
+ ulong *pnMaxKeyLen, // max len of subkey name
+ ulong *pnValues, // number of values
+ ulong *pnMaxValueLen) const;
+#endif
+ // return true if the key is opened
+ bool IsOpened() const { return m_hKey != 0; }