Compartilhar via


GetPackageName method

Gets the package name.

Syntax

HRESULT retVal = object.GetPackageName(pbstrName);

Parameters

  • pbstrName [out]
    Type: BSTR

    A pointer to the package name.

Return value

Type: HRESULT

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