DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION top-level constant

int const DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION

Indicates how the activation context is to be deactivated.

If this value is set and the cookie specified in the ulCookie parameter is in the top frame of the activation stack, the function returns an ERROR_INVALID_PARAMETER error code. Call GetLastError to obtain this code.

If this value is set and the cookie is not on the activation stack, a STATUS_SXS_INVALID_DEACTIVATION exception will be thrown.

If this value is set and the cookie is in a lower frame of the activation stack, all of the frames down to and including the frame the cookie is in is popped from the stack.

Implementation

const DEACTIVATE_ACTCTX_FLAG_FORCE_EARLY_DEACTIVATION = 1;