2013年3月13日
摘要: 首先要导入对命名空间usingSystem.Runtime.InteropServices;的引用[StructLayout(LayoutKind.Sequential, Pack = 1)]internalstructTokPriv1Luid{publicintCount;publiclongLuid;publicintAttr;}[DllImport("kernel32.dll", ExactSpelling =true)]internalstaticexternIntPtrGetCurrentProcess();[DllImport("advapi32.dl 阅读全文
posted @ 2013-03-13 10:11 swxj 阅读(275) 评论(0) 推荐(0)