/* Constructor for RPN event when a missing GUIDED_SECTION_EXTRACTION_PROTOCOL appears... */
VOID CreateGuidedExtractionRpnEvent(IN CORE_SECTION_STREAM_NODE *ParentStream, IN CORE_SECTION_CHILD_NODE *ChildNode)
/* Constructor for RPN event when a missing GUIDED_SECTION_EXTRACTION_PROTOCOL appears... */
VOID CreateGuidedExtractionRpnEvent(IN CORE_SECTION_STREAM_NODE *ParentStream, IN CORE_SECTION_CHILD_NODE *ChildNode)
{
  RPN_EVENT_CONTEXT  *Context;
  Context = AllocatePool (sizeof (RPN_EVENT_CONTEXT));
  ASSERT (Context != NULL);
  Context->ChildNode    = ChildNode;
  Context->ParentStream = ParentStream;
  Context->ChildNode->Event = EfiCreateProtocolNotifyEvent (
                                Context->ChildNode->EncapsulationGuid,
                                TPL_NOTIFY,
                                NotifyGuidedExtraction,
                                Context,
                                &Context->Registration
                                );
}