ICcConnection::RegistyDeleteValue (Windows Embedded CE 6.0)
1/5/2010
This method deletes registry value.
In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.
Syntax
HRESULT RegistryDeleteValue(
LONG hKey,
LPCOLESTR lpSubKey,
LPCOLESTR lpValueName
);
Parameters
- hKey
[in] Base key where the registry value to delete exists.
- lpSubKey
[in] Subkey where the registry value to delete exists.
- lpValueName
[in] Name of the value to delete.
Return Value
If the method fails, it returns an HRESULT error code.
If the method succeeds, it returns one of the following:
Value | Description |
---|---|
S_OK |
Indicates the method call was successful. |
E_INVALIDARG |
Indicates invalid arguments. |
Requirements
Header | ccconnection.h |
Windows | Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro |