Process32Next

apshot apshot apshot

Process32Next Function
Retrieves information about the next process recorded in a system snapshot.
Process32Next是一個進程獲取函式,當我們利用函式CreateToolhelp32Snapshot()獲得當前運行進程的快照後,我們可以利用Process32Next函式來獲得下一個進程的句柄.其原型為
BOOL WINAPI Process32Next(
__in HANDLE hSnapshot,
__out LPPROCESSENTRY32 lppe
);
Parameters
hSnapshot
A handle to the snapshot returned from a previous call to the CreateToolhelp32Snapshot function.
lppe
A pointer to a PROCESSENTRY32 structure.

相關詞條

熱門詞條

聯絡我們