#ifndef _NTSXS_H
// begin_private
/**
* Receives activation-context destruction (1), zombification (2), or use (3) notifications.
* NotificationContext is the caller-supplied context from RtlCreateActivationContext.
* DisableThisNotification initially points to FALSE. Setting it to TRUE suppresses subsequent
* USED notifications. The destruction and zombification paths do not use its returned value.
*/
typedef _Function_class_(ACTIVATION_CONTEXT_NOTIFY_ROUTINE)
VOID NTAPI ACTIVATION_CONTEXT_NOTIFY_ROUTINE(
_In_ ULONG NotificationType, // ACTIVATION_CONTEXT_NOTIFICATION_*
_In_ PACTIVATION_CONTEXT ActivationContext,
_In_ PACTIVATION_CONTEXT_DATA ActivationContextData,
_In_opt_ PVOID NotificationContext,
_In_opt_ PVOID NotificationData,
_Inout_ PBOOLEAN DisableThisNotification
);
View code on GitHubNo description available.