Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines constants that specify options for bootstrapper initialization with MddBootstrapInitialize2.
Syntax
typedef enum MddBootstrapInitializeOptions {
MddBootstrapInitializeOptions_None,
MddBootstrapInitializeOptions_OnError_DebugBreak,
MddBootstrapInitializeOptions_OnError_DebugBreak_IfDebuggerAttached,
MddBootstrapInitializeOptions_OnError_FailFast,
MddBootstrapInitializeOptions_OnNoMatch_ShowUI,
MddBootstrapInitializeOptions_OnPackageIdentity_NOOP
} ;
Constants
MddBootstrapInitializeOptions_None Specfies no options enabled. |
MddBootstrapInitializeOptions_OnError_DebugBreak Specifies that if the call is not successful then call DebugBreak() . |
MddBootstrapInitializeOptions_OnError_DebugBreak_IfDebuggerAttached Specifies that if the call is not successful then call DebugBreak() if a debugger is attached to the process. |
MddBootstrapInitializeOptions_OnError_FailFast Specifies that if the call is not successful then perform a fail-fast. |
MddBootstrapInitializeOptions_OnNoMatch_ShowUI Specifies that if a compatible Windows App Runtime Framework package isn't found then show UI. |
MddBootstrapInitializeOptions_OnPackageIdentity_NOOP Specifies to do nothing (don't error) if the process has package identity (packaged apps have identity; including packaged apps with external location). The default behavior is for the call to error. This option allows you to have the same compiled binary serve as both a packaged and an unpackaged app. The calls to Bootstrapper APIs in the packaged binary will simply be a no-op. |
Remarks
Also see Use the Windows App SDK runtime for apps packaged with external location or unpackaged.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1809 (with Windows App SDK 1.0 or later) |
Header | mddbootstrap.h |