Compartilhar via


EnumPackages method

Creates a package manager enumerator.

Syntax

HRESULT retVal = object.EnumPackages(pszNamespace, ppEnum);

Parameters

  • pszNamespace [in]
    Type: LPCOLESTR

    A pointer to a string that specifies the namespace of the package.

  • ppEnum [out]
    Type: IEnumJavaPackage

    The address of an IEnumJavaPackage interface pointer.

Return value

Type: HRESULT

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