..msdn Add comment W32 Constants Translate this page
The OpenProcess function opens an existing process object.|
DWORD dwDesiredAccess, // access flag
BOOL bInheritHandle, // handle inheritance option
DWORD dwProcessId // process identifier
DECLARE INTEGER OpenProcess IN kernel32;
[in] Specifies the access to the process object.
[in] Specifies whether the returned handle can be inherited by a new process created by the current process.
[in] Specifies the identifier of the process to open.
|If the function succeeds, the return value is an open handle to the specified process. If the function fails, the return value is NULL.|
|MSDN: the handle returned by the OpenProcess function can be used in any function that requires a handle to a process, such as the wait functions, provided the appropriate access rights were requested. When you are finished with the handle, be sure to close it using the CloseHandle function.|
|Word Index links for the OpenProcess :|
|Translate this page:|
Visited in last 7 days: 38
|Created: ||2001-10-09 22:05:23|
|Modified: ||2001-11-26 16:03:45|