共用方式為


CreateEntry method

Creates a database entry.

Syntax

HRESULT retVal = object.CreateEntry(pszName, ppEntry);

Parameters

  • pszName [in]
    Type: LPCOLESTR

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

  • ppEntry [out]
    Type: ICodeStoreDBEntry

    The address of an ICodeStoreDBEntry interface pointer.

Return value

Type: HRESULT

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