CompareObjectHandles function Null safety kernel32

int CompareObjectHandles(
  1. int hFirstObjectHandle,
  2. int hSecondObjectHandle
)

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

BOOL CompareObjectHandles(
  HANDLE hFirstObjectHandle,
  HANDLE hSecondObjectHandle
);

Implementation

int CompareObjectHandles(int hFirstObjectHandle, int hSecondObjectHandle) =>
    _CompareObjectHandles(hFirstObjectHandle, hSecondObjectHandle);