/* Internal worker function that sets that active periodic SMI handler based on the DispatchHandle that was returned when the periodic SMI handler was enabled with  */
PERIODIC_SMI_LIBRARY_HANDLER_CONTEXT* SetActivePeriodicSmiLibraryHandler(IN EFI_HANDLE DispatchHandle OPTIONAL)
/* Internal worker function that sets that active periodic SMI handler based on the DispatchHandle that was returned when the periodic SMI handler was enabled with  */
PERIODIC_SMI_LIBRARY_HANDLER_CONTEXT* SetActivePeriodicSmiLibraryHandler(IN EFI_HANDLE DispatchHandle OPTIONAL)
{
  if (DispatchHandle == NULL) {
    gActivePeriodicSmiLibraryHandler = NULL;
  } else {
    gActivePeriodicSmiLibraryHandler = LookupPeriodicSmiLibraryHandler (DispatchHandle);
  }
  return gActivePeriodicSmiLibraryHandler;
}