Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Requirements

Header: atlbase.h

Show: