KernelBaseCompareObjectHandles Method

Compares two object handles to determine if they refer to the same underlying kernel object.

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("KernelBase.dll", ExactSpelling = true)]
public static bool CompareObjectHandles(
	IntPtr hFirst,
	IntPtr hSecond
)

Parameters

hFirst  IntPtr
The first object handle to compare.
hSecond  IntPtr
The second object handle to compare.

Return Value

Boolean
Returns if the objects compared refer to the same underlying kernel object; otherwise, .

Remarks

See Also