/* Routine to get the next Handle, when you are searching for all handles. */
IHANDLE* MmGetNextLocateAllHandles(IN OUT LOCATE_POSITION *Position, OUT VOID **Interface)
/* Routine to get the next Handle, when you are searching for all handles. */
IHANDLE* MmGetNextLocateAllHandles(IN OUT LOCATE_POSITION *Position, OUT VOID **Interface)
{
  IHANDLE  *Handle;
  Position->Position = Position->Position->ForwardLink;
  Handle     = NULL;
  *Interface = NULL;
  if (Position->Position != &gHandleList) {
    Handle = CR (Position->Position, IHANDLE, AllHandles, EFI_HANDLE_SIGNATURE);
  }
  return Handle;
}