NbtReadSingleParameter(
  IN  HANDLE ParametersHandle,
  IN  PWCHAR ValueName,
  IN  ULONG DefaultValue,
  IN  ULONG MinimumValue
  );

Routine Description:

    This routine is called by Nbt to read a single parameter
    from the registry. If the parameter is found it is stored
    in Data.

Arguments:

    ParametersHandle - A pointer to the open registry.

    ValueName - The name of the value to search for.

    DefaultValue - The default value.

Return Value:

    The value to use; will be the default if the value is not
    found or is not in the correct range.