OleAccGetProcessHandleFromHwnd Method

Retrieves a process handle from a window handle.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("OleAcc.dll", ExactSpelling = true)]
public static IntPtr GetProcessHandleFromHwnd(
	IntPtr hwnd
)

Parameters

hwnd  IntPtr

[Missing <param name="hwnd"/> documentation for "M:DevCase.Win32.NativeMethods.OleAcc.GetProcessHandleFromHwnd(System.IntPtr)"]

Return Value

IntPtr
If successful, returns the handle of the process that owns the window.

If not successful, returns Zero.

Remarks

See Also