Download Latest Version Installer Brightless v0.9.8.7z (1.6 MB)
Email in envelope

Get an email when there's a new version of Brightless

Home / brightlib
Name Modified Size InfoDownloads / Week
Parent folder
EN 2025-07-17
ES 2020-05-11
README.txt 2025-07-17 1.4 kB
use_brightlib.cpp 2020-05-10 830 Bytes
Totals: 4 Items   2.3 kB 0
ENGLSIH: 
	Dynamic link library to control the brightness of screen.
	Max brightness  	100/100
	Default brightness 	 33/100
	Min brightness		  0/100
	
	This library is made to get a simple and fast controll, not to replace another DLL or any of their functions.
	
	cpp code: Using brightlib.dll to reset bright to default value.

ESPAÑOL:
	Biblioteca de enlace dinámico para controlar el brillo de la pantalla.
	Máximo brillo		100/100
	Brillo por defecto	 33/100
	Mínimo brillo		  0/100

	Esta librería está hecha para tener un control rápido y simple, no para reemplazar algun otro DLL o sus funciones.
	
	código cpp: Usando para resetear el brillo a su valor por defecto.

//Example code with command line to use brightlib.
//Código de ejemplo con linea de comandos para usar brightlib.

#include <Windows.h>
#include <cstdlib>
#define DLL_EXPORT __declspec(dllimport)
int main (int arc,char* argv[])
{
	HINSTANCE Dll=LoadLibrary("brightlib.dll");
	typedef void* (*bright) (int);
	int value=0, received=((argv[1]) ? atoi(argv[1]) : 33); //if argv[1], received=atoi(argv[1]); else received=33;
	if(Dll)
	{
		bright brightcontrol=(bright)::GetProcAddress(Dll,"brightcontrol");
        value=(((received > 0) && (received < 101)) ? received : 33);
		if(brightcontrol)
			brightcontrol(value);//33 default brightness //works min 0 | max 100
		FreeLibrary(Dll);
	}
	return 0;
};
Source: README.txt, updated 2025-07-17