Export (0) Print
Expand All

IAppxManifestPackageId::GetPackageFamilyName method

Gets the package family name.

Syntax


HRESULT GetPackageFamilyName(
  [out, retval]  LPWSTR *packageFamilyName
);

Parameters

packageFamilyName [out, retval]

Type: LPWSTR*

The package family name.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK.

Remarks

The package family name is a case-sensitive string that can be used to uniquely identify the package. This string is a serialized form of the package ID, and it is suitable for naming objects such as files and directories. Because the package family name does not contain information about package version, architecture, or resources, it is useful when you need a version-independent reference to a package.

The caller must free the memory for packageFamilyName using the CoTaskMemFree function.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxManifestPackageId is defined as 283ce2d7-7153-4a91-9649-7a0f7240945f

See also

IAppxManifestPackageId

 

 

Show:
© 2014 Microsoft