Compartir a través de


RemoveEntry method

Removes a specified entry.

Syntax

HRESULT retVal = object.RemoveEntry(pszName, dwFlags);

Parameters

  • pszName [in]
    Type: LPCOLESTR

    A pointer to a string that specifies the name of the entry to remove.

  • dwFlags [in]
    Type: DWORD

    The CSDB_REMOVE_FLAGS enumeration value.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.