/* The constructor function gets the pointer of the WinNT thunk functions It will ASSERT() if Unix thunk protocol is not installed. */
EFI_STATUS EFIAPI DxeEmuPeCoffLibExtraActionConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
/* The constructor function gets the pointer of the WinNT thunk functions It will ASSERT() if Unix thunk protocol is not installed. */
EFI_STATUS EFIAPI DxeEmuPeCoffLibExtraActionConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
{
  EFI_HOB_GUID_TYPE  *GuidHob;
  GuidHob = GetFirstGuidHob (&gEmuThunkProtocolGuid);
  ASSERT (GuidHob != NULL);
  mThunk = (EMU_THUNK_PROTOCOL *)(*(UINTN *)(GET_GUID_HOB_DATA (GuidHob)));
  ASSERT (mThunk != NULL);
  return EFI_SUCCESS;
}