Fonction ClosePackageInfo (appmodel.h)

Ferme une référence aux informations de package spécifiées.

Syntaxe

LONG ClosePackageInfo(
  [in] PACKAGE_INFO_REFERENCE packageInfoReference
);

Paramètres

[in] packageInfoReference

Type : PACKAGE_INFO_REFERENCE

Référence aux informations de package.

Valeur retournée

Type : LONG

Si la fonction réussit, elle retourne ERROR_SUCCESS. Sinon, la fonction retourne un code d’erreur.

Configuration requise

Condition requise Valeur
Client minimal pris en charge Windows 8 [applications de bureau uniquement]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau uniquement]
Plateforme cible Windows
En-tête appmodel.h
Bibliothèque Kernel32.lib
DLL Kernel32.dll

Voir aussi

OpenPackageInfoByFullName