Share via


CRegKey::DeleteValue

LONG DeleteValue( LPCTSTR lpszValue );

Return Value

If successful, returns ERROR_SUCCESS; otherwise, an error value.

Parameters

lpszValue

[in] Specifies the value field to remove.

Remarks

Removes a value field from m_hKey.

CRegKey OverviewClass Members

See Also   CRegKey::DeleteSubKey