IJavaPackageManager::GetPackage Method

Gets a specified package.

Syntax

HRESULT GetPackage(      
    LPCOLESTR pszPackageName,
    LPCOLESTR pszNamespace,
    IJavaPackage **ppPackage
);

Parameters

  • pszPackageName
    [in] A pointer to a string that specifies the package name.
  • pszNamespace
    [in] A pointer to a string that specifies the namespace.
  • ppPackage
    [out] The address of an IJavaPackage interface pointer.

Return Value

Returns S_OK if successful, or an error value otherwise.