From 4ca53d492ac53ef3ae9d6668e68fc9828fd2651e Mon Sep 17 00:00:00 2001 From: Howard Kapustein Date: Tue, 20 Aug 2024 18:02:06 -0700 Subject: [PATCH] New PackageDeploymentManager methods not tagged with new v2 contract (#4663) * New PackageDeploymentManager methods not tagged with new v2 contract * Incorporated feedback --- dev/PackageManager/API/PackageManager.idl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev/PackageManager/API/PackageManager.idl b/dev/PackageManager/API/PackageManager.idl index a5b88396a..1a2a0e27b 100644 --- a/dev/PackageManager/API/PackageManager.idl +++ b/dev/PackageManager/API/PackageManager.idl @@ -294,6 +294,7 @@ namespace Microsoft.Windows.Management.Deployment //------------------------------------------------------------- // IsPackageDeploymentFeatureSupported + [contract(PackageDeploymentContract, 2)] static Boolean IsPackageDeploymentFeatureSupported(PackageDeploymentFeature feature); //------------------------------------------------------------- @@ -470,9 +471,13 @@ namespace Microsoft.Windows.Management.Deployment //------------------------------------------------------------- // IsRegistrationPending - Boolean IsPackageRegistrationPending(String packageFullName); + /// @warning The parameter is should be "packageFullName" but can't due to http://task.ms/53280356. + /// Consider the current (wrong) parameter name deprecated until vFuture (2.0) when we can change to the new (right) parameter name. + Boolean IsPackageRegistrationPending(String packageFamilyName); - Boolean IsPackageRegistrationPendingForUser(String userSecurityId, String packageFullName); + /// @warning The parameter is should be "packageFullName" but can't due to http://task.ms/53280356. + /// Consider the current (wrong) parameter name deprecated until vFuture (2.0) when we can change to the new (right) parameter name. + Boolean IsPackageRegistrationPendingForUser(String userSecurityId, String packageFamilyName); } [contract(PackageDeploymentContract, 1)]