IAppxManifestPackageDependency::GetName method

Gets the name of the package on which the current package has a dependency.

Syntax


HRESULT GetName(
  [out] LPWSTR *name
);

Parameters

name [out]

Type: LPWSTR*

The name of the package.

Return value

Type: HRESULT

If the method succeeds, it returns S_OK.

Remarks

The caller must free the memory allocated for name 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_IAppxManifestPackageDependency is defined as e4946b59-733e-43f0-a724-3bde4c1285a0

See also

IAppxManifestPackageDependency

 

 

Show: