Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the name of the package on which the current package has a dependency.
Syntax
HRESULT GetName(
[out] LPWSTR *name
);
Parameters
[out] name
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | appxpackaging.h |