Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method deletes registry value.
HRESULT RegistryDeleteValue( LONG hKey, LPCOLESTRlpSubKey, LPCOLESTRlpValueName);
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 Values
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
OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcConnection.h.
Link Library: none.
See Also
Send Feedback on this topic to the authors