OpenProcess(3w)

NAME

OpenProcess (KERNEL32.@)

SYNOPSIS

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

DESCRIPTION

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

Defined in "winbase.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/kernel32/process.c".

Debug channel "process".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout