GetPackage method

Gets a specified package.

Syntax

HRESULT retVal = object.GetPackage(pszPackageName, pszNamespace, ppPackage);

Parameters

  • pszPackageName [in]
    Type: LPCOLESTR

    A pointer to a string that specifies the package name.

  • pszNamespace [in]
    Type: LPCOLESTR

    A pointer to a string that specifies the namespace.

  • ppPackage [out]
    Type: [IJavaPackage](bb735469(v=vs.85).md)

    The address of an IJavaPackage interface pointer.

Return value

Type: HRESULT

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