OpenProcess(3w)

OpenProcess3w

Usage

HANDLE OpenProcess
(
DWORD access,
BOOL inherit,
DWORD id
)

Overview

Opens a handle to a process.

Params

access [In] Desired access rights assigned to the returned handle.

inherit [In] Determines whether or not child processes will inherit the handle.

id [In] Process identifier of the process to get a handle to.

Returns

Success: Valid handle to the specified process.

Failure: NULL, check GetLastError(3w).

Implementation

Declared in "winbase.h".

Implemented in "dlls/kernel32/process.c".

Debug channel "process".

Releases

6 releases since Debian 2.0 (Hamm); the text changed 5 times.

  1. 2.0
  2. 2.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.