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.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/process.c". source.winehq.org/source/dlls/kernel32/process.c

Debug channel "process".


Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.