Click or drag to resize

RegistryHelperDeleteRegKeyEx_Wrapper Method

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

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

Parameters

hkey
Type: SystemUIntPtr
The predefined or opened registry key (e.g. HKEY_LOCAL_MACHINE).
subKey
Type: SystemString
The name of the key relative to HKEY.
samDesired
Type: MFiles.VAF.CommonRegistryHelperRegSAM
RegSAM samDesired.
reserved
Type: SystemUInt32
DWORD reserved.

Return Value

Type: Int32
Result code.
See Also