Поделиться через


CRegKey::DeleteValue

Call this method to remove a value field from m_hKey.

LONG DeleteValue(
   LPCTSTR lpszValue 
) throw( );

Параметры

  • lpszValue
    Specifies the value field to remove.

Возвращаемое значение

If successful, returns ERROR_SUCCESS. If the method fails, the return value is a nonzero error code defined in WINERROR.H.

Требования

Header: atlbase.h

См. также

Основные понятия

CRegKey Class

CRegKey Members

CRegKey::DeleteSubKey