IAppxManifestPackageId::GetResourceId method
Gets the package resource identifier as defined in the manifest.
Syntax
HRESULT GetResourceId( [out, retval] LPWSTR *resourceId );
Parameters
- resourceId [out, retval]
-
Type: LPWSTR*
The resource identifier of the package.
Return value
Type: HRESULT
If the method succeeds, it returns S_OK.
Remarks
The resource identifier is specified using the ResourceId attribute of the Identity element in the package manifest.
If no resource identifier is defined in the manifest, this method returns a null string.
The caller must free the memory allocated for resourceId using the CoTaskMemFree function.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IAppxManifestPackageId is defined as 283ce2d7-7153-4a91-9649-7a0f7240945f |
See also