RegistryHelperEnumSubkeyByIndex Method

Enumerates a sub-key of the given key specified by index.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static string EnumSubkeyByIndex(
	UIntPtr hkey,
	ref uint dwIndex,
	out bool noMoreItemsOut
)

Parameters

hkey  UIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
dwIndex  UInt32
Specifies sub-key index to enumerate. This is incremented here.
noMoreItemsOut  Boolean
Specifies the status of ptszName and the enumeration. - If this is true the caller shouldn't call EnumKeyByIndex anymore and cannot use ptszName.

Return Value

String
Returns the sub-key name.

See Also