汇编实现关显示器
2020-11-03
来源:易榕旅网
汇编关掉显示器汇编关掉显示器 .486 .model flat, stdcall option casemap :none ; case sensitive include D:\\Language\\masm32\\include\\windows.inc include D:\\Language\\masm32\\include\2.inc include D:\\Language\\masm32\\include\\kernel32.inc includelib D:\\Language\\masm32\\lib\2.lib includelib D:\\Language\\masm32\\lib\\kernel32.lib .code start: invoke Sleep, 500 invoke SendMessage, HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, 2 invoke ExitProcess, 0 end start 编译后这个程序只有1K大小。