AppPolicyProcessTerminationMethod enumeration (appmodel.h)

The AppPolicyProcessTerminationMethod enumeration indicates the method used to end a process.

Syntax

typedef enum AppPolicyProcessTerminationMethod {
  AppPolicyProcessTerminationMethod_ExitProcess,
  AppPolicyProcessTerminationMethod_TerminateProcess
} ;

Constants

 
AppPolicyProcessTerminationMethod_ExitProcess
Allows DLLs to execute code at shutdown. This value is expected for a desktop application, or for a Desktop Bridge application.
AppPolicyProcessTerminationMethod_TerminateProcess
Immediately ends the process. This value is expected for a UWP app.

Requirements

Requirement Value
Header appmodel.h