The CreateFile function creates or opens the following objects and returns a handle that can be used to accessthe object:filespipesmailslotscommunications resourcesdisk devices(Windows NT only)consolesdirectories(open only)CreateFile函数创建或打开下列对象,并返回一个可以用来访问这些对象的句柄。文件pipes邮槽通信资源磁盘驱动器(仅适用于windowsNT)控制台 Read More
posted @ 2014-02-08 17:48 私念之泪 Views(233) Comments(0) Diggs(0) Edit
CreateToolhelp32SnapshotCreateToolhelp32Snapshot函数为指定的进程、进程使用的堆[HEAP]、模块[MODULE]、线程[THREAD])建立一个快照[snapshot]。 HANDLE WINAPI CreateToolhelp32Snapshot( DWORD dwFlags, //用来指定“快照”中需要返回的对象,可以是TH32CS_SNAPPROCESS等 DWORD th32ProcessID //一个进程ID号,用来指定要获取哪一个进程的快照,当获取系统进程列表或获取当前进程快照时可以设为0 ); 参数: dwFlags ... Read More
posted @ 2014-02-08 15:53 私念之泪 Views(1291) Comments(0) Diggs(0) Edit