WindowsAppRuntime_InstallLicensesInPackage function (windowsappruntime-licensing.h)
Install licenses (if any) in a Windows App SDK runtime's framework package. This function installs the licenses (if any) in the specified Windows App SDK runtime's framework package.
Note
Appropriate licenses must be installed in order for MddBootstrapInitialize to succeed.
This function is primarily for testing purposes. We recommend that you use WindowsAppRuntime_InstallLicenses instead.
Syntax
HRESULT WindowsAppRuntime_InstallLicensesInPackage(
PCWSTR frameworkPackageFullName
) noexcept;
Parameters
frameworkPackageFullName
Type: PCWSTR
The path to the Windows App SDK runtime's framework package.
Return value
Type: HRESULT
If the function succeeds it returns ERROR_SUCCESS. Otherwise, the function returns an error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 (with Windows App SDK 1.0 or later) |
Header | windowsappruntime-licensing.h |