RegistryHelperDeleteRegKeyEx_Wrapper Method

Deletes the registry key. Deals with missing implementation on pre-XP SP2 systems. The key must not have subkeys.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static int DeleteRegKeyEx_Wrapper(
	UIntPtr hkey,
	string subKey,
	RegistryHelperRegSAM samDesired,
	uint reserved
)

Parameters

hkey  UIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
subKey  String
The name of the key relative to HKEY.
samDesired  RegistryHelperRegSAM
RegSAM samDesired.
reserved  UInt32
DWORD reserved.

Return Value

Int32
Result code.

See Also