Skip to content

Latest commit

 

History

History
113 lines (89 loc) · 2.6 KB

nf-appmodel-openpackageinfobyfullname.md

File metadata and controls

113 lines (89 loc) · 2.6 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:appmodel.OpenPackageInfoByFullName
OpenPackageInfoByFullName function (appmodel.h)
Opens the package information of the specified package.
OpenPackageInfoByFullName
OpenPackageInfoByFullName function [App packaging and management]
appmodel/OpenPackageInfoByFullName
appxpkg.openpackageinfobyfullname
appxpkg\openpackageinfobyfullname.htm
appxpkg
9ECFC757-1CB3-43A1-BA45-9AF72CAB240E
12/05/2018
OpenPackageInfoByFullName, OpenPackageInfoByFullName function [App packaging and management], appmodel/OpenPackageInfoByFullName, appxpkg.openpackageinfobyfullname
appmodel.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Kernel32.lib
Kernel32.dll
Windows
19H1
OpenPackageInfoByFullName
appmodel/OpenPackageInfoByFullName
c++
APIRef
kbSyntax
DllExport
Kernel32.dll
API-MS-Win-AppModel-Runtime-l1-1-0.dll
kernel32legacy.dll
Ext-MS-Win-kernel32-package-l1-1-0.dll
Kernel.AppCore.dll
API-MS-Win-AppModel-RunTime-l1-1-1.dll
Ext-MS-Win-Kernel32-package-l1-1-2.dll
ext-ms-win-kernel32-package-l1-1-1.dll
API-MS-Win-AppModel-Runtime-L1-1-2.dll
OpenPackageInfoByFullName

OpenPackageInfoByFullName function

-description

Opens the package information of the specified package.

-parameters

-param packageFullName [in]

Type: PCWSTR

The full name of the package.

-param reserved

Type: const UINT32

Reserved; must be 0.

-param packageInfoReference [out]

Type: PACKAGE_INFO_REFERENCE*

A reference to package information.

-returns

Type: LONG

If the function succeeds it returns ERROR_SUCCESS. Otherwise, the function returns an error code. The possible error codes include the following.

Return code Description
ERROR_NOT_FOUND
The package is not installed for the current user.

-see-also

ClosePackageInfo

GetPackageInfo