c++ hwnd

  1. X

    C++ - Power Off Monitor | Turn Off Monitor

    Not: Bu seferki kod alıntıdır. Monitorunuzu bu şekilde kapatabilirsiniz xD #include <Windows.h> int main() { SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM)2); Sleep(5000); SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM)-1); return 0...

Theme editor

Top Bottom