
windows系统
文章平均质量分 75
_xw_
这个作者很懒,什么都没留下…
展开
-
windows 控制台程序 响应 Ctrl+C
#include #include BOOL CtrlHandler( DWORD fdwCtrlType ) { switch( fdwCtrlType ) { // Handle the CTRL-C signal. case CTRL_C_EVENT: printf( "Ctrl-C event\n\n" ); Beep转载 2014-11-09 16:25:27 · 4808 阅读 · 0 评论 -
windows 压缩与解压缩
#include #include #include void wmain(_In_ int argc, _In_ WCHAR *argv[]) { COMPRESSOR_HANDLE Compressor = NULL; PBYTE CompressedBuffer = NULL; PBYTE InputBuffer转载 2014-11-09 17:18:14 · 1725 阅读 · 0 评论 -
windows重启系统
下面代码演示使用InitiateSystemShutdown函数来重启本地系统。翻译 2014-11-08 22:55:46 · 1325 阅读 · 0 评论