Contents

IOObjectIsEqualTo(_:_:)

Checks two object handles to see if they represent the same kernel object.

Declaration

func IOObjectIsEqualTo(_ object: io_object_t, _ anObject: io_object_t) -> boolean_t

Parameters

  • object:

    An IOKit object.

  • anObject:

    Another IOKit object.

Return Value

If both object handles are valid, and represent the same object in the kernel true is returned, otherwise false.

Discussion

If two object handles are returned by IOKitLib functions, this function will compare them to see if they represent the same kernel object.

See Also

Miscellaneous