ClosePackageInfo function

Closes a reference to the specified package information.

Syntax

LONG ClosePackageInfo(
  PACKAGE_INFO_REFERENCE packageInfoReference
);

Parameters

packageInfoReference

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.

Requirements

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header appmodel.h
Library Kernel32.lib
DLL Kernel32.dll

See Also

OpenPackageInfoByFullName