RtlCreateActivationContext - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

// private
/**
 * The RtlCreateActivationContext routine creates an activation context from the supplied activation context data.
 *
 * \param Flags Reserved; must be zero.
 * \param ActivationContextData The activation context data used to build the context.
 * \param ExtraBytes An optional number of extra bytes to allocate with the context.
 * \param NotificationRoutine An optional routine that receives activation context notifications.
 * \param NotificationContext An optional context value passed to the notification routine.
 * \param ActivationContext Receives the newly created activation context.
 * \return NTSTATUS Successful or errant status.
 */
NTSYSAPI
NTSTATUS
NTAPI
RtlCreateActivationContext(
    _Reserved_ ULONG Flags,
    _In_ PACTIVATION_CONTEXT_DATA ActivationContextData,
    _In_opt_ ULONG ExtraBytes,
    _In_opt_ PACTIVATION_CONTEXT_NOTIFY_ROUTINE NotificationRoutine,
    _In_opt_ PVOID NotificationContext,
    _Out_ PACTIVATION_CONTEXT *ActivationContext
    );

#endif

View code on GitHub

NtDoc

No description available.