Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

OpenPackageInfoByFullName function

Opens the package information of the specified package.

Syntax


LONG WINAPI OpenPackageInfoByFullName(
  _In_             PCWSTR                 packageFullName,
  _Reserved_ const UINT32                 reserved,
  _Out_            PACKAGE_INFO_REFERENCE *packageInfoReference
);

Parameters

packageFullName [in]

Type: PCWSTR

The full name of the package.

reserved

Type: const UINT32

Reserved; must be 0.

packageInfoReference [out]

Type: PACKAGE_INFO_REFERENCE*

A reference to package information.

Return value

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 codeDescription
ERROR_NOT_FOUND

The package is not installed for the current user.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppModel.h

Library

Kernel32.lib

DLL

Kernel32.dll

See also

ClosePackageInfo
GetPackageInfo

 

 

Show:
© 2017 Microsoft