摘要:
通过调用Win32 API实现。publicclassUser32API{privatestaticHashtableprocessWnd=null;publicdelegateboolWNDENUMPROC(IntPtrhwnd,uintlParam);staticUser32API(){if(processWnd==null){processWnd=newHashtable();}}[DllImport("user32.dll",EntryPoint="EnumWindows",SetLastError=true)]publicstaticexter 阅读全文
posted @ 2012-02-21 17:13 未页 阅读(762) 评论(0) 推荐(2) 编辑