共用方式為


CreateChild method

Creates a child.

Syntax

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

Parameters

  • pszName [in]
    Type: LPCOLESTR

    A pointer to a string that specifies the name of the child to create.

  • 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.