Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Defines options that can be applied when creating a package dependency by using the TryCreatePackageDependency function.
Syntax
typedef enum CreatePackageDependencyOptions {
CreatePackageDependencyOptions_None,
CreatePackageDependencyOptions_DoNotVerifyDependencyResolution,
CreatePackageDependencyOptions_ScopeIsSystem
} ;
Constants
CreatePackageDependencyOptions_NoneNo options are applied. |
CreatePackageDependencyOptions_DoNotVerifyDependencyResolutionDisables dependency resolution when pinning a package dependency. This is useful for installers running as user contexts other than the target user (for example, installers running as LocalSystem). |
CreatePackageDependencyOptions_ScopeIsSystemDefines the package dependency for the system, accessible to all users (by default, the package dependency is defined for a specific user). This option requires the caller has administrative privileges. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 11 (introduced in 10.0.22000.0) |
| Header | appmodel.h |