PROCESS_INFORMATION
This structure is filled in by the CreateProcess function with information about a newly created process and its primary thread.
typedef struct _PROCESS_INFORMATION {
HANDLE hProcess;
HANDLE hThread;
DWORD dwProcessId;
DWORD dwThreadId;
} PROCESS_INFORMATION;
Members
-
hProcess
-
Returns a handle to the newly created process.
The handle is used to specify the process in all functions that perform operations on the process object.
hThread
-
Returns a handle to the primary thread of the newly created process.
The handle is used to specify the thread in all functions that perform operations on the thread object.
dwProcessId
-
Returns a global process identifier that can be used to identify a process.
The value is valid from the time the process is created until the time the process is terminated.
dwThreadId
-
Returns a global thread identifier that can be used to identify a thread.
The value is valid from the time the thread is created until the time the thread is terminated.
Requirements
OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
本文详细介绍了Windows操作系统中PROCESS_INFORMATION结构的各个成员变量及其用途。此结构由CreateProcess函数填充,用于返回新创建进程及其主线程的相关句柄和标识符。
1067

被折叠的 条评论
为什么被折叠?



