KernelBaseCompareObjectHandles Method
Compares two object handles to determine if they refer to the same underlying kernel object.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("KernelBase.dll", ExactSpelling := true>]
Public Shared Function CompareObjectHandles (
hFirst As IntPtr,
hSecond As IntPtr
) As Boolean
Dim hFirst As IntPtr
Dim hSecond As IntPtr
Dim returnValue As Boolean
returnValue = KernelBase.CompareObjectHandles(hFirst,
hSecond)
public:
[DllImportAttribute(L"KernelBase.dll", ExactSpelling = true)]
static bool CompareObjectHandles(
IntPtr hFirst,
IntPtr hSecond
)
[<DllImportAttribute("KernelBase.dll", ExactSpelling = true)>]
static member CompareObjectHandles :
hFirst : IntPtr *
hSecond : IntPtr -> bool
No code example is currently available or this language may not be supported.
- hFirst IntPtr
-
The first object handle to compare.
- hSecond IntPtr
-
The second object handle to compare.
Boolean
Returns
if the objects compared refer to the same underlying kernel object;
otherwise,
.