MddPackageDependencyLifetimeKind enumeration (msixdynamicdependency.h)

Specifies values that indicate the type of artifact that is used to define the lifetime of a package dependency.

Syntax

typedef enum MddPackageDependencyLifetimeKind {
  Process,
  FilePath,
  RegistryKey
} ;

Constants

 
Process
The current process is the lifetime artifact. The package dependency is implicitly deleted when the process terminates.
FilePath
The lifetime artifact is an absolute filename or path. The package dependency is implicitly deleted when this is deleted.
RegistryKey
The lifetime artifact is a registry key in the format root\subkey, where root is one of the following: HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, HKEY_CLASSES_ROOT, or HKEY_USERS. The package dependency is implicitly deleted when this is deleted.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 (with Windows App SDK 1.0 or later)
Header msixdynamicdependency.h

See also

MddTryCreatePackageDependency