Fecha actual Mié Nov 21, 2018 12:25 am

Program to Turn Off the Monitor (monoff.exe)

Programas creados por nosotros.

Usuarios leyendo este tema: Ninguno

Program to Turn Off the Monitor (monoff.exe)

Notapor ~ » Sab May 27, 2017 8:17 pm


Español[Español] English[English]

Program to Turn Off the Monitor (monoff.exe)

ZIP ArcheFire_monoff-2017-05-25.zip

This x86 32-bit program only needs to make a single call to the WinAPI.
Código:
//Turn off monitor
///
 SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);



With raw values:
Code:
//Turn off monitor
///
 SendMessage(0x00000FFFF, 0x000000112, 0x00000F170, (LPARAM) 2);



In Assembly with raw values:
Code:
push dword 2
push dword 0x00000F170
push dword 0x000000112
push dword 0x00000FFFF
call dword[SendMessageA@USER32.DLL]

Unlike these other two applications for the same purpose:

http://gizmoware.net/monoff/ (97 Kilobytes)
http://www.columbia.edu/~jjm2190/projects/monoff.html (hasta 5 Megabytes con .NET)

... my version is open source, written in Assembly, is less than 5 Kilobytes in size and doesn't need .NET, only the basic WinAPI, so it should work even in an old 386 with 32-bit Window, even in machines with Windows 7 and later (8, 10, etc...).
Imagen
IP for hosts file (email udocproject@yahoo.com to get updates if website becomes offline):
Código: Seleccionar todo
190.150.9.244 archefire.org



See what I'm doing in real time:
Main Desktop 1
Main Desktop 2
Avatar de Usuario
~
Site Admin
 
Mensajes: 2838
Registrado: Sab Nov 10, 2012 1:04 pm

Volver a Programas

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 13 invitados


cron