GetPackageName method
Gets the package name.
Syntax
HRESULT retVal = object.GetPackageName(pbstrName);
Parameters
pbstrName [out]
Type: BSTRA pointer to the package name.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.