/* This code gets the pointer to the next variable header. */
VARIABLE_HEADER* GetNextVariablePtr(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
/* This code gets the pointer to the next variable header. */
VARIABLE_HEADER* GetNextVariablePtr(IN VARIABLE_HEADER *Variable, IN BOOLEAN AuthFormat)
{
  UINTN  Value;
  Value  =  (UINTN)GetVariableDataPtr (Variable, AuthFormat);
  Value += DataSizeOfVariable (Variable, AuthFormat);
  Value += GET_PAD_SIZE (DataSizeOfVariable (Variable, AuthFormat));
  return (VARIABLE_HEADER *)HEADER_ALIGN (Value);
}