The ClusterRegEnumKey function enumerates the subkeys of an open cluster database key.
LONG WINAPI ClusterRegEnumKey(
HKEY hKey,
DWORD dwIndex,
LPWSTR lpszName,
LPDWORD lpcchName,
PFILETIME lpftLastWriteTime
);
Because subkeys are not ordered, any new subkey will have an arbitrary index. This means that ClusterRegEnumKey may return subkeys in any order.
If the operation was unsuccessful due to a problem other than not having any more subkeys to return, ClusterRegEnumKey returns a Win32 error value.
The ClusterRegEnumKey function retrieves information about one subkey each time it is called.
Because ClusterRegEnumKey enumerates keys from the root of the database on the node on which the application is running when hKey is set to NULL, ClusterRegEnumKey fails if the node is not part of a cluster.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.