在窗口中放置两个按扭名为command1和command2,将下面的代码放到程序中
Private Declare Function GetVersionEx Lib "kernel32" Alias "GetVersionExA" (lpVersionInformation As OSVERSIONINFO) As LongPrivate Type OSVERSIONINFOdwOSVersi...
Android中通过各种Lock锁对电源进行控制:
Flag ValueCPUScreenKeyboard
PARTIAL_WAKE_LOCK
On*
Off
Off
SCREEN_DIM_WAKE_LOCK
On
Dim
Off
SCREEN_BRIGHT_WAKE_LOCK
On
Bright
Off
FULL_WAKE_LOCK
On
Bright
Bright
private static Po...